For a book of fairy tales, I used (working!):
\def\Initial{\DroppedCaps%
{\color[red]} {Serif} {2.5\baselineskip} {3pt} {2\baselineskip} {3}}
\starttext
\Initial Once upon a time... \input tufte
\stoptext
But that gives now:
<to be read again>
\unskip
\\->\ifhmode \unskip
\prewordbreak \crlfplaceholder \ifcase
\raggedstatus \h...
\somefontsize ->2.5\\
baselineskip
\lowleveldefinefont ...aledfontsize \somefontsize
\or \scaledfontsize
\local...
\dododefinefont ...inefont {#2}\rawfontidentifier
\csname
\rawfontidentifier...
\dodefinedfont ...nedfont][#1]\fi \thedefinedfont
\the
\everydefinedfont
...
l.7 \Initial O
nce upon a time... \input tufte
It works, if I use absolute values for font size and vertical offset,
like
\def\Initial{\DroppedCaps%
{\color[red]} {Serif} {36pt} {3pt} {28pt} {3}}
I also tried \setupinitial / \placeinitial like below; I got my
defined font, but only ever in base font size.
%\definefontsynonym[Initial][WieynkInitialen]
\setupinitial[font=WieynkInitialen,n=3,state=start,command=\Initial] %
I also tried \NiceDroppedCaps and \LineDroppedCaps that I found in the
sources, but didn’t get further.
So, what’s the preferred way to get dropped capitals / initials?
I’d like to wikify that, since it seems nowhere documented.
Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)
___________________________________________________________________________________
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
___________________________________________________________________________________