From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/54662 Path: news.gmane.org!not-for-mail From: Steffen Wolfrum Newsgroups: gmane.comp.tex.context Subject: Re: hz off? Date: Mon, 23 Nov 2009 11:16:20 +0100 Message-ID: References: <8C6D1459-6F3B-43C3-8553-DF4085B20E6D@uni-bonn.de> <4B0A5EF3.80305@wxs.nl> 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: ger.gmane.org 1258971409 6763 80.91.229.12 (23 Nov 2009 10:16:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Nov 2009 10:16:49 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 23 11:16:43 2009 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.50) id 1NCVyI-0000S4-N7 for gctc-ntg-context-518@m.gmane.org; Mon, 23 Nov 2009 11:16:38 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 41BD3C9B41; Mon, 23 Nov 2009 11:13:54 +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 2Aws5LA8ZxSZ; Mon, 23 Nov 2009 11:13:54 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 07B1AC9AF1; Mon, 23 Nov 2009 11:13:47 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 65A0FC9AF1 for ; Mon, 23 Nov 2009 11:13:45 +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 Yrm1TlBVnwCa for ; Mon, 23 Nov 2009 11:13:42 +0100 (CET) Original-Received: from smtprelay03.ispgateway.de (smtprelay03.ispgateway.de [80.67.18.15]) by balder.ntg.nl (Postfix) with ESMTP id 74EF3C9AE3 for ; Mon, 23 Nov 2009 11:13:42 +0100 (CET) Original-Received: from [89.247.85.79] (helo=[192.168.1.4]) by smtprelay03.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1NCVy2-0005Wb-8Z for ntg-context@ntg.nl; Mon, 23 Nov 2009 11:16:22 +0100 In-Reply-To: <4B0A5EF3.80305@wxs.nl> 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:54662 Archived-At: Am 23.11.2009 um 11:07 schrieb Hans Hagen: > Steffen Wolfrum wrote: >> And what's the way to define your own protrusion? >> Shouldn't it go like this? >> \showframe >> \startluacode >> fonts.protrusions.vectors['MyVector'] = { >> [0x2044] = { 0, 0.50 }, -- fraction slash >> [0x002f] = { 0, 0.50 }, -- solidus slash >> [0x002C] = { 0, 0.50 }, -- comma >> [0x002E] = { 0, 0.50 }, -- period >> [0x003A] = { 0, 0.50 }, -- colon >> [0x003B] = { 0, 0.50 }, -- semicolon >> [0x002D] = { 0, 0.50 }, -- hyphen >> [0x2013] = { 0, 0.25 }, -- endash >> [0x201C] = { 0, -1.25 }, -- quotedblleft >> } >> fonts.protrusions.classes['Mypure'] = { >> vector = 'MyVector', factor = 1 >> } >> fonts.expansions.classes['Myquality'] = { >> stretch = 1, shrink = 1, step = .5, vector = 'default', factor = 1 >> } >> \stopluacode > > something like that yes but, that doesn't work anymore! just tested it with ConTeXt ver: 2009.10.27 16:35 MKIV: no protrusion at all ... 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 ___________________________________________________________________________________