Hello,

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.

\setuppapersize[A5]
\setuphead
  [subject]
  [alternative=text,distance=0pt,command=\MyHead,style=\sc]

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

\starttext

\subject{First Subject}
\input weisman

\subject{Second Subject}
\input ward

\stoptext

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

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

Please help!

Best,
Mica
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to