Acronyms in captions - LaTeX export error #12
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: tec/org-glossary#12
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
I found that I can just put this in my init
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 safeaddition, 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
d8071ef6ed
, which applies this change.Thanks for letting me know about this :)