29 Apr
2009
29 Apr
'09
6:34 p.m.
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