[NTG-context] fancy chapter setup

Henning Hraban Ramm texml at fiee.net
Sun Jan 12 16:07:48 CET 2020

Since the structureuservariables of a section aren’t defined in that section’s "before", I would need a macro or buffer to define the contents of that epigraph page, like this:


\startsetups FancyChapter
    {\definedfont[SerifItalic at 16pt]\quotation{\getbuffer[Quote]}\par}





\startchapter[title={My Normal Text}]
\input knuth

I thought that was real.

\startchapter[title={My Fancy Story}]
\input tufte

All you need is love.

\startchapter[title={Another Fancy Story}]
\input zapf

\startchapter[title={Another Normal Text}]
\input knuth


That’s possible, but ugly. I would really like to set those quotes and image names in the chapter command.

Best, Hraban

More information about the ntg-context mailing list