jgm/pandoc

latex acronym gls command is not expanded.

Open

#5663 aperta il 26 lug 2019

Vedi su GitHub
 (3 commenti) (1 reazione) (0 assegnatari)Haskell (3850 fork)batch import
format:LaTeXgood first issuereader

Metriche repository

Star
 (44.133 star)
Metriche merge PR
 (Merge medio 7g) (7 PR mergiate in 30 g)

Descrizione

@jgm @schrieveslaach

See the example below when tex->docx via pandoc-2.7.3:

\documentclass{article}
\usepackage[acronym]{glossaries}
\newacronym{PITA}{PITA}{pain in the ass}
\begin{document}
   This is a \gls{PITA}. The second time is also \gls{PITA}. The plural \glspl{PITA} also is.
\end{document}

I'm receiving

This is a PITA. The second time is also PITA. The plural PITAs also is.

or

This is a [PITA]{acronym-label="PITA" acronym-form="singular+short"}.
The second time is also [PITA]{acronym-label="PITA"
acronym-form="singular+short"}. The plural [PITAs]{acronym-label="PITA"
acronym-form="plural+short"} also is.

in txt format.

I'm expecting the typical latex->pdf behaviour of expanding the first entry. Wasn't this added in PR#3589 !?

Guida contributor