From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/61919 Path: news.gmane.org!not-for-mail From: Alan BRASLAU Newsgroups: gmane.comp.tex.context Subject: Re: Lettrines in MkIV Date: Thu, 23 Sep 2010 19:09:30 +0200 Organization: CEA DSM-IRAMIS-SPEC Message-ID: <201009231909.30361.alan.braslau@cea.fr> References: <20100921183900.GA31727@aides> <201009231832.08786.alan.braslau@cea.fr> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1285261799 31576 80.91.229.12 (23 Sep 2010 17:09:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 23 Sep 2010 17:09:59 +0000 (UTC) Cc: ntg-context@ntg.nl To: Aditya Mahajan Original-X-From: ntg-context-bounces@ntg.nl Thu Sep 23 19:09:58 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OypIz-0000eG-SW for gctc-ntg-context-518@m.gmane.org; Thu, 23 Sep 2010 19:09:57 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 08135CA79E; Thu, 23 Sep 2010 19:09:57 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id wmFShYgLrpRv; Thu, 23 Sep 2010 19:09:56 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 285CFCA794; Thu, 23 Sep 2010 19:09:54 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DF3EECA794 for ; Thu, 23 Sep 2010 19:09:52 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id QIlAXaPRea8f for ; Thu, 23 Sep 2010 19:09:37 +0200 (CEST) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id D1677CA78A for ; Thu, 23 Sep 2010 19:09:37 +0200 (CEST) Original-Received: from smtp2-g21.free.fr (smtp2-g21.free.fr [212.27.42.2]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o8NH9ZjB013174 for ; Thu, 23 Sep 2010 19:09:36 +0200 Original-Received: from iram-hb-003386.localnet (unknown [81.57.248.225]) by smtp2-g21.free.fr (Postfix) with ESMTP id B0C534B0193; Thu, 23 Sep 2010 19:09:31 +0200 (CEST) User-Agent: KMail/1.13.5 (Linux/2.6.32; KDE/4.4.5; x86_64; ; ) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=212.27.42.2; country=FR; latitude=46.0000; longitude=2.0000; http://maps.google.com/maps?q=46.0000,2.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08Dah9zPE - 49b36c539951 - 20100923 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:61919 Archived-At: 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! Nice, I would like to use something like this, even setting it up to be automatic at the beginning of chapters, for example. But it does not quite work as lettrines. 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. Alan ___________________________________________________________________________________ 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 ___________________________________________________________________________________