Closed jdm204 closed 1 year ago
I found that I can just put this in my init
(org-glossary-set-export-spec 'latex t
:use "\\protect\\hyperlink{gls-%K}{\\label{gls-%K-use-%r}%t}")
to avoid the problem---I'm unsure if this will cause other problems later but it's working for now.
Thanks for the report with fix. It looks like \protect
is a fairly safe
addition, so I'm inclined to make this change in the default value.
Great, FWIW I've now exported several documents with the \protect
setting and I haven't seen any unwanted side effects!
I've just pushed d8071ef6ed95d31d69b069c0300f5cd40df198b9, which applies this change.
Thanks for letting me know about this :)
Hi, great package, thanks.
When I export to LaTeX with an acronym in a caption (for a figure), I get this error from lualatex:
When I look at the
.tex
the caption looks like this:After playing around for a bit, I found adding a
\protect
like so:fixes the problem for reasons unknown to me.
Is this issue related to this package or org export in general? I'm trying to dig into it but I don't have much experience.