On 2010-09-23 <12:24:05>, Aditya Mahajan wrote:
On Thu, 23 Sep 2010, Alan BRASLAU wrote:
On Thursday 23 September 2010 15:49:07 Hans Hagen wrote:
we know and we will take a look at it next week (as it takes some time to nail down node allocation bugs)
As Hans indicated, he is aware of the problem with the lettrine module and will fix it. In the meantime, you can get by using simply:
%\usemodule [lettrine] % broken, so let's fake it: \def\lettrine#1#2{{\tfc #1}#2}
Of course, this is no good for production, but it is a simple solution if you are working on drafts.
Isn't it better to use initials? This is what one of setups has"
\definehead[initialtitle][title]
\setuphead[initialtitle] [after=\placeinitial]
\definefontsynonym[initial][name:fontin]
\setupinitial [ state=start, n=3, distance=-.1pc, ]
And then I can simply use
\initialtitle {Don Knuth said}
\input knuth
Dear Alan, Aditya, and everybody else, thanks for your efforts, but I’m afraid that you were being mislead about my intentions. I am (probably mis-)using the lettrine module in order to fake the Knuthian \danger and \ddanger macros in auto-generated context code. One of the main goals is, other than pure convenience on my part, that understanding of the resulting code requires only knowledge of high-level context macros, not of high-level tex wizardry. Of course I could start with texbook, p. 419, and try to adapt it to context (seems to be non-trivial), but even if I should succeed, the effort necessary to understand what’s going on is huge compared to when using a well-known and well-documented module. That’s why I rather do without autoindentation, as it concerns only the layout of the manual, not the code itself. @Aditya, I couldn’t get your code to work, neither in mkii nor in mkiv. Anyways, I wasn’t aware of \setup/placeinitial before so I learned something new today. Philipp -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments