From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Salazar Subject: Re: heading numbering in LaTeX export? Date: Sun, 8 Sep 2013 03:43:14 -0400 Message-ID: References: <87txhwrm92.fsf@gmail.com> <87ppsjsvs7.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b2e471a9d12ea04e5da6c85 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53130) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VIZeP-00057d-7O for emacs-orgmode@gnu.org; Sun, 08 Sep 2013 03:43:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VIZeO-0006fv-2c for emacs-orgmode@gnu.org; Sun, 08 Sep 2013 03:43:17 -0400 Received: from mail-pa0-x231.google.com ([2607:f8b0:400e:c03::231]:44402) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VIZeN-0006ew-Q8 for emacs-orgmode@gnu.org; Sun, 08 Sep 2013 03:43:15 -0400 Received: by mail-pa0-f49.google.com with SMTP id ld10so5020309pab.36 for ; Sun, 08 Sep 2013 00:43:14 -0700 (PDT) In-Reply-To: <87ppsjsvs7.fsf@gmail.com> 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: Nick Dokos Cc: org-mode --047d7b2e471a9d12ea04e5da6c85 Content-Type: text/plain; charset=ISO-8859-1 That appears to work perfectly. Thank you so much! If I have 5 levels of heading, should I do it like this? #+LATEX_HEADER: \setcounter{secnumdepth}{0} #+LATEX_HEADER: \setcounter{tocdepth}{5} On Sun, Sep 8, 2013 at 1:54 AM, Nick Dokos wrote: > Peter Salazar writes: > > > Thank you! That solution is very promising indeed. > > > > I see why it's quick and dirty though - it appears to be generation > > section numbers, but just making the numbers invisible, so that the > > headings are not flush with the left margin: > > http://i.imgur.com/G6drpmf.png > > > > Is there a solution to that, or is that just the way it is? > > > > Here is a cleaner way: > > #+LATEX_HEADER: \setcounter{secnumdepth}{0} > #+LATEX_HEADER: \setcounter{tocdepth}{3} > > -- > Nick > > > > --047d7b2e471a9d12ea04e5da6c85 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
That appears to work perfectly. Thank you so much!=A0
=
If I have 5 levels of heading, should I do it like this?=A0<= /div>

#+LATEX_HEADER: \setcounter{secnumdepth}{0}
#+LATEX_HEADER:= \setcounter{tocdepth}{5}
=

On Sun, Sep 8, 2013 at 1:54 AM, Nick Dok= os <ndokos@gmail.com> wrote:
Peter Salazar <cycleofsong@gmail.com> writes:

> Thank you! That solution is very promising indeed.=A0
>
> I see why it's quick and dirty though - it appears to be generatio= n
> section numbers, but just making the numbers invisible, so that the > headings are not flush with the left margin:
> http://i.= imgur.com/G6drpmf.png
>
> Is there a solution to that, or is that just the way it is?=A0
>

Here is a cleaner way:

#+LATEX_HEADER: \setcounter{secnumdepth}{0}
#+LATEX_HEADER: \setcounter{tocdepth}{3}

--
Nick




--047d7b2e471a9d12ea04e5da6c85--