From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/20566 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: Lettrine in ConTeXt Date: Mon, 30 May 2005 12:18:05 +0200 Message-ID: <429AE85D.70608@elvenkind.com> References: <20050529230048.5488.qmail@web42107.mail.yahoo.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1117448193 31525 80.91.229.2 (30 May 2005 10:16:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 30 May 2005 10:16:33 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon May 30 12:16:31 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1DchJ5-0005dw-RR for gctc-ntg-context-518@m.gmane.org; Mon, 30 May 2005 12:15:40 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2F364127CE; Mon, 30 May 2005 12:18:15 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 31887-02; Mon, 30 May 2005 12:18:11 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3BC14127BE; Mon, 30 May 2005 12:18:11 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DEC9D127BE for ; Mon, 30 May 2005 12:18:08 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 31813-06-2 for ; Mon, 30 May 2005 12:18:08 +0200 (CEST) Original-Received: from glenfiddich.elvenkind.com (elvenknd.xs4all.nl [213.84.171.68]) by ronja.ntg.nl (Postfix) with ESMTP id F2EF8127BD for ; Mon, 30 May 2005 12:18:07 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by glenfiddich.elvenkind.com (Postfix) with ESMTP id 0A62615DA0 for ; Mon, 30 May 2005 12:17:28 +0200 (CEST) Original-Received: from glenfiddich.elvenkind.com ([127.0.0.1]) by localhost (glenfiddich.elvenkind.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 10742-07 for ; Mon, 30 May 2005 12:17:26 +0200 (CEST) Original-Received: from [10.10.0.6] (glenlivet.elvenkind.com [10.10.0.6]) by glenfiddich.elvenkind.com (Postfix) with ESMTP id EEC7D15D4A for ; Mon, 30 May 2005 12:17:25 +0200 (CEST) User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <20050529230048.5488.qmail@web42107.mail.yahoo.com> X-Virus-Scanned: by amavisd-new at elvenkind.net X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:20566 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:20566 The problem is that FontHook has to redefine the font synonym 'LettrineFont'. You have to do it like this: \unexpanded\def\myfonthook {\definefontsynonym[LettrineFont][SerifBold]} \setuplettrine[Lines=3,TextFont=\it, FontHook=\myfonthook, Findent=0pt,Nindent=0pt] Greetings, Taco (I'll send a new zip with included documentation to Patrick soon) Marcus Vinicius Mesquita de Sousa wrote: > Hi ConTeXters! > > I played a little with Taco's implementation of > Lettrine and it > worked nice, but the capital letter is always in > CMR10. The option > TextFont works fine, and one can change the font that > comes after > the dropped cap with commands like \sc (default), \it, > \sl or \bf, but > the option FontHook, which changes the font of the > capital, doesn't > seem to work when one uses, for example, > > . Did I miss something? > > Marcus Vinicius > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context