emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sharon Kimble <boudiccas@skimble.plus.com>
To: John Hendy <jw.hendy@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: toc isn't generated in a latex export
Date: Wed, 13 Apr 2016 18:34:10 +0100	[thread overview]
Message-ID: <8760vlifal.fsf@skimble.plus.com> (raw)
In-Reply-To: <CA+M2ft9ebCzUEGeRqHmO-cjL3Cyf903eQ=fQuf-YMtdgkc3Xsg@mail.gmail.com> (John Hendy's message of "Wed, 13 Apr 2016 07:48:52 -0500")

[-- Attachment #1: Type: text/plain, Size: 1140 bytes --]

John Hendy <jw.hendy@gmail.com> writes:

> On Apr 13, 2016 07:25, "Sharon Kimble" <boudiccas@skimble.plus.com> wrote:
>>
>>
>> I'm working on a file which is then exported to latex, and if I have -
>>
>> #+OPTIONS: H:2 num:nil toc:t \n:nil ::t |:t ^:t f:t tex:t
>>
>> the sections don't have leading numbers but there isn't a table of
>> contents.
>>
>
> I think I've run into this as well but can't seem to find the post right now. Here's a TeX.SE post that might help, though:
> - http://tex.stackexchange.com/questions/131950/turn-numbering-off-but-keep-table-of-contents-intact
>
Thanks John, this is working extremely well.

For the records, this is what I'm using -

╭────
│#+OPTIONS: H:3 toc:t \n:nil ::t |:t ^:t f:t tex:t
│#+LaTeX: \setcounter{secnumdepth}{0}
│#+OPTIONS: toc:2 
╰────


Thanks
Sharon.

> John
>
>> What I'm looking for is no leading numbers but a table of contents. How
>> can I achieve this please?
>>
>> Thanks
>> Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
Debian 8.4, fluxbox 1.3.7, emacs 25.0.92

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

  reply	other threads:[~2016-04-13 17:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-13 12:24 toc isn't generated in a latex export Sharon Kimble
2016-04-13 12:48 ` John Hendy
2016-04-13 17:34   ` Sharon Kimble [this message]
2016-04-13 16:23 ` Marcin Borkowski

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=8760vlifal.fsf@skimble.plus.com \
    --to=boudiccas@skimble.plus.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jw.hendy@gmail.com \
    /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).