[NTG-context] \setuphead for a section block

Wolfgang Schuster wolfgang.schuster.lists at gmail.com
Tue Oct 23 21:25:56 CEST 2018



Pablo Rodriguez schrieb am 23.10.18 um 21:18:
> Dear list,
>
> imagine that I need a different setup for chapter in the bodymatter than
> in the frontmatter and appendices.
>
> The way to do it seems to be:
>
>      \setuphead[chapter][style=\bf]
>      \startsectionblockenvironment[bodypart]
>          \setuphead[chapter][style=\em]
>      \stopsectionblockenvironment
>      \starttext
>      \startfrontmatter
>      \chapter{Introduction}
>      \stopfrontmatter
>      \startbodymatter
>      \chapter{Chapter}
>      \stopbodymatter
>      \stoptext
>
> But wasn’t there a command similar to the following one for such purposes?
>
>      \setuphead[bodypart:chapter][style=\em]
>
> I remember that there was something similar to that command to setup
> headings in a section block.
>
> Am I creating my memories or did a similar option exist?

You’re thinking of \defineconversionset, \defineseparatorset etc. which 
let you
set values for certain sectionblocks but not \setuphead.

Wolfgang



More information about the ntg-context mailing list