[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Feature request: Add support for org-toggle-pretty-entities prev
From: |
Nicolas Goaziou |
Subject: |
Re: [O] Feature request: Add support for org-toggle-pretty-entities preview of org-entities-user which are more than one unicode character |
Date: |
Tue, 01 Jan 2019 17:56:36 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Hello,
Ilja Kocken <address@hidden> 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [O] Feature request: Add support for org-toggle-pretty-entities preview of org-entities-user which are more than one unicode character,
Nicolas Goaziou <=