[NTG-context] Title in margin example from the wiki not working?

Mica Semrick mica at silentumbrella.com
Thu Aug 7 08:38:15 CEST 2014


I'm trying to get the subject heading in the margin. I found this code on the wiki, but it is not compiling with the latest version of ConTeXt.


\def\MyHead#1#2{\inmargin{#1 #2}}


\subject{First Subject}
\input weisman

\subject{Second Subject}
\input ward


from http://wiki.contextgarden.net/Titles#Titles_in_margin

The error being thrown is  ! Argument of \MyHead has an extra }

Please help!


More information about the ntg-context mailing list