From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Salazar Subject: heading numbering in LaTeX export? Date: Fri, 6 Sep 2013 15:43:13 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b2e0fc7cee5ae04e5bc3f04 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44777) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VI1w4-0000RS-V1 for emacs-orgmode@gnu.org; Fri, 06 Sep 2013 15:43:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VI1w3-0006KC-R3 for emacs-orgmode@gnu.org; Fri, 06 Sep 2013 15:43:16 -0400 Received: from mail-pa0-x22b.google.com ([2607:f8b0:400e:c03::22b]:63361) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VI1w3-0006K6-Hh for emacs-orgmode@gnu.org; Fri, 06 Sep 2013 15:43:15 -0400 Received: by mail-pa0-f43.google.com with SMTP id hz10so3733677pad.30 for ; Fri, 06 Sep 2013 12:43:14 -0700 (PDT) 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: org-mode --047d7b2e0fc7cee5ae04e5bc3f04 Content-Type: text/plain; charset=ISO-8859-1 I have a LaTeX template I created for use with org-mode, to export to PDF via LaTeX using xelatex. I don't edit LaTeX directly, I just generate from org-mode. This works perfectly for me except for one thing: it only works when I have heading numbering turned on. When I turn numbering off in org-mode, by adding this line to my org-mode file... #+OPTIONS: num:nil ...LaTeX no longer recognizes my headings as headings. This creates two problems: 1. The Table of Contents is blank. 2. The \leftmark in the heading shows up as "Contents" instead of showing up as the title of the section. How do I modify these org-mode preferences such that my I can turn heading numbering off in org-mode while still correctly generating a Table of Contents and adding my section title to the header? I'm sorry, but I don't know enough about LaTeX to make a minimum representation of this. I have no idea where the problem is. Here are the org-mode preferences in question: http://pastebin.com/62Nugpsg Thanks! --047d7b2e0fc7cee5ae04e5bc3f04 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I have a LaTeX template I created for use with org-mo= de, to export to PDF via LaTeX using xelatex.=A0

I= don't edit LaTeX directly, I just generate from org-mode. This works p= erfectly for me except for one thing: it only works when I have heading num= bering turned on.=A0

When I turn numbering off in org-mode, by adding this l= ine to my org-mode file...

=A0 =A0 #+OPTIONS: =A0 = num:nil

...LaTeX no longer recognizes my headings = as headings. This creates two problems:=A0

1. The Table of Contents is blank.
2. The \le= ftmark in the heading shows up as "Contents" instead of showing u= p as the title of the section.=A0

How do I modify = these org-mode preferences such that my I can turn heading numbering off in= org-mode while still correctly generating a Table of Contents and adding m= y section title to the header?

I'm sorry, but I don't know enough about LaTeX = to make a minimum representation of this. I have no idea where the problem = is.=A0

Here are the org-mode preferences in questi= on:=A0

--047d7b2e0fc7cee5ae04e5bc3f04--