# jgm/pandoc

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.

# latex acronym gls command is not expanded. #5663

Open
opened this issue Jul 26, 2019 · 3 comments

### ocehugo commented Jul 26, 2019

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

### jgm 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.

Author

### ocehugo commented Jul 29, 2019

 ok! 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? thanks
Contributor

### schrieveslaach commented Jul 30, 2019

 I wrote a filter that converts the acronyms.
to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.