From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: Re: export to LaTeX with TOC but without numbers Date: Wed, 05 Jun 2013 09:09:59 +0200 Message-ID: <87sj0x3uew.fsf@med.uni-goettingen.de> References: <87hahe5nyc.fsf@med.uni-goettingen.de> <87sj0yt7v4.fsf@pinto.chemeng.ucl.ac.uk> <87a9n65bun.fsf@med.uni-goettingen.de> <878v2pn1ic.fsf@pierrot.dokosmarshall.org> <871u8h63hs.fsf@med.uni-goettingen.de> <87zjv5lhpf.fsf@pierrot.dokosmarshall.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58990) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uk7rS-0006Sc-Rk for emacs-orgmode@gnu.org; Wed, 05 Jun 2013 03:10:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uk7rM-0005kI-IT for emacs-orgmode@gnu.org; Wed, 05 Jun 2013 03:10:22 -0400 Received: from plane.gmane.org ([80.91.229.3]:46884) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uk7rM-0005kD-Cc for emacs-orgmode@gnu.org; Wed, 05 Jun 2013 03:10:16 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Uk7rG-0003Xl-S2 for emacs-orgmode@gnu.org; Wed, 05 Jun 2013 09:10:10 +0200 Received: from genepi110.genepi.med.uni-goettingen.de ([134.76.140.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 05 Jun 2013 09:10:10 +0200 Received: from andreas.leha by genepi110.genepi.med.uni-goettingen.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 05 Jun 2013 09:10:10 +0200 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: emacs-orgmode@gnu.org Nick Dokos writes: > Andreas Leha writes: > >>> Instead of adding toc entries, you can use latex to delete section >>> numbers: >>> >>> #+LATEX_HEADER: \setcounter{secnumdepth}{0} >>> ... >>> >>> The problem might be that the sections are not numbered in the TOC >>> either. But if you don't care about that, this is certainly simpler >>> than adding toc entries by hand. >> >> Thanks for that! That is really cool and having the entries in the TOC >> un-numbered is exactly what I want! >> >> As a follow-up, it would be nice if I could mix >> that now again with num:1. That way I could add a TOC with depth 1 >> (only sections) and have them un-numbered. >> > > There is a tocdepth counter that you can set similarly. Will that > do what you want? > > #+LATEX_HEADER: \setcounter{tocdepth}{1} > #+LATEX_HEADER: \setcounter{secnumdepth}{0} > > That does what I want. Thanks a lot! Best, Andreas PS: I will come back when I need a cross-backend-solution, that work for odt as well....