emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] setting local variables


From: Rasmus
Subject: Re: [O] setting local variables
Date: Thu, 07 Sep 2017 10:56:59 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Nicolas Goaziou <address@hidden> writes:

> Maybe UNNUMBERED property could imply a "not in TOC" clause in every
> back-end (I assume this is difficult to implement for LaTeX, though). In
> that case, UNNUMBERED would be a generic answer the problem.

Speaking of LaTeX: not-in-toc and unnumbered is easy enough in LaTeX as
it’s just section*.  It’s what it does now.  Unnumbered and in-the-toc is
harder, but e.g. KOMA-Script has it built in with \addpart{}, \addchap{}
(and maybe \addsec{}).  To add unnumbered headings in plain latex one
would have to add \addcontentsline{toc}{level}{title}.  Users have some
control over the matter in ox-latex via ox-latex-classes.

ox-odt, ox-html and ox-ascii all seem to add unnumbered headings to the
toc.

> Or UNNUMBERED could imply "not in TOC" in "ox-texinfo.el", but that's
> less good, IMO.

One nice thing about this, I guess, is that it might allow you to use the
"num" option to select which headings are kept out of the toc?

Rasmus

-- 
There are known knowns; there are things we know that we know




reply via email to

[Prev in Thread] Current Thread [Next in Thread]