From: Aditya Mahajan <adityam@umich.edu>
To: Alan BRASLAU <alan.braslau@cea.fr>
Cc: ntg-context@ntg.nl
Subject: Re: Lettrines in MkIV
Date: Thu, 23 Sep 2010 12:46:00 -0400 (EDT) [thread overview]
Message-ID: <alpine.LNX.2.01.1009231244240.26185@ybpnyubfg.ybpnyqbznva> (raw)
In-Reply-To: <201009231832.08786.alan.braslau@cea.fr>
On Thu, 23 Sep 2010, Alan BRASLAU wrote:
> On Thursday 23 September 2010 18: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
>>
>> Aditya
>
> I don't think that it is the same thing, but I do not understand
> your example. Did you try running it?
Sorry... \placeinitial gobbles \input.... but here is a standalone
example:
\setupinitial
[ state=start,
n=3,
distance=-.1pc,
]
\starttext
\placeinitial This is what Knuth said: \input knuth
\stoptext
Aditya
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2010-09-23 16:46 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-21 18:39 Philipp Gesang
2010-09-21 19:47 ` Hans Hagen
2010-09-23 12:32 ` Philipp Gesang
2010-09-23 13:49 ` Hans Hagen
2010-09-23 15:54 ` Alan BRASLAU
2010-09-23 16:24 ` Aditya Mahajan
2010-09-23 16:32 ` Alan BRASLAU
2010-09-23 16:46 ` Aditya Mahajan [this message]
2010-09-23 17:09 ` Alan BRASLAU
2010-09-23 17:38 ` Aditya Mahajan
2010-09-23 18:27 ` Alan BRASLAU
2010-10-03 16:27 ` Hans Hagen
2010-09-23 17:43 ` Philipp Gesang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.LNX.2.01.1009231244240.26185@ybpnyubfg.ybpnyqbznva \
--to=adityam@umich.edu \
--cc=alan.braslau@cea.fr \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).