- From: Alvaro Tejero Cantero <address@hidden>
- To: address@hidden
- Subject: Re: [TeXmacs] Removing deeply nested headlines from toc
- Date: Fri, 24 Feb 2012 21:35:22 +0000
- Authentication-results: mr.google.com; spf=pass (google.com: domain of address@hidden designates 10.236.201.201 as permitted sender) smtp.mail=address@hidden; dkim=pass header.i=address@hidden
Hi,
For the record, I assigned paragraph-toc to a macro with one argument
and no body and obtained the desired result (paragraphs, which are
depth level 4 in book.ts, didn't show anymore in the TOC).
For user friendliness, I do think it would be convenient to endow the
toc macro with an optional depth argument, since this is a very common
manipulation (and use a reasonable, maybe style-dependent, default).
Thanks!
-á.
On Fri, Feb 24, 2012 at 20:41, Joris van der Hoeven
<address@hidden> wrote:
>
Hi Alvaro,
>
>
You may redefine the macros section-toc, subsection-toc, ...
>
>
Best wishes, --Joris
>
>
>
On Fri, Feb 24, 2012 at 05:51:49PM +0000, Alvaro Tejero Cantero wrote:
>
> I am trying to remove headings of level 4 (and superior) from the
>
> table of contents (TOC).
>
>
>
> The documentation says that macros like <toc-4|contents|where> can be
>
> overriden to achieve that. I have tried it and it works, after
>
> update->styles and document->update->toc (potentially several times).
>
>
>
> However, with <assign|toc-4|<macro|contents|where|>> (i.e., empty body of
>
> macro)
>
>
>
> a blank line is still inserted.
>
>
>
> How can it be removed?
>
>
>
> -á.
Archive powered by MHonArc 2.6.19.