ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: ntg-context@ntg.nl
Subject: Re: vertical bar spacing in Antykwa-Poltawskiego
Date: Tue, 23 Jul 2013 13:46:20 +0200	[thread overview]
Message-ID: <51EE6D0C.607@wxs.nl> (raw)
In-Reply-To: <A33F5EBF-9F26-4CCF-8F6B-F13F9B952DCA@gmail.com>

On 7/23/2013 1:32 PM, Wolfgang Schuster wrote:
>
> Am 23.07.2013 um 13:20 schrieb Alan Bowen <bowenalan03@gmail.com>:
>
>> I am using Antykwa-Poltawskiego to set a French text that includes ancient Greek.
>>
>> In the Greek text, there is a vertical bar (to mark the end of a column). The custom is to set the spacing about the bar so that
>> (a) when the bar is inside a word, the bar appears as a normal character
>> (b) when the bar is between words, the bar has an emspace on either side.
>
> \setupbodyfont[antykwa-poltawskiego]
>
> \def\test
>    {\ifnum\lastnodetype=11

\ifnum\lastnodetype=\gluenodecode

>       \quad\textbar\quad
>     \else
>       \textbar
>     \fi}
>
> \setcharacterspacing[frenchpunctuation]
>
> \starttext
> left\test middle \test right
> \stoptext
>
>> The problem is that Antykwa-Poltawskiego defines the vertical bar with spaces on either side.
>
> Do you have a example for this?
>
>> Is there a way to adjust this so that the vertical bar appears as it should in Greek text—and to do this without clobbering the French punctuation or getting weird effects when the bar is at the end of a line? For instance, is there a way to combine rules for character spacing so that the second overrules the first only when they are in conflict?
>
> Make a example for the problem with french.
>
> 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
> ___________________________________________________________________________________
>


-- 

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________


  reply	other threads:[~2013-07-23 11:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-23 11:20 Alan Bowen
2013-07-23 11:32 ` Wolfgang Schuster
2013-07-23 11:46   ` Hans Hagen [this message]
2013-07-23 13:42     ` Alan Bowen
2013-07-23 14:25       ` Wolfgang Schuster
2013-07-23 15:24         ` Alan Bowen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51EE6D0C.607@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).