From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/25597 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: Problem with German quotes and kerning Date: Fri, 27 Jan 2006 11:16:05 +0100 Message-ID: <43D9F2E5.4030906@elvenkind.com> 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> 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 1138356981 11908 80.91.229.2 (27 Jan 2006 10:16:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 27 Jan 2006 10:16:21 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Jan 27 11:16:16 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 1F2QeK-0001sn-MW for gctc-ntg-context-518@m.gmane.org; Fri, 27 Jan 2006 11:16:12 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6D8A91281F; Fri, 27 Jan 2006 11:16:11 +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 26673-07-3; Fri, 27 Jan 2006 11:16:08 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B7E4E1280D; Fri, 27 Jan 2006 11:16:08 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7C7B41280D for ; Fri, 27 Jan 2006 11:16:07 +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 26673-07-2 for ; Fri, 27 Jan 2006 11:16:06 +0100 (CET) Original-Received: from glenfiddich.elvenkind.com (elvenknd.xs4all.nl [213.84.171.68]) by ronja.ntg.nl (Postfix) with SMTP id 6AEA31279B for ; Fri, 27 Jan 2006 11:16:06 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by glenfiddich.elvenkind.com (Postfix) with ESMTP id 256CC18349 for ; Fri, 27 Jan 2006 11:16:06 +0100 (CET) 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 27076-01 for ; Fri, 27 Jan 2006 11:16:05 +0100 (CET) Original-Received: from [10.10.0.6] (glenlivet.elvenkind.com [10.10.0.6]) by glenfiddich.elvenkind.com (Postfix) with ESMTP id BCE5F15EC8 for ; Fri, 27 Jan 2006 11:16:05 +0100 (CET) User-Agent: Mozilla Thunderbird 1.0.6-7.1.20060mdk (X11/20050322) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <8619B941-C03E-4A6D-BB9F-18BCA37FE30B@uni-bonn.de> 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.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:25597 Archived-At: 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