Re: [O] Questions about exporting: subtitle, level formating, custom highlight markers error

2015-07-29 Thread Marcin Borkowski
On 2015-07-29, at 21:32, Xiha x...@laposte.net wrote: Hi John, Yes, highlight-regexp looks good and simple, when I apply it manually to the buffer. No need even to define a new face as the default hi-yellow is what I want. But: (how) can I call highlight-regexp from my .emacs file so

Re: [O] Questions about exporting: subtitle, level formating, custom highlight markers error

2015-07-29 Thread Xiha
Hi John, Yes, highlight-regexp looks good and simple, when I apply it manually to the buffer. No need even to define a new face as the default hi-yellow is what I want. But: (how) can I call highlight-regexp from my .emacs file so that it automatically applies to every Org buffer? Or must

Re: [O] Questions about exporting: subtitle, level formating, custom highlight markers error

2015-07-28 Thread Sebastien Vauban
Eric S Fraga e.fr...@ucl.ac.uk writes: 3) Custom highlight markers error No idea about this. It could be a bug anywhere. Could you maybe post a small example file? I have no idea what you are describing unfortunately. I retrieved what I did, from here

Re: [O] Questions about exporting: subtitle, level formating, custom highlight markers error

2015-07-28 Thread Eric S Fraga
On Tuesday, 28 Jul 2015 at 09:24, Sebastien Vauban wrote: Eric S Fraga e.fr...@ucl.ac.uk writes: [...] You can always use macros instead? Or the `font-lock-add-keywords' mechanism? Best regards, Seb I think the OP wanted markers that would export, not just stand out in the emacs

Re: [O] Questions about exporting: subtitle, level formating, custom highlight markers error

2015-07-28 Thread Eric S Fraga
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,

Re: [O] Questions about exporting: subtitle, level formating, custom highlight markers error

2015-07-28 Thread Xiha
Thanks guys. Getting closer - but please don't overestimate my backgound knowledge :) On 07/28/2015 02:05 PM, Eric S Fraga wrote: You need to differentiate between two aspects: highlighting of text within a org buffer and what happens to text when exported. Yes. Principally, I want the

Re: [O] Questions about exporting: subtitle, level formating, custom highlight markers error

2015-07-28 Thread John Kitchin
You may find this post on highlighting text helpful: http://kitchingroup.cheme.cmu.edu/blog/2015/07/28/A-highlight-annotation-mode-for-Emacs-using-font-lock/ I think it also lays the foundation for thinking about how to get it to export, although you would need to do this as a preprocessing step

Re: [O] Questions about exporting: subtitle, level formating, custom highlight markers error

2015-07-28 Thread Xiha
Thanks Sebastien and Eric, On Tuesday, 28 Jul 2015 at 09:24, Sebastien Vauban wrote: Eric S Fraga e.fraga at ucl.ac.uk writes: [...] You can always use macros instead? Maybe, if I knew how. I haven't used macros before. I read this http://orgmode.org/manual/Macro-replacement.html and

Re: [O] Questions about exporting: subtitle, level formating, custom highlight markers error

2015-07-28 Thread Nick Dokos
Xiha x...@laposte.net writes: Thanks Sebastien and Eric, On Tuesday, 28 Jul 2015 at 09:24, Sebastien Vauban wrote: Eric S Fraga e.fraga at ucl.ac.uk writes: [...] You can always use macros instead? Maybe, if I knew how. I haven't used macros before. I read

Re: [O] Questions about exporting: subtitle, level formating, custom highlight markers error

2015-07-27 Thread Xiha
Thanks Rasmus and Eric! 1) subtitle The git version has a #+subtitle keyword. See the git version of the manual for supported backends (most). Where the git install instructions say you should edit local.mk to point to the appropriate install location, how do I find out where this is?

Re: [O] Questions about exporting: subtitle, level formating, custom highlight markers error

2015-07-27 Thread Eric S Fraga
On Monday, 27 Jul 2015 at 15:55, Xiha wrote: Thanks Rasmus and Eric! 1) subtitle The git version has a #+subtitle keyword. See the git version of the manual for supported backends (most). Where the git install instructions say you should edit local.mk to point to the appropriate install

Re: [O] Questions about exporting: subtitle, level formating, custom highlight markers error

2015-07-27 Thread Eric S Fraga
On Sunday, 26 Jul 2015 at 15:04, Xiha wrote: 2) I have #+OPTIONS: H:9 num:9 because explicit level structure is important for this document. I would like to have more control over For LaTeX export, this will not work (AFAIK) as LaTeX only supports 4 or so levels of headings. how this is

[O] Questions about exporting: subtitle, level formating, custom highlight markers error

2015-07-26 Thread Xiha
Hello, I am writing a paper-like document in Org-mode, and experimenting with export to HTML and PDF (via LaTeX) in order to share drafts. Not sure yet what the final formatting will be. I am quite new to Emacs/Org-mode, know little about css and nothing about LaTeX. Using Emacs 24.5.1 and

Re: [O] Questions about exporting: subtitle, level formating, custom highlight markers error

2015-07-26 Thread Rasmus
Xiha x...@laposte.net writes: 1) I would like the exported document to have a subtitle under the title in a smaller and/or lighter font. The latter requirement makes splitting the title with a newline not quite a solution. I believe I saw discussion somewhere about a #+SUBTITLE keyword for