Build glossary and acronyms

Hello community,

I am using tectonic for building my latex project with travis on github. For that i use this script.

language: generic
before_install:

  • sudo apt-get install texlive-binaries
    install:
  • export PATH="$HOME/miniconda/bin:$PATH"
  • if ! command -v conda > /dev/null; then wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
    -O miniconda.sh; bash miniconda.sh -b -p $HOME/miniconda -u; conda config --add
    channels conda-forge; conda config --set always_yes yes; conda install tectonic==0.1.10;
    fi
  • conda install -c malramsay biber==2.11 --yes
  • conda info -a
  • sudo mkdir -p ~/.config/Tectonic/
  • echo “[[default_bundles]]” | sudo tee --append ~/.config/Tectonic/config.toml
  • sudo echo “url = “https://tectonic.newton.cx/bundles/tlextras-2018.1r0/bundle.tar””
    | sudo tee --append ~/.config/Tectonic/config.toml
    cache:
    directories:
    • “$HOME/miniconda”
    • “$HOME/.cache/Tectonic”
      script:
  • cd ./thesis/
  • tectonic --keep-intermediates --reruns 0 ./MAIN_Masterthesis.tex
  • if [ -f “./MAIN_Masterthesis.bcf” ]; then biber MAIN_Masterthesis; fi
  • tectonic ./MAIN_Masterthesis.tex --print
  • cd …/

How can I build also the glossary and the acronyms?

Greetings
Christian

Tectonic does not handle everything yet, unfortunately. I am guessing the same holds for your glossary and acronyms. So, same holds as with biber: how do you build the glossary and acronyms locally? (I’m not going to dig through your thesis to find that out). Then do the same on Travis.

If you believe Tectonic should support this, check for issues at https://github.com/tectonic-typesetting/tectonic/issues or create one yourself (including sufficient information about how you are building your glossary/acronyms).

1 Like

I use TexStudio for building the project. Sadly I have no idea how it builds the glossary or which commands it executes to build it. I will try to find it by googling. Thank you PHPirates!

Update:
I found this shell commands in the manual of the glossaries package:

makeindex -t myDoc.glg -s myDoc.ist -o myDoc.gls myDoc.glo
makeindex -t myDoc.alg -s myDoc.ist -o myDoc.acr myDoc.acn
makeindex -t myDoc.nlg -s myDoc.ist -o myDoc.not myDoc.ntn

Now I have to figure out how to run it in travis.

I see, yeah TeXstudio tends to hide that kind of stuff. Running makeindex shouldn’t be a problem, note the original build file at https://github.com/PHPirates/travis-ci-latex-pdf/blob/master/2-tectonic-miniconda/.travis.yml even had a makeindex call (but commented out) to build an index. Good luck!

1 Like