From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/56647 Path: news.gmane.org!not-for-mail From: Steffen Wolfrum Newsgroups: gmane.comp.tex.context Subject: no protrusion for hyphen ?? Date: Wed, 3 Mar 2010 12:44:53 +0100 Message-ID: <4BC4FAAD-3791-43DF-B31F-EEF41DBE1DCF@st.estfiles.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1267616724 1093 80.91.229.12 (3 Mar 2010 11:45:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 3 Mar 2010 11:45:24 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Mar 03 12:45:20 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from [195.12.62.10] (helo=balder.ntg.nl) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Nmn0y-000329-9b for gctc-ntg-context-518@m.gmane.org; Wed, 03 Mar 2010 12:45:20 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BCD4FC9CE3; Wed, 3 Mar 2010 12:45:19 +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 zJcF8QG2CbqO; Wed, 3 Mar 2010 12:44:59 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 01EFFC9CD4; Wed, 3 Mar 2010 12:44:59 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D6171C9CD4 for ; Wed, 3 Mar 2010 12:44:57 +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 zGJ3lqba4MJX for ; Wed, 3 Mar 2010 12:44:55 +0100 (CET) Original-Received: from smtprelay02.ispgateway.de (smtprelay02.ispgateway.de [80.67.18.14]) by balder.ntg.nl (Postfix) with ESMTP id 8BC01C9CD0 for ; Wed, 3 Mar 2010 12:44:55 +0100 (CET) Original-Received: from [89.247.126.161] (helo=[192.168.1.4]) by smtprelay02.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1Nmn0Z-00031F-2H for ntg-context@ntg.nl; Wed, 03 Mar 2010 12:44:55 +0100 X-Mailer: Apple Mail (2.1077) X-Df-Sender: 698580 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:56647 Archived-At: Hi, I have read there were troubles with |-| in MkIV last year. I found another one: the hyphen set by |-| doesn't get protruded. See example below, please: \startluacode fonts.protrusions.vectors['stpure'] = { [0x002D] = { 0, 0.50 }, -- hyphen } fonts.protrusions.classes['stwpure'] = { vector = 'stpure', factor = 1 } \stopluacode \definefontfeature[default][default] [mode=node,protrusion=stwpure,script=latn]% extend=2,slant=.2, \usetypescript[postscript] \definetypeface[postscript][rm][serif][times][default] \setupbodyfont[postscript,18pt] \setupalign[line,block,hanging] \showframe \starttext \dorecurse{13}{test } test|-|text test \dorecurse{13}{test } test- text test \stoptext Steffen ___________________________________________________________________________________ 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 ___________________________________________________________________________________