I have the following command which I am using as part of
\setuphead[chapter]:
\define[2]\MyChapterCommand%
{\framed[frame=on,bottomframe=on,leftframe=off,rightframe=off,topframe=off,align=middle]
{\vbox{\headtext{chapter} #1 \blank #2}}}
Together with the rest of the \setuphead[chapter] elements, it functions
correctly, as indeed it should
But as soon as I place the full description of the chapter head between
a \startsetups.... \stopsetups (since I wanted to create a few different
chapter possibilities as setups to choose from), the hashes in the above
command cause an error.
The error reads: You meant to type ## instead of # right?..... fatal
error...
Why is this?
Julian
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________