latex-action: sh: xindy: not found

Hello,

Thanks for your good Github Actions : I have a problem when using xindy with glossaries (I need that to sort my glossary entries with accents) with your action ( I have no problem with that in local with MiKTeX)

image

For my .latexmkrc, I use the glossary_latexmkrc from https://www.ctan.org/tex-archive/support/latexmk/example_rcfiles.

\usepackage[
  toc,
  nonumberlist,
  nogroupskip,
  nopostdot,
  xindy
]{glossaries}
\usepackage{glossary-longbooktabs}
\makeglossaries

I checked and in Tex Live, xindy is installed but it seems makeglossaries use perl (which one cannot find it)

Any ideas ?

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 15 (7 by maintainers)

Most upvoted comments

How about:

- uses: xu-cheng/latex-action@v2
  with:
    pre_compile: | 
      ln -sf /opt/texlive/texdir/texmf-dist/scripts/xindy/xindy.pl /opt/texlive/texdir/bin/x86_64-linuxmusl/xindy
      ln -sf /opt/texlive/texdir/texmf-dist/scripts/xindy/texindy.pl /opt/texlive/texdir/bin/x86_64-linuxmusl/texindy
      wget https://sourceforge.net/projects/xindy/files/xindy-source-components/2.4/xindy-kernel-3.0.tar.gz
      tar xf xindy-kernel-3.0.tar.gz
      cd xindy-kernel-3.0/src
      apk add make
      apk add clisp --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community
      make
      cp -f xindy.mem /opt/texlive/texdir/bin/x86_64-linuxmusl/
      cd ../../
    root_file: main.tex