From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Kaushal Modi <kaushal.modi@gmail.com>
Cc: Carsten Dominik <dominik@uva.nl>, emacs-org list <emacs-orgmode@gnu.org>
Subject: Re: Add ability to force-enable TOC
Date: Wed, 20 Sep 2017 12:25:42 +0200 [thread overview]
Message-ID: <8760cdacpl.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CAFyQvY2k89UNqiK10uVWRdBgrz9fNYa=hkoBQmv2_R4=wa5Gtg@mail.gmail.com> (Kaushal Modi's message of "Tue, 19 Sep 2017 20:12:41 +0000")
Hello,
Kaushal Modi <kaushal.modi@gmail.com> writes:
> On Tue, Sep 19, 2017 at 3:57 PM Nicolas Goaziou <mail@nicolasgoaziou.fr>
> wrote:
>
>> What is exactly the feature you are missing? Your example is a special
>> case where _no_ heading is numbered.
>
>
> I would not consider this as a special case. It is very common for HTML
> exports to not always number the headings.
I didn't say it was an unusual case. I said it didn't cover all the
use-cases. Maybe you are really needing a subset of the initial feature.
IOW, do mixed numbered/unnumbered headings make sense in TOC?
>> 1. it makes all export back-ends consistent with TOC;
>>
>
> I understand that. But would like a way to get back the earlier behavior
> too.
Then there is the other way around: how do we tell LaTeX to include both
numbered and unnumbered headings?
And: how do we distinguish @unnumberedsec from @heading in Texinfo?
> That way if the file has:
>
> #+OPTIONS: num:nil
>
> No TOC will be exported (even though the org-export-with-toc default is t).
>
> But if the file has:
>
> #+OPTIONS: num:nil toc:4
>
> As the toc value is a number, the TOC will be exported even though num is
> nil.
AFAICT, this doesn't solve any of the two concerns. What we can do for
"num:nil toc:4" can be done for "num:nil" alone.
Regards,
next prev parent reply other threads:[~2017-09-20 13:13 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-19 14:49 Add ability to force-enable TOC Kaushal Modi
2017-09-19 15:00 ` Kaushal Modi
2017-09-19 15:33 ` Carsten Dominik
2017-09-19 19:27 ` Nicolas Goaziou
2017-09-19 19:31 ` Kaushal Modi
2017-09-19 19:57 ` Nicolas Goaziou
2017-09-19 20:12 ` Kaushal Modi
2017-09-20 10:25 ` Nicolas Goaziou [this message]
2017-09-20 10:40 ` Kaushal Modi
2017-09-22 13:32 ` Matt Lundin
2017-09-20 8:53 ` Rasmus
2017-09-20 14:15 ` Rasmus
2017-09-20 8:14 ` Carsten Dominik
2017-09-20 8:54 ` Rasmus
2017-09-20 10:04 ` Kaushal Modi
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=8760cdacpl.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=dominik@uva.nl \
--cc=emacs-orgmode@gnu.org \
--cc=kaushal.modi@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.