[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Questions about exporting: subtitle, level formating, custom hig
From: |
Eric S Fraga |
Subject: |
Re: [O] Questions about exporting: subtitle, level formating, custom highlight markers error |
Date: |
Tue, 28 Jul 2015 13:05:42 +0100 |
User-agent: |
Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux) |
You need to differentiate between two aspects: highlighting of text
within a org buffer and what happens to text when exported. In the new
exporter, I don't think you can implement anything that covers both use
cases.
I am not entirely sure what it is you want. If you want just one of
these, for the former, font-lock-add-keywords is probably what you want
to pursue. For the latter, you probably want to use a macro with
@@latex:...@@ and/or @@html:...@@ code embedded in the macro to export
the text the way you want it, as in
#+macro: coloured @@latex:{\color{red} $1}@@
This is some {{{coloured(text)}}} when exported.
HTH,
eric
--
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.1, Org release_8.3beta-1293-g985420
- [O] Questions about exporting: subtitle, level formating, custom highlight markers error, Xiha, 2015/07/26
- Re: [O] Questions about exporting: subtitle, level formating, custom highlight markers error, Rasmus, 2015/07/26
- Re: [O] Questions about exporting: subtitle, level formating, custom highlight markers error, Eric S Fraga, 2015/07/27
- Re: [O] Questions about exporting: subtitle, level formating, custom highlight markers error, Xiha, 2015/07/27
- Re: [O] Questions about exporting: subtitle, level formating, custom highlight markers error, Eric S Fraga, 2015/07/27
- Re: [O] Questions about exporting: subtitle, level formating, custom highlight markers error, Sebastien Vauban, 2015/07/28
- Re: [O] Questions about exporting: subtitle, level formating, custom highlight markers error, Eric S Fraga, 2015/07/28
- Re: [O] Questions about exporting: subtitle, level formating, custom highlight markers error, Xiha, 2015/07/28
- Re: [O] Questions about exporting: subtitle, level formating, custom highlight markers error,
Eric S Fraga <=
- Re: [O] Questions about exporting: subtitle, level formating, custom highlight markers error, Xiha, 2015/07/28
- Re: [O] Questions about exporting: subtitle, level formating, custom highlight markers error, John Kitchin, 2015/07/28
- Re: [O] Questions about exporting: subtitle, level formating, custom highlight markers error, Xiha, 2015/07/29
- Re: [O] Questions about exporting: subtitle, level formating, custom highlight markers error, Marcin Borkowski, 2015/07/29
- Re: [O] Questions about exporting: subtitle, level formating, custom highlight markers error, Nick Dokos, 2015/07/28