From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/73142 Path: news.gmane.org!not-for-mail From: Henning Hraban Ramm Newsgroups: gmane.comp.tex.context Subject: Initials / DroppedCaps Date: Tue, 13 Dec 2011 13:08:02 +0100 Message-ID: <23165137-3692-497B-9330-CA0012F17B0C@fiee.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset="windows-1252"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1323778109 9479 80.91.229.12 (13 Dec 2011 12:08:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 13 Dec 2011 12:08:29 +0000 (UTC) To: mailing ConTeXt users list for Original-X-From: ntg-context-bounces@ntg.nl Tue Dec 13 13:08:25 2011 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 1RaR9l-0001UQ-Eb for gctc-ntg-context-518@m.gmane.org; Tue, 13 Dec 2011 13:08:25 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B1CFCCB164; Tue, 13 Dec 2011 13:08:24 +0100 (CET) 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 O+jbq6nhgpXY; Tue, 13 Dec 2011 13:08:21 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BB62CCB111; Tue, 13 Dec 2011 13:08:21 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 55335CB111 for ; Tue, 13 Dec 2011 13:08:20 +0100 (CET) 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 qNDvlpl2KoBx for ; Tue, 13 Dec 2011 13:08:05 +0100 (CET) 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 484E8CABBD for ; Tue, 13 Dec 2011 13:08:05 +0100 (CET) Original-Received: from thesan.fiee.net (thesan.fiee.net [178.77.74.245]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id pBDC84lJ009292 for ; Tue, 13 Dec 2011 13:08:04 +0100 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=fiee.net; b=bxTnvrM5L5BjZpjLYNlhHOaeGl1WHPWnwvQRX/EP/bt+lFRwiKUzQJmvDvVKgeiiqfRFgYiMI3YxjFzAxJwSd2ASFcWdChpFhKcb57jKKqrDQ1DoTdoAZ7FgFYxcD1Sw; h=Received:Received:Message-Id:From:To:Content-Type:Content-Transfer-Encoding:Mime-Version:Subject:Date:X-Mailer; Original-Received: (qmail 23706 invoked from network); 13 Dec 2011 13:08:03 +0100 Original-Received: from 161-214.77-83.cust.bluewin.ch (HELO ?10.128.9.9?) (83.77.214.161) by thesan.fiee.net with ESMTPSA (AES128-SHA encrypted, authenticated); 13 Dec 2011 13:08:03 +0100 X-Mailer: Apple Mail (2.936) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=178.77.74.245; country=DE; region=07; city=Host; latitude=51.6500; longitude=6.1833; http://maps.google.com/maps?q=51.6500,6.1833&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08G8A84BN - 233ecba69b2a - 20111213 (trained as not-spam) 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:73142 Archived-At: For a book of fairy tales, I used (working!): \def\Initial{\DroppedCaps% {\color[red]} {Serif} {2.5\baselineskip} {3pt} {2\baselineskip} {3}} \starttext \Initial Once upon a time... \input tufte \stoptext But that gives now: \unskip \\->\ifhmode \unskip \prewordbreak \crlfplaceholder \ifcase = \raggedstatus \h... \somefontsize ->2.5\\ baselineskip \lowleveldefinefont ...aledfontsize \somefontsize \or \scaledfontsize = \local... \dododefinefont ...inefont {#2}\rawfontidentifier \csname = \rawfontidentifier... \dodefinedfont ...nedfont][#1]\fi \thedefinedfont \the = \everydefinedfont ... l.7 \Initial O nce upon a time... \input tufte It works, if I use absolute values for font size and vertical offset, = like \def\Initial{\DroppedCaps% {\color[red]} {Serif} {36pt} {3pt} {28pt} {3}} I also tried \setupinitial / \placeinitial like below; I got my = defined font, but only ever in base font size. %\definefontsynonym[Initial][WieynkInitialen] \setupinitial[font=3DWieynkInitialen,n=3D3,state=3Dstart,command=3D\Initial= ] % I also tried \NiceDroppedCaps and \LineDroppedCaps that I found in the = sources, but didn=92t get further. So, what=92s the preferred way to get dropped capitals / initials? I=92d like to wikify that, since it seems nowhere documented. Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________