merely-useful / py-rse

Research Software Engineering with Python course material
http://third-bit.com/py-rse/
Other
247 stars 63 forks source link

bug in glossary reference translation #490

Closed gvwilson closed 4 years ago

gvwilson commented 4 years ago

Spotted 17:00 Eastern on 2020-09-14 (look at bullet point 2). The \gref{Git}{git} isn't translating. Screen Shot 2020-09-14 at 5 02 42 PM

lwjohnst86 commented 4 years ago

Ah, I fixed that bug in the Prerequisites https://merely-useful.github.io/py-rse/index.html#intro-personas didn't see there was a duplicate in Appendix E. Not sure why it happens, but when \gref is used alone on a line, it disappears. Simplest fix I did was do:

- \gref{Git}{git} version control
gvwilson commented 4 years ago

Pandoc labels the parse node as a different type if it's all by itself vs. part of a sentence. Fixed the Lua to catch it.