Am 24.02.10 22:26, schrieb Steffen Wolfrum:

Perhaps I can also add comments to a writebetweenlist now?
Can you some further example on how to use "userdata"?

A example i wrote for Idris a while (April 2009) ago:

\setuphead[chapter][align=middle,command=\TitleCommand]

\define[2]\TitleCommand
  {\startframedtext[frame=off,width=\hsize,align=middle]
   #2\hairline
   \structureuservalue{author}\hfill\structureuservalue{date}
   \stopframedtext}

\starttext

\startchapter
  [title={How to make Idris happy?},reference={sec:happy}]
  [author={Wolfgang Schuster},date=\currentdate]

It's not as hard you think, just show him a few nice things
and he is happy.

See \in{section}[sec:happy] at \at{page}[sec:happy].

\stopchapter

\stoptext

Wolfgang
___________________________________________________________________________________
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