I use emacs org to export parts of org documents to latex / pdf. I was wondering if there is a way to promote all the titles of the selected parts in the export process. For example, suppose a file looks like this:
* Project 1
** Task 1 :export:
*** Introduction
Text text text.
*** Results
Text text text.
* Project 2
Exporting emacs org to latex will create a tex file with the following structure:
\section{Project 1}
\subsection{Task 1}
\subsubsection{Introduction}
Text text text.
\subsubsection{Results}
Text text text.
But since the exported part is not the highest level, it would be more appropriate to have the following structure:
\section{Task 1}
\subsection{Introduction}
Text text text.
\subsection{Results}
Text text text.
Or even better:
\title{Task 1}
\maketitle
\section{Introduction}
Text text text.
\section{Results}
Text text text.
I was wondering if anyone has an idea how to do this? My lisp skills are unfortunately very rudimentary, it seems like this shouldn't be too complicated.
Thank!
Stephan
source
share