On Wednesday, 22 Apr 2015 at 00:33, Marcin Borkowski wrote: [...]
> I want to export my Org file to the book class (actually, a class > similar to it, but never mind), but I want my first-level headings to > be chapters, not parts. OTOH, I don't want to modify > org-latex-classes. Is that possible, and if yes, how to achieve that? The easiest way is, unfortunately, to modify org-latex-classes but the modification is simply adding an element to the list: #+begin_src emacs-lisp (add-to-list 'org-latex-classes '("bookwithnoparts" "\\documentclass{book}" ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}"))) #+end_src or similar... -- : Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.1, Org release_8.3beta-1030-g65bbb1