Am 08.03.2011 um 15:36 schrieb Cecil Westerhof:
I am making my first e-book. And am now seriously using ConTeXt. But I have a lot to learn.
In my ebook I want to use citations. In two different way. For starters I want to let every chapter start with a citation. At the moment I think that this does not need to be fancy. Just a little bigger font and a different color and white-space after it. But if there is a better way, I do not mind to hear it.
\starttext \chapter{Knuth} \epigraph{Nikos Kazantzakis}{I hope for nothing. I fear nothing. I am free.} \input knuth \stoptext with \epigraph defined as \define[2]\epigraph {\blank \startframedtext[right][frame=off,align=flushright,offset=none,width=fit]% #2\par{\it – #1}% \stopframedtext \blank} or \usemodule[annotation] \define[2]\EpigraphCommand {\startframedtext[right][frame=off,align=flushright,offset=none,width=fit]% #2\par{\it – \placeannotationtitle}% \stopframedtext} \defineannotation [epigraph] [alternative=command, command=\EpigraphCommand, display=yes] With the annotation module you can also write \startepigraph{Nikos Kazantzakis} I hope for nothing. I fear nothing. I am free. \stopepigraph Wolfgang