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 \section{Headline 3} Content 3 \section{Headline 4} Content 4 \conclusion Content 5 First and fifth top headlines output is replaced. And others are defaults. All children keep the same. 2013/3/14 Nick Dokos > Andrey Yankin 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 tried some fiddling with :noexport: and :export: tags to hide > output for selected headlines. It > > didn't work. > > > > Currently I'm heading to this metod: http://stackoverflow.com/a/9679105of creating my own parser. > > > > Are there any easier solutions? > > > > Have you tried customizing the org-latex-classes variable? I'm not quite > sure what you are trying to do (an example would help), but I don't see > any obstacles. > > Nick >