Hi, is it possible to export an org file to latex with no preamble and no \begin{document}?? I just needed to translate org-mode syntax to latex syntax, with no other headers and preambles around the text. Is this possible?
I tried to add a "clean" class to my .emacs like this: ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (add-to-list 'org-export-latex-classes '("clean" " [NO-DEFAULT-PACKAGES] [NO-PACKAGES] [NO-EXTRA]" ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}") ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; But when I try to export this file: * Test ** Test 1 blablabla ** Test 2 lorem ipsum blabla I get this: % Created 2011-06-28 Tue 16:13 \providecommand{\alert}[1]{\textbf{#1}} \title{bla} \author{Rafael S. Calsaverini} \date{\today} \begin{document} \maketitle \setcounter{tocdepth}{3} \tableofcontents \vspace*{1cm} \section{Test} \label{sec-1} \subsection{Test 1} \label{sec-1-1} blablabla \subsection{Test 2} \label{sec-1-2} lorem ipsum blabla \end{document} Is there any option to turn the preamble off? --- Rafael Calsaverini Dep. de Física Geral, Sala 336 Instituto de Física - Universidade de São Paulo rafael.calsaver...@gmail.com http://stoa.usp.br/calsaverini/weblog CEL: (11) 7525-6222 USP: (11) 3091-6803