Ihor Radchenko <[email protected]> writes: > Currently, org-export-with-entities = nil turns entities into literal, > uninterpreted strings. That is: \entity is exported to be displayed as > literal "\entity" text, not a LaTeX command and not as anything > interpretative by the export format. > > However, as the parent thread implies, another possibility could be > turning entities into latex fragments first, which kind of make sense. > But may be there are valid uses when the current behavior is preferred?
Actually, we can do it in very simple way - allow `org-export-with-entities' to be nil, t, and 'latex: - t will export entities as entities - nil will export as verbatim text - 'latex will export as latex fragments That will avoid breakage, while allowing the discussed use case. Patches welcome. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>
