Home Setting up a local Latex on your Linux system
Post
Cancel

Setting up a local Latex on your Linux system

Getting the base package

You should get the texlive distribution because latexmk was mostly designed for Windows system. sudo pacman -S texlive-core

Then install tllocalmgr so that you can manage CTAN packages like other AUR packages within pacman.

https://aur.archlinux.org/packages/tllocalmgr-git/

Setting up how to use the glossaries package for your acronyms

If you simply installed the packages, Latex will complain that some .sty or .glo files were missing.

First get all the packages with tllocalmgr

open up your terminal,

1
2
$ tllocalmgr
install glossaries mfirstuc xfor datatool substr scalerel stackengine

then run the command

1
makeindex file_name.glo -s file_name.ist -t file_name.glg -o file_name.gls

for a glossary

1
makeindex file_name.acn -s file_name.ist -t file_name.alg -o file_name.acr

for an acronym table.

source

If you don’t do this, your Latex will generate the file without error but you will not see the glossary table within your document. But you can see it complaining that there’s No file_name.acr or No file_name.gls

This post is licensed under CC BY 4.0 by the author.