Hi,
there is a typo in the following command.
\def\place_initial[#1]% todo: optional text
{\par
\begingroup
\edef\currentinitial{#1}%
\begingroup
\useinitialcolorparameter\c!color
\ctxlua{typesetters.paragraphs.droppers.set {
location = "\initialparameter\c!location",
enabled = true,
n = \number\initialparameter\c!n,
distance = \number\dimexpr\initialparameter\c!distance,
hoffset = \number\dimexpr\initialparameter\c!hoffset,
voffset = \number\dimexpr\initialparameter\c!voffset,
ma = \the\attribute\colormodelattribute ,
ca = \the\attribute\colorattribute ,
ta = \the\attribute\transparencyattribute
}}%
\stopluacode
\endgroup
\begingroup
\doifelsenothing{\initialparameter\c!style}
{\definedfont[\initialparameter\s!font]}
- {\initialstyleparameter\c!style}%
+ {\useinitialstyleparameter\c!style}%
\ctxlua{typesetters.paragraphs.droppers.freeze()}%
\endgroup
\endgroup
\setparagraphspecial[1]%
\namedinitialparameter{#1}\c!before}
Wolfgang
_______________________________________________
dev-context mailing list
[email protected]
http://www.ntg.nl/mailman/listinfo/dev-context