A A via ntg-context schrieb am 15.11.2021 um 17:15:
Dear All,
I'm trying to run one of the examples in the ConTeXt wiki page https://wiki.contextgarden.net/Titles
Here's the code: * * *\setuppapersize[A5]
\section[sec:old]{Old Section}
This is an old-style \ConTeXt\ section.
\startsection [ title={New Section} reference=sec:new, ] This is a new-style section. \stopsection* * * However, my compiled pdf looks nothing like the example on the wiki. What am I doing wrong? Is there anything wrong with my ConTeXt settings?
1. You need \starttext at the begin and \stoptext at the end of your document. 2. You forgot a comma after the title entry. \starttext \section[sec:old]{Old Section} This is an old-style \ConTeXt\ section. \startsection [title={New Section}, reference=sec:new] This is a new-style section. \stopsection \stoptext Wolfgang