New to Stack Exchange, and using TeX for a week.. Trying to make glossaries work for a larger document, but this even fails with the first example document provided by the glossaries package..
I have:
TeXStudio 2.5.2
MikTeX 2.9,
Perl Strawberry latest version 32-bit installed and even checked if the PATH was added correctly (after scavanging other answers to posts) (in commandpromt perl -v
returns the version.. I checked all the packages needed for the glossaries
package. I added a custom user command to add the makeglossaries
command available for running. After a first pdfLaTeX compile and run, I get an error when running makeglossaries
.
The error message I am getting is:
Process started: "C:/LaTeX/scripts/glossaries/makeglossaries.bat"
makeglossaries: Need exactly one file argument. Use `makeglossaries --help' for help.
Process exited with error(s)
Please help me solve this, I've looked everywhere and long but nothing can be found on this error. The glossary is not created in the pdf, but the first run does create the 1 page document correctly.
The .tex
is minimalgls.tex
(provided by package):
\documentclass{article}
\listfiles
\usepackage[colorlinks]{hyperref}
\usepackage{glossaries} % acronym will go in main glossary
%\usepackage[acronym]{glossaries} % make a separate list of acronyms
\makeglossaries
\newglossaryentry{sample}{name={sample},
description={a sample entry}}
\newacronym[\glsshortpluralkey=cas,\glslongpluralkey=contrived
acronyms]{aca}{aca}{a contrived acronym}
\begin{document}
A \gls{sample} entry and \gls{aca}. Second use: \gls{aca}.
Plurals: \glspl{sample}. Reset acronym\glsreset{aca}.
First use: \glspl{aca}. Second use: \glspl{aca}.
\printglossaries
\end{document}
makeglossaries
. I don't use TeXstudio, but try How to configure texstudio to use glossaries. How did you add the custom command? – Nicola Talbot Sep 30 '13 at 16:58