2

I am writing my thesis and I would like to create a list of acronyms. One option is to use is glossary package. When I used this package I ran into 2 problems.

Since my mother tongue is not English I need to use babel package. If I use it and compile my document I always get an error:

LaTeX Error: File `tracklang.sty' not found.

I've been looking for a solution but I haven't found anything that could help me out. If I don't include babel package there is no error and compilation runs successfully but the glossary doesn't show up in my document (list of acronyms).

I used the following code (https://www.sharelatex.com/learn/Glossaries) with and without babel package and I came across aforementioned problems. Could anybody help me please? Thanks

\documentclass{article}
\usepackage[utf8]{inputenc}
%\usepackage[english]{babel}
\usepackage[acronyms]{glossaries}

\makeglossaries

\newglossaryentry{latex}
{
    name=latex,
    description={Is a mark up language specially suited 
    for scientific documents}
}

\newglossaryentry{maths}
{
    name=mathematics,
    description={Mathematics is what mathematicians do}
}

\title{How to create a glossary}
\author{ }
\date{ }

\begin{document}
\maketitle

The \Gls{latex} typesetting markup language is specially suitable 
for documents that include \gls{maths}. 

\clearpage

\printglossaries

\end{document}

closed as off-topic by clemens, Schweinebacke, TeXnician, Stefan Pinnow, gernot Apr 20 '17 at 15:03

  • This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

  • If you are using a tex editor on your own machine, ie not an online editor, then dl the package tracklang and run the necessary files to exctract the .sty file. Save the files in the folder with the processed document being worked on. If other .sty files are needed search everyone's friend Google for them and save them in in the same manor. – Leucippus Aug 3 '15 at 17:54
  • 1
    Welcome to TeX.SX! What TeX distribution are you using? – egreg Aug 3 '15 at 17:55
  • MiKTeX + TexMaker – matthew Aug 3 '15 at 20:03
  • 2
    MikTeX packages tracklang. Do not install it manually. If it is not installed already, use MikTeX's package manager to install it. @Leucippus Sorry, but that is not the best advice. Both TeX Live and MikTeX include tracklang. – cfr Aug 3 '15 at 22:05
  • 4
    I'm voting to close this question as off-topic because the issue is solved with an update of the TeX distribution – clemens Apr 20 '17 at 13:44

Browse other questions tagged or ask your own question.