From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/60513 Path: news.gmane.org!not-for-mail From: Martin Althoff Newsgroups: gmane.comp.tex.context Subject: Re: Setting up protrusion, side-effects Date: Thu, 29 Jul 2010 03:12:05 -0700 (PDT) Message-ID: <593800.11793.qm@web56304.mail.re3.yahoo.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1280398339 19597 80.91.229.12 (29 Jul 2010 10:12:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 29 Jul 2010 10:12:19 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jul 29 12:12:17 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 1OeQ63-0005GD-Lx for gctc-ntg-context-518@m.gmane.org; Thu, 29 Jul 2010 12:12:15 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 991D3C9CFD; Thu, 29 Jul 2010 12:12:14 +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 jrhNsluZKAnX; Thu, 29 Jul 2010 12:12:10 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3D684C9CF3; Thu, 29 Jul 2010 12:12:10 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3B26BC9CF3 for ; Thu, 29 Jul 2010 12:12:09 +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 K92Mbwqmhec8 for ; Thu, 29 Jul 2010 12:12:06 +0200 (CEST) Original-Received: from n7.bullet.re3.yahoo.com (n7.bullet.re3.yahoo.com [68.142.237.92]) by balder.ntg.nl (Postfix) with SMTP id 5CFADC9CC1 for ; Thu, 29 Jul 2010 12:12:06 +0200 (CEST) Original-Received: from [68.142.237.90] by n7.bullet.re3.yahoo.com with NNFMP; 29 Jul 2010 10:12:05 -0000 Original-Received: from [66.196.114.75] by t6.bullet.re3.yahoo.com with NNFMP; 29 Jul 2010 10:12:05 -0000 Original-Received: from [127.0.0.1] by omp304.mail.re3.yahoo.com with NNFMP; 29 Jul 2010 10:12:05 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 730710.97831.bm@omp304.mail.re3.yahoo.com Original-Received: (qmail 12435 invoked by uid 60001); 29 Jul 2010 10:12:05 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1280398325; bh=BeXNGUt3TtWfP8w5q1m3HQduD7cf9SDxrlNNg/2jIb0=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=WXGWWTNq/x+FwoGdzu3inJEXNYBVVceig1Zxc8jGghnw+6h7nbjAqQRrShdUpQlsiEmfGvk6Z53e3E/hiFwl9rcwXA78VeOwBJbEWZYQtAw08DRerd2vP8gxfH7FbRp9wd0lALz6GV77r4hZSlwp6d4IVLDz42f8dUN9v0NgpEg= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=1hjVN3wXKI7ueaJpQ6+g7fM7MQRLq9b2z3USEfjlcJ1rjir7EeGHCenzuOItTr/4yJP8msQRAW/g2/3+9t5zVB7JhTImy3B04bhnbG1rQdMi/Dpu/zAiJan7RPcZrB27e0X5lgFiQnF9qwu1lt+W4pvgUT0y4PwfH5T8fHUckDA=; X-YMail-OSG: cUII9uUVM1n.47bECUxod4ZEQi12cjON_qyvU5iHXtJDO9N iAY01.f0UoYw8Y.YXe.fKMkoFzs4uN5gY.dE1NF4AZAF5MhBHQgbscht9o7T CyWxUxRD.sT6wZB7yI6KPi1y75XpseEI8SxbJWdWHsv.du2TX8.6SObZZ3CZ ddWX1Qwpv_At8dHtrvde2B4XNi0qN2C9uQpPvQvgBucH1yOBFxYeYE6EUGkZ 3WbBw2lUwiuc4ua8Jcz18.dkt1D9HHVdLoFTRFLc6CkE- Original-Received: from [114.58.126.98] by web56304.mail.re3.yahoo.com via HTTP; Thu, 29 Jul 2010 03:12:05 PDT X-Mailer: YahooMailClassic/11.2.4 YahooMailWebService/0.8.105.279950 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:60513 Archived-At: I hate to pick up on this again, but... The basic Palatino, together with protrusion and small caps is causing issues. Essentially horizontal placing of the characters fails (see previous PDF). In the example below, I can reliably cause the effect by commenting out (or not) the line with the \sc. This effect shows up the my "real" files. While trying to find the trigger by culling down the files, for a moment I could reliably (!) turn the effect on and off with the line %\setupfootertexts[chapter][pagenumber] and not changing the \sc lines. Weird side effect? Sorry, I can't reproduce that one anymore. One way to reduce, but not prevent the effect, is if more plain text is output before using \sc. eg by adding an \input tufte beforehand. But once the text after the \sc is a bit longer ie. 10x tufte the effect will show again. Gut feeling: successive and cumulative rounding errors. Question: Am I tripping over "side effects"? Is using SmallCaps a bad idea when using protrusion? It just feels odd that something like this would be so uncontrollable. Particularly since the palatino font is from the TexGyre set (so close to home) Thanks for thoughts! Martin \definefontfeature [default][default][protrusion=quality,expansion=quality] \setupalign[hz,hanging] %\setupfooter[text][before=\hairline,leftwidth=.85\textwidth,style=\tfx] %\setupfootertexts[chapter][pagenumber] %\usetypescript[palatino] \setupbodyfont[palatino,12pt] \starttext %\input tufte {\sc Erster Teil} \input tufte \stoptext > Fonts are sometimes special and when ypu load a font it's > setting (e.g. ligatures, protrusion etc.) are frozen. To change the > settings you need \definefontfeature before \setupbodyfont, > Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________