emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Andreas Leha <andreas.leha@med.uni-goettingen.de>
To: emacs-orgmode@gnu.org
Subject: Re: export to LaTeX with TOC but without numbers
Date: Wed, 05 Jun 2013 09:09:59 +0200	[thread overview]
Message-ID: <87sj0x3uew.fsf@med.uni-goettingen.de> (raw)
In-Reply-To: 87zjv5lhpf.fsf@pierrot.dokosmarshall.org

Nick Dokos <ndokos@gmail.com> writes:

> Andreas Leha <andreas.leha@med.uni-goettingen.de> 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....

      reply	other threads:[~2013-06-05  7:10 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-04  7:34 export to LaTeX with TOC but without numbers Andreas Leha
2013-06-04 11:47 ` Eric S Fraga
2013-06-04 11:55   ` Andreas Leha
2013-06-04 15:10     ` Eric S Fraga
2013-06-04 19:56       ` Andreas Leha
2013-06-05  1:00         ` Eric Abrahamsen
2013-06-05  7:14           ` Andreas Leha
2013-06-05  7:27         ` Eric S Fraga
2013-06-04 19:01     ` Nick Dokos
2013-06-04 20:10       ` Andreas Leha
2013-06-04 20:54         ` Nick Dokos
2013-06-05  7:09           ` Andreas Leha [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sj0x3uew.fsf@med.uni-goettingen.de \
    --to=andreas.leha@med.uni-goettingen.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).