From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ken Mankoff Subject: Re: In LaTeX export, can I control what heading type a headline goes to? Date: Wed, 28 Nov 2018 20:56:29 +0100 Message-ID: <87lg5df02a.fsf@geus3064linuxwsm.geus.dk> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35483) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gS5wt-0003Ou-W6 for emacs-orgmode@gnu.org; Wed, 28 Nov 2018 14:56:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gS5wo-00087S-1G for emacs-orgmode@gnu.org; Wed, 28 Nov 2018 14:56:39 -0500 Received: from mail-lj1-x233.google.com ([2a00:1450:4864:20::233]:46151) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gS5wn-00081W-Lv for emacs-orgmode@gnu.org; Wed, 28 Nov 2018 14:56:33 -0500 Received: by mail-lj1-x233.google.com with SMTP id v15-v6so24563244ljh.13 for ; Wed, 28 Nov 2018 11:56:33 -0800 (PST) In-reply-to: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: William Denton Cc: emacs-orgmode@gnu.org Hi Bill, On 2018-11-28 at 20:42 +0100, William Denton wrote: > Is there a way, exporting as a book, to make Org skip "part" and make > a top-level Org headline turn into a chapter? Is there a built-in way, > or do I need to make my own class in org-latex-classes that has the > structure I want? What about customizing org-latex-classes? It contains: ("book" "\\documentclass[11pt]{book}" ("\\part{%s}" . "\\part*{%s}") ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}"))) Seems like modifying that could provide the behavior you're looking for. -k.