pandoc-gls icon indicating copy to clipboard operation
pandoc-gls copied to clipboard

Acronym preceded or followed by en dash or em dash drops text

Open Cerebus opened this issue 6 years ago • 0 comments

E.g.,

front text---(+term)--followed by text

Renders out as:

front \gls{term} by text

It's not at all clear what's going on here. It works when (+term) is preceded or followed by a hyphen, but not a double or triple hyphen. front and back match terms are both greedy--i.e., (%g*)--so it seems to me should work.

Cerebus avatar Jul 25 '19 13:07 Cerebus