Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

latex acronym gls command is not expanded. #5663

ocehugo opened this issue Jul 26, 2019 · 3 comments


Copy link

commented Jul 26, 2019


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

\newacronym{PITA}{PITA}{pain in the ass}
   This is a \gls{PITA}. The second time is also \gls{PITA}. The plural \glspl{PITA} also is.

I'm receiving

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


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


This comment has been minimized.

Copy link

commented Jul 26, 2019

The PR advertised "rudimentary" support; I take it that \newacronym is not supported.
If you want to avoid [PITA]{acronym-label=..., you can disable the bracketed_spans extension in your markdown output.


This comment has been minimized.

Copy link

commented Jul 29, 2019

So you saying there is nowhere to run? Or there is a quick latex hack to make pandoc recognize the bit and expand the entries?


This comment has been minimized.

Copy link

commented Jul 30, 2019

I wrote a filter that converts the acronyms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
4 participants
You can’t perform that action at this time.