jgm/pandoc

latex acronym gls command is not expanded.

Open

#5.663 aberto em 26 de jul. de 2019

Ver no GitHub
 (3 comments) (1 reaction) (0 assignees)Haskell (3.850 forks)batch import
format:LaTeXgood first issuereader

Métricas do repositório

Stars
 (44.133 stars)
Métricas de merge de PR
 (Mesclagem média 7d) (7 fundiu PRs em 30d)

Description

@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 !?

Guia do colaborador