From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/83511 Path: news.gmane.org!not-for-mail From: Alan Bowen Newsgroups: gmane.comp.tex.context Subject: Re: vertical bar spacing in Antykwa-Poltawskiego Date: Tue, 23 Jul 2013 11:24:56 -0400 Message-ID: References: <51EE6D0C.607@wxs.nl> <4FCA5B69-0683-485B-A16E-954586C56AFA@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1904251035==" X-Trace: ger.gmane.org 1374593129 22933 80.91.229.3 (23 Jul 2013 15:25:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Jul 2013 15:25:29 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jul 23 17:25:32 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V1eSx-0004Aj-UO for gctc-ntg-context-518@m.gmane.org; Tue, 23 Jul 2013 17:25:32 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0E337101E3; Tue, 23 Jul 2013 17:25:15 +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 xBuhkNN9k7wm; Tue, 23 Jul 2013 17:25:03 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 91ACB101E6; Tue, 23 Jul 2013 17:25:03 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 76C3C101E3 for ; Tue, 23 Jul 2013 17:25:02 +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 96yq5m9IZbyY for ; Tue, 23 Jul 2013 17:24:42 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 3B7FE101E6 for ; Tue, 23 Jul 2013 17:24:42 +0200 (CEST) Original-Received: from mail-vc0-x22b.google.com (mail-vc0-x22b.google.com [IPv6:2607:f8b0:400c:c03::22b]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r6NFOu4W013547 for ; Tue, 23 Jul 2013 17:24:57 +0200 Original-Received: by mail-vc0-f171.google.com with SMTP id ij15so1312573vcb.16 for ; Tue, 23 Jul 2013 08:24:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=YqJFoP/H0tRMjVZ9w23vrEWluy/MWauSduyGxg333Vc=; b=wZrZy30Kt0+7EI1m0kn2h0ILocyI6tZ/44mJknAuHQpi945y3v9Iklkf1eabY8XCZR mB1QbjZOIcnUWd3swk1YQrYCAbHS2/vkORRBejLIcmJIv9GDr1IoJg1irWwiSWJv6BfU GkzfkWfkRXzUT9VDec+Fe38j805OAasGuRawpmlraVy4JMzwtJecS81ilyaoE1jft0hX FjobWYNBwehT1yRa8jcWdvQ8j+s4quyhK00apCIU/ypNnfxVqaLj2vKHuvSh7Q2X035Q xxqFlqrsMVzoiqCvEVD6dxCe0ZU38TLbRVtRLNpoicl1C+9u7JaBvGhYFZDO0ZLtck41 xWDw== X-Received: by 10.220.69.71 with SMTP id y7mr11569956vci.40.1374593096660; Tue, 23 Jul 2013 08:24:56 -0700 (PDT) Original-Received: by 10.220.217.12 with HTTP; Tue, 23 Jul 2013 08:24:56 -0700 (PDT) In-Reply-To: <4FCA5B69-0683-485B-A16E-954586C56AFA@gmail.com> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2607:f8b0:400c:c03::22b; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03K3PoVA8 - d5e98fc1b495 - 20130723 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:83511 Archived-At: --===============1904251035== Content-Type: multipart/alternative; boundary=047d7b3a84523ce01e04e22f6567 --047d7b3a84523ce01e04e22f6567 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Thanks, Wolfgang. I will start experimenting. Alan On Tue, Jul 23, 2013 at 10:25 AM, Wolfgang Schuster < schuster.wolfgang@gmail.com> wrote: > > Am 23.07.2013 um 15:42 schrieb Alan Bowen : > > > Wolfgang, Hans=97many thanks to you both! > > > > Part of the problem was that i was using \| instead of \textbar. I now > have: > > > > \setupbodyfont[antykwa-poltawskiego] > > > > \def\test > > {\ifnum\lastnodetype=3D\gluenodecode > > \| > > \else > > \textbar > > \fi} > > > > \setcharacterspacing[frenchpunctuation] > > > > \starttext > > left\test middle \test right > > > > \stoptext > > > > which looks good on the page=97\quad\textbar\quad puts too much space > around the bar. > > You can use \letterbar instead of \|. \textbar and \letterbar produce > different output because > \letterbar is taken from the text font which has padding on the left and > right side while \textbar > is taken from the math font which has no padding. > > When you don=92t like the extra space around | I suggest to use another f= ont > which fits your taste > and use \letterbar in both cases (just add some space on the left/right > between word). > > 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 > > _________________________________________________________________________= __________ > --047d7b3a84523ce01e04e22f6567 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable
Thanks, Wolfgang. I will start experimenting.

Alan


On Tue, Jul 23, 2013 at 10:25 AM, Wolfgang Schuster <s= chuster.wolfgang@gmail.com> wrote:

Am 23.07.2013 um 15:42 schrieb Alan Bowen <bowenalan03@gmail.com>:

> Wolfgang, Hans=97many thanks to you both!
>
> Part of the problem was that i was using \| instead of \textbar. I now= have:
>
> \setupbodyfont[antykwa-poltawskiego]
>
> \def\test
> =A0 {\ifnum\lastnodetype=3D\gluenodecode
> =A0 =A0 =A0 \|
> =A0 =A0\else
> =A0 =A0 =A0\textbar
> =A0 =A0\fi}
>
> \setcharacterspacing[frenchpunctuation]
>
> \starttext
> left\test middle \test right
>
> \stoptext
>
> which looks good on the page=97\quad\textbar\quad puts too much space = around the bar.

You can use \letterbar instead of \|. \textbar and \letterbar produce= different output because
\letterbar is taken from the text font which has padding on the left and ri= ght side while \textbar
is taken from the math font which has no padding.

When you don=92t like the extra space around | I suggest to use another fon= t which fits your taste
and use \letterbar in both cases (just add some space on the left/right bet= ween word).

Wolfgang

___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-context@ntg.nl / <= a href=3D"http://www.ntg.nl/mailman/listinfo/ntg-context" target=3D"_blank"= >http://www.ntg.nl/mailman/listinfo/ntg-context
webpage =A0: http://= www.pragma-ade.nl / http://tex.aanhet.net
archive =A0: http://foundry.supelec.fr/projects/contextrev/
wiki =A0 =A0 : http:= //contextgarden.net
___________________________________________________________________________= ________

--047d7b3a84523ce01e04e22f6567-- --===============1904251035== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1904251035==--