Panayotis Manganaris <[email protected]> writes:

> How should I protect a macro for export?
>
> I'm on org 9.7.11. I treat the 20250709 version of siunitx as a first
> class citizen for all my documents. The macros \num, \qty, and \unit are
> all protected during export but \ang is escaped. It is an org entity but
> I have entities export disabled in this case.

I am wondering about the use cases for people who disable
org-export-with-entities.

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?

-- 
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>

Reply via email to