From: Aankhen <aankhen@gmail.com>
To: Jambunathan K <kjambunathan@gmail.com>,
John Hendy <jw.hendy@gmail.com>,
emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Re: export options toc:t depends on num:t
Date: Wed, 6 Apr 2011 14:50:12 +0530 [thread overview]
Message-ID: <BANLkTim24tqLMGVAjaY7LUmVugXGrXuHDA@mail.gmail.com> (raw)
In-Reply-To: <8162qshtms.fsf@gmail.com>
On Wed, Apr 6, 2011 at 10:18, Jambunathan K <kjambunathan@gmail.com> wrote:
> John Hendy <jw.hendy@gmail.com> writes:
> [snip]
>> Maybe this is obvious to most, but I was puzzled by it. It seems that
>> ,---
>> | #+options: toc:t
>> `---
>>
>> will not function when paired with:
>> ,---
>> | #+options: toc:t num:nil
>> `---
> [snip]
>
> Is this a LaTeX specific behaviour? I don't see anything odd with HTML
> export.
It likely is specific to LaTeX. The starred versions of the
sectioning commands suppress the entry in the TOC as well. It’s
possible to manually add the entry regardless, so maybe that needs to
be special-cased in the exporter. It’d look like this:
,----
| \phantomsection % to make PDF bookmarks work properly
| \section*{Introduction}
| \addcontentsline{toc}{section}{Introduction}
`----
Alternatively, use the regular sectioning commands but add this before
\begin{document}:
,----
| \setcounter{secnumdepth}{0}
`----
Aankhen
next prev parent reply other threads:[~2011-04-06 9:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-06 3:04 export options toc:t depends on num:t John Hendy
2011-04-06 4:48 ` Jambunathan K
2011-04-06 9:20 ` Aankhen [this message]
2011-04-06 16:36 ` John Hendy
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BANLkTim24tqLMGVAjaY7LUmVugXGrXuHDA@mail.gmail.com \
--to=aankhen@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=jw.hendy@gmail.com \
--cc=kjambunathan@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.