[NTG-context] \setuphead for all existing sections

Wolfgang Schuster schuster.wolfgang at gmail.com
Tue Apr 21 00:38:18 CEST 2015


> Am 20.04.2015 um 20:43 schrieb Lukáš Procházka <LPr at pontex.cz>:
> 
> Hello Pablo,
> 
> \setupheads doesn't work for this - see the test:
> 
> ----
> \setupheads[distance=1in]
> \setuphead[subsection][distance=2in]
> 
> \starttext
>  \section{Sec}
>    \subsection{Subsec}
> \stoptext
> ----
> 
> Subsection has the specified distance of 1 in, whilst the section doesn't.
> 
> Section was altered by \setupheads, whilst subsection by \setuphead.
> 
> Wiki http://wiki.contextgarden.net/Command/setupheads <http://wiki.contextgarden.net/Command/setupheads> says that \setuphead has some more options than \setupheads.

The \setupheads command is only a synonym for \setuphead but there can be a difference between

    \setuphead[..,..=..,..]

and

    \setuphead[<section][..,..=..,..]

Wolfgang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20150421/56975c42/attachment-0001.html>


More information about the ntg-context mailing list