Skip to content

Question: can Weave.jl be used to make glossaries? #475

@AhmedSalih3d

Description

@AhmedSalih3d

Hello!

I am not sure what kind of minimal example would be beneficial here; basically what I am trying to do is producing a glossary using Weave.jl.

Basically something like this (source: https://www.baeldung.com/cs/latex-glossary):

\begin{document} 

\section{Section with glossaries}

% Term definitions 
\newglossaryentry{fondue}{
    name=fondue,
    description={is a Swiss dish consisting of melted cheese that is served in a
      communal pot heated over a portable stove using a candle or a spirit lamp}
}
 
\newglossaryentry{raclette}{
    name=raclette,
    description={is a Swiss dish that involves heating cheese and
      scraping off the melted portion and topping it onto meats or vegetables}
}

% Use the terms 
\Gls{fondue} is a very popular dish and is often associated with \gls{raclette}.

% Print the glossary 
\printglossaries 

\end{document}

I know that the reason it does not work out of the box is that one needs to compile the document once, then do a makeglossary call and then recompile twice - is this supported in a smart way in Weave.jl?

The reason I ask here is that I have not had any meaningful success asking my questions on Discourse. If this is frowned upon, please let me know and close the issue, thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions