[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
- Re: [O] setting local variables, Rasmus, 2017/09/05
- Re: [O] setting local variables, Eric Abrahamsen, 2017/09/05
- Re: [O] setting local variables, Rasmus, 2017/09/06
- Re: [O] setting local variables, Nicolas Goaziou, 2017/09/06
- Re: [O] setting local variables, Rasmus, 2017/09/06
- Re: [O] setting local variables, Nicolas Goaziou, 2017/09/06
- Re: [O] setting local variables, Eric Abrahamsen, 2017/09/06
- Re: [O] setting local variables, Nicolas Goaziou, 2017/09/06
- Re: [O] setting local variables, Eric Abrahamsen, 2017/09/06
- Re: [O] setting local variables,
Rasmus <=
- Re: [O] setting local variables, Nicolas Goaziou, 2017/09/07
- Re: [O] setting local variables, Eric Abrahamsen, 2017/09/07
- Re: [O] setting local variables, Nicolas Goaziou, 2017/09/10
- Re: [O] setting local variables, Carsten Dominik, 2017/09/20
- Re: [O] setting local variables, Scott Randby, 2017/09/20
- Re: [O] setting local variables, Kaushal Modi, 2017/09/20
- Re: [O] setting local variables, Carsten Dominik, 2017/09/21
- Re: [O] setting local variables, Rasmus, 2017/09/21
- Re: [O] setting local variables, Carsten Dominik, 2017/09/21
- Re: [O] setting local variables, Nicolas Goaziou, 2017/09/21