Re: [O] LaTeX export. Substitute some headlines with arbitrary command

2013-03-14 Thread Nick Dokos
Andrey Yankin yankin...@gmail.com wrote: Sorry if it wasn't clear. I should have illustrate this. Input: * Headline 1 ** Node 1.1   Content 1 * Headline 2   Content 2 * Headline 3   Content 3 * Headline 4   Content 4 * Headline 5   Content 5 Desired output: \intro

Re: [O] LaTeX export. Substitute some headlines with arbitrary command

2013-03-14 Thread Andrey Yankin
Charles, Nick, thanks for the tip of using filters. As far as I can see it requires version 8 of org-mode to be installed. Am I right? I am using now 7.8.11. I'll try to install a new version and check out filters. 2013/3/14 Nick Dokos nicholas.do...@hp.com Andrey Yankin

Re: [O] LaTeX export. Substitute some headlines with arbitrary command

2013-03-13 Thread Charles Berry
Andrey Yankin yankin013 at gmail.com writes: Hi!I want arbitrary top level headline to be exported not as \section (or whatever it is) but with some other arbitrary latex command. [snip] The filter mechanism might be a good choice. Here is an example of modifying a headline:

Re: [O] LaTeX export. Substitute some headlines with arbitrary command

2013-03-13 Thread Nick Dokos
Andrey Yankin yankin...@gmail.com wrote: Hi! I want arbitrary top level headline to be exported not as \section (or whatever it is) but with some other arbitrary latex command. I even do not want to use headline text. Just write \intro instead of \section{...} in tex file. I've

Re: [O] LaTeX export. Substitute some headlines with arbitrary command

2013-03-13 Thread Andrey Yankin
Sorry if it wasn't clear. I should have illustrate this. Input: * Headline 1 ** Node 1.1 Content 1 * Headline 2 Content 2 * Headline 3 Content 3 * Headline 4 Content 4 * Headline 5 Content 5 Desired output: \intro \subsection{Node 1.1} Content 1 \section{Headline 2} Content 2