Justin Smith
Justin Smith

Reputation: 21

Can not print Latex glossaries section in TexStudio

It seems there is something wrong with my compile or build settings in my Texstudio. I can not get the glossary list to output from the following MWE.

\documentclass{article}
\usepackage{glossaries}

\makeglossaries


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

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


\newglossaryentry{formula}
{
    name=formula,
    description={A mathematical expression}
}

\begin{document}
    
    The \Gls{latex} typesetting markup language is specially suitable 
    for documents that include \gls{maths}. \Glspl{formula} are rendered 
    properly an easily once one gets used to the commands.
    
    \clearpage
    
    \printglossary[title=Special Terms, toctitle=List of terms]
    
\end{document}

My current output is: enter image description here

My Texstudio command settings are: enter image description here

With my build settings : enter image description here

Please help

I have looked at nearly every link on google and tried several solutions and can not get the glossaries to print as a glossary list.

One example:https://tex.stackexchange.com/questions/156270/has-anyone-managed-to-use-glossaries-with-texstudio-on-windows#:~:text=The%20problem%20may%20be%20because,%22Commands%22%20option%20in%20TexStudio.

but none of the options on any stack website work for me.

One of the messages I am getting in the message panel of Texstudio is:

This is makeindex, version 2.16 [MiKTeX 23.5]. Scanning style file C:/Users/66smi/AppData/Local/Programs/MiKTeX/makeindex/nomencl/nomencl.ist............done (12 attributes redefined, 3 ignored). Scanning input file MSS732_Final Report_Smith J_19065320.nlo.... done (7 entries accepted, 0 rejected). Sorting entries....done (23 comparisons). Generating output file MSS732_Final Report_Smith J_19065320.nls....done (13 lines written, 0 warnings). Output written in MSS732_Final Report_Smith J_19065320.nls. Transcript written in MSS732_Final Report_Smith J_19065320.ilg. Process exited normally

I Have a tentative answer, by installing perl as suggested by: This post

But I am still getting the following error message

Unable to fork "makeindex" with redirection No such file or directory Retrying without redirection. This is makeindex, version 2.16 [MiKTeX 23.5]. Scanning style file ./MSS732_Final Report_Smith J_19065320.ist..................... ......done (27 attributes redefined, 0 ignored). Scanning input file MSS732_Final Report_Smith J_19065320.acn....done (17 entries accepted, 0 rejected). Sorting entries....done (84 comparisons). Generating output file MSS732_Final Report_Smith J_19065320.acr....done (12 lines written, 0 warnings). Output written in MSS732_Final Report_Smith J_19065320.acr. Transcript written in MSS732_Final Report_Smith J_19065320.alg. Unable to fork "makeindex" with redirection No such file or directory Unable to fork "makeindex" with redirection No such file or directory Retrying without redirection. This is makeindex, version 2.16 [MiKTeX 23.5]. Scanning style file ./MSS732_Final Report_Smith J_19065320.ist...........................done (27 attributes redefined, 0 ignored). Scanning input file MSS732_Final Report_Smith J_19065320.acn....done (17 entries accepted, 0 rejected). Sorting entries....done (84 comparisons). Generating output file MSS732_Final Report_Smith J_19065320.acr....done (12 lines written, 0 warnings). Output written in MSS732_Final Report_Smith J_19065320.acr. Transcript written in MSS732_Final Report_Smith J_19065320.alg. Unable to fork "makeindex" with redirection No such file or directory Warning: File 'MSS732_Final Report_Smith J_19065320.glo' is empty. Have you used any entries defined in glossary 'main'? Remember to use package option 'nomain' if you don't want to use the main glossary. Process exited normally

I will add/finalize the solution once i resolve the above message

Upvotes: 0

Views: 594

Answers (0)

Related Questions