I am trying to generate glossaries in my LaTeX document using the article
class and am using TeXStudio
I used the below code but nothing gets printed
\documentclass{article}
\usepackage{titlesec}
\usepackage[utf8]{inputenc}
\usepackage[hidelinks]{hyperref}
\usepackage{glossaries}
\makeglossaries
\newglossaryentry{culdesac}{name=cul-de-sac,description={passage or street closed at one end},plural=culs-de-sac}
\newacronym{led}{LED}{light-emitting-diode}
\begin{document}
\section{This is my section}
Some text
\end{document}
I googled and found out that I would need Arara to generate and print glossaries. I installed Arara.exe under C:\Program Files\arara\
and made a new command based on below link
But I am getting the error :
Error: Could not start the command: C:\Program Files\arara\arara.exe -v -l "my_text_file"
Can someone help me please?
I just want to print acronyms and glossaries in my article.
Best Answer
I guess you need to differentiate between a) creating glossaries and b) controlling the process from your editor. With b) I can't help as I am not using TeXstudio.
Save the following document under the name
sample.tex
(the name is important!)Run the
sample.tex
through the LaTeX compiler of your choice, I usually usepdflatex
Run the next two commands from a) the command line or b) save them in a file with the extension
.bat
Run LaTeX again on the TeX file. You should get the following PDF:
I nevertheless strongly recommend Nicolas manual, as the above code is a few years old (I took it from my example repository) and things may have changed in the meantime. Concerning
arara
I have created a short description for TeXworks, it may help you as well: http://uweziegenhagen.de/?p=2928If you are not able to open a command window and run
arara.exe
I would guess the path setting is somehow corrupt. In this case locatearara.exe
on your computer and add the directory it is located in to the Windows path variable.