Hello,

Ilja Kocken <[email protected]> writes:

> Is there a particular reason that I'm missing for why it will only
> preview single-character entities?

Entities provide a way to insert special characters using only ASCII.
You are trying to use them as a templating system, or some such, which
is not the initial use case.

> Or am I going about this the wrong way in this particular case?
> I could of course also write yasnippets to autocomplete the full
> org-source, but I would like more control over what the latex export
> looks like (since I have to format everything according to strict
> latex conventions for scientific journals, so for example the default
> CO_2 -> CO\(_{\text{2}}\) is wrong).

You have control over what the LaTeX output will be, e.g., CO_{$2$}, or
\(CO_2\), whichever you need.

IOW, I think a package like Yasnippet already fulfills your needs.

Regards,

-- 
Nicolas Goaziou

Reply via email to