Closed jjallaire closed 1 year ago
I don't have experience with the glossaries package so don't have any specific advice. Perhaps someone else here does? We are planning on doing some additional work on references and likely glossaries in v1.2 (including getting them to work w/ HTML) so I'm going to target this issue for that release.
Thanks to your post, I understood that glossaries does not currently work well with quarto. I have decided to use the acronym package instead, which works well but doesn't sort the acronyms alphabetically, which have to be done manually, unfortunately.
A separate makeglossaries
step is required for that package. You can do the following, however:
test.qmd
---
title: Glossary Test
format:
pdf:
documentclass: scrbook
include-in-header:
text: |
\usepackage[acronym, nonumberlist]{glossaries}
\input{glossary.tex}
\makenoidxglossaries
include-after-body:
text: |
\printnoidxglossaries
---
## Hello
In this phrase, the user-defined term \gls{latex} is inserted.
glossary.tex
\newglossaryentry{latex}{{name=latex}, description={LaTeX is a document preparation system}}
Will result in a PDF using glossaries.
Discussed in https://github.com/quarto-dev/quarto-cli/discussions/1780