Am 24.02.2010 um 22:38 schrieb Wolfgang Schuster:
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
Hi, for curiosity i tried the above code and it gives an error (undefined control sequence) i searched in the source and found that \structureuservariable is valid not \structureuservalue best regards Bernhard