emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] export to LaTeX with TOC but without numbers


From: Eric S Fraga
Subject: Re: [O] export to LaTeX with TOC but without numbers
Date: Tue, 4 Jun 2013 12:47:59 +0100
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux)

Andreas Leha <address@hidden> writes:

> Hi all,
>
> How can I export to LaTeX with the combined effect of toc:t and num:nil?
>
> Setting num:nil results in an empty TOC.
>
> I guess, I am looking for a way to automatically add
> #+begin_latex
>   \addcontentsline{toc}{<the level>}{<the heading>}
> #+end_latex
> to the exported document.
>
> Regards,
> Andreas

Andreas,

the problem is that setting num:nil tells org to use the second form of
sectioning, as specified in org-latex-classes.  The unnumbered section
headings do not generate TOC information so no TOC is available.  It's a
latex issue, not org.

There are workarounds but they involve using latex directly (to add
entries to a TOC basically).


-- 
: Eric S Fraga, GnuPG: 0xC89193D8FFFCF67D
: in Emacs 24.3.50.1 and Org release_8.0.3-195-gd7e884




reply via email to

[Prev in Thread] Current Thread [Next in Thread]