From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/61918 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 12:46:00 -0400 (EDT) Message-ID: References: <20100921183900.GA31727@aides> <201009231754.33350.alan.braslau@cea.fr> <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"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1285260365 24754 80.91.229.12 (23 Sep 2010 16:46:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 23 Sep 2010 16:46:05 +0000 (UTC) Cc: ntg-context@ntg.nl To: Alan BRASLAU Original-X-From: ntg-context-bounces@ntg.nl Thu Sep 23 18:46:04 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 1Oyovr-0005pJ-9x for gctc-ntg-context-518@m.gmane.org; Thu, 23 Sep 2010 18:46:03 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A68E7CA79D; Thu, 23 Sep 2010 18:46:02 +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 L+rzCcPhQxLv; Thu, 23 Sep 2010 18:46:02 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C2CF2CA697; Thu, 23 Sep 2010 18:45:59 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A1803CA697 for ; Thu, 23 Sep 2010 18:45:58 +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 CJ+GGCj0HCWV for ; Thu, 23 Sep 2010 18:45:56 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 34461CA623 for ; Thu, 23 Sep 2010 18:45:56 +0200 (CEST) Original-Received: from tombraider.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.12.86]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o8NGjs7a025306 for ; Thu, 23 Sep 2010 18:45:55 +0200 Original-Received: FROM web047081.wireless.mcgill.ca (web047081.Wireless.McGill.CA [142.157.47.81]) By tombraider.mr.itd.umich.edu ID 4C9B8438.92B0C.29863 ; Authuser adityam; 23 Sep 2010 12:45:45 EDT In-Reply-To: <201009231832.08786.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: 0bDagJSAJ - 945d1477b51f - 20100923 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:61918 Archived-At: 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 ___________________________________________________________________________________