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 13:38:46 -0400 (EDT) [thread overview]
Message-ID: <alpine.LNX.2.01.1009231335190.26185@ybpnyubfg.ybpnyqbznva> (raw)
In-Reply-To: <201009231909.30361.alan.braslau@cea.fr>
On Thu, 23 Sep 2010, Alan BRASLAU wrote:
> On Thursday 23 September 2010 18:46:00 you wrote:
>>
>> 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
>>
>
> I didn't know about initial...
>
> %D \macros
> %D {setupinitial,placeinitial,checkinitial}
> %D
> %D {\em To be documented.}
>
> Indeed!
So you do not consider the source itself as the documentation :)
> Nice, I would like to use something like this,
> even setting it up to be automatic at the beginning
> of chapters, for example.
The example that I showed earlier did that. Essentially, just use
\setuphead[chapter][after=\placeinitial]
> But it does not quite work as lettrines.
Indeed. Otherwise, there would no need for a separate module. Actually, it
will be nice if the functionality of lettrine can be merged with
\placeintial.
> In a silly language such as French, the following fails:
>
> \placeinitial L'objet de cette commande\dots
>
> as one needs:
>
> \lettrine{L'}{objet} de cette commande\dots
>
> Other heuristics might apply in different cases.
And there are sentences starting with quotations, etc.
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 17:38 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
2010-09-23 17:09 ` Alan BRASLAU
2010-09-23 17:38 ` Aditya Mahajan [this message]
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.1009231335190.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).