From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/25605 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Problem with German quotes and kerning Date: Fri, 27 Jan 2006 13:58:46 +0100 Message-ID: <43DA1906.9060700@wxs.nl> References: <1BFDD604-4DEB-41EE-8B78-61A4811B8160@uni-bonn.de> <6faad9f00601250445r10e89c52x4401f0017dfffde2@mail.gmail.com> <6faad9f00601261653o214ea426pa4f3110f71200362@mail.gmail.com> <43D9DF2C.8060401@elvenkind.com> <8619B941-C03E-4A6D-BB9F-18BCA37FE30B@uni-bonn.de> <43D9F2E5.4030906@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1138366739 14210 80.91.229.2 (27 Jan 2006 12:58:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 27 Jan 2006 12:58:59 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Jan 27 13:58:57 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org 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 1F2TBk-0005g1-MZ for gctc-ntg-context-518@m.gmane.org; Fri, 27 Jan 2006 13:58:52 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6B45112811; Fri, 27 Jan 2006 13:58:52 +0100 (CET) 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 28714-05-3; Fri, 27 Jan 2006 13:58:48 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 17EF31281A; Fri, 27 Jan 2006 13:58:48 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0728E1281A for ; Fri, 27 Jan 2006 13:58:47 +0100 (CET) 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 28714-05-2 for ; Fri, 27 Jan 2006 13:58:46 +0100 (CET) Original-Received: from mail.pragma-ade.net (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by ronja.ntg.nl (Postfix) with SMTP id EE91612811 for ; Fri, 27 Jan 2006 13:58:45 +0100 (CET) Original-Received: from [10.100.1.102] (unverified [10.100.1.102]) by controller-1 (SurgeMail 3.5b3) with ESMTP id 2951 for ; Fri, 27 Jan 2006 08:10:52 +0300 User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <43D9F2E5.4030906@elvenkind.com> X-Server: High Performance Mail Server - http://surgemail.com r=-274017400 X-Authenticated-User: hagen@controller-1 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:25605 Archived-At: Taco Hoekwater wrote: >Thomas A. Schmitz wrote: > > >>Taco, >> >>I hate doing it, but I have to disagree ;-) I was trying to fix this >> >> > >Ok. Thomas, can you try the definition below with a font that >has correct kerning? (you have to set \smartquotationfontstrue >as well, of course ). Should work, but I cannot test due to lack >of fonts ;-) > >Cheers, Taco > >\unprotect >\newif\ifsmartquotationfonts > >\def\dohandlequotation#1#2% > {\ifsmartquotationfonts > #2% > \ifhmode \penalty\!!tenthousand\hskip\zeropoint \fi \strut > \languageparameter#1% > \else > \ifdim\lastskip=\quotationsignal > \unskip\hskip\hspaceamount\currentlanguage{interquotation}% > \else > #2% > \fi > \ifhmode \penalty\!!tenthousand\hskip\zeropoint \fi \strut > \symbol[#1]% > \penalty\!!tenthousand\hskip\quotationsignal > \fi }% >\protect > > the current quotation/quote/speech handler is now replaced by the delimited text one although that one is not yet activated; so any adaptions should take place there; i added an option: \setupdelimitedtext[quotation][method=font] test \quotation{test} test or: \definedelimitedtext[whatever][quotation] \setupdelimitedtext[whatever][method=font] xxx \whatever{xx} xxx When using that option, it's all up to the font ... I'll generate a new 'current' Hans Hans -- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------