From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/61921 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Lettrines in MkIV Date: Thu, 23 Sep 2010 13:38:46 -0400 (EDT) Message-ID: References: <20100921183900.GA31727@aides> <201009231832.08786.alan.braslau@cea.fr> <201009231909.30361.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"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1285263534 7353 80.91.229.12 (23 Sep 2010 17:38:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 23 Sep 2010 17:38:54 +0000 (UTC) Cc: ntg-context@ntg.nl To: Alan BRASLAU Original-X-From: ntg-context-bounces@ntg.nl Thu Sep 23 19:38:51 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 1Oypkw-0006k5-Ce for gctc-ntg-context-518@m.gmane.org; Thu, 23 Sep 2010 19:38:50 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9808CCA6EA; Thu, 23 Sep 2010 19:38:49 +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 EU1eMMe0ESdH; Thu, 23 Sep 2010 19:38:45 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DA610CA764; Thu, 23 Sep 2010 19:38:44 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DE048CA764 for ; Thu, 23 Sep 2010 19:38:43 +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 edW-3SDTlAs7 for ; Thu, 23 Sep 2010 19:38:41 +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 1C8CFCA6EA for ; Thu, 23 Sep 2010 19:38:40 +0200 (CEST) Original-Received: from tombraider.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.12.86]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o8NHcaYp028963 for ; Thu, 23 Sep 2010 19:38:39 +0200 Original-Received: FROM web047081.wireless.mcgill.ca (web047081.Wireless.McGill.CA [142.157.47.81]) By tombraider.mr.itd.umich.edu ID 4C9B9094.BF4B0.22376 ; Authuser adityam; 23 Sep 2010 13:38:29 EDT In-Reply-To: <201009231909.30361.alan.braslau@cea.fr> User-Agent: Alpine 2.01 (LNX 1266 2009-07-14) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.211.12.86; country=US; region=MI; city=Ann Arbor; postalcode=48109; latitude=42.2923; longitude=-83.7145; metrocode=505; areacode=734; http://maps.google.com/maps?q=42.2923,-83.7145&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08DahCBVo - 40d8c13a4993 - 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:61921 Archived-At: 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 ___________________________________________________________________________________