Skip to content
Discussion options

You must be logged in to vote

@chrizz89 Maybe you already found the answer but this MWE qmd works for me.

  • Change the include statements to be text (not sure if your - text format works). I changed the print command too.
---
format:
  pdf:
    documentclass: scrbook
    include-in-header: 
      text: |
        \usepackage[acronym, nonumberlist]{glossaries}
        \makenoidxglossaries
        \newglossaryentry{ex}{name={sample},description={an example}}
    include-after-body: 
      text: |
        \printnoidxglossaries
    keep-tex: true
    latex-clean: false
    latex-min-runs: 3
---

Here's my \gls{ex} term.

prints this at the end

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jjallaire
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
latex LaTeX engines related libraries and technologies
2 participants