Am 29.04.2009 um 20:23 schrieb Idris Samawi Hamid ادريس سماوي حامد:

ok, thnx! OTOH, I did not see any illustrative examples of the use of
[optional user data]

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

\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

Are you now happy?

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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to