[NTG-context] vertical bar spacing in Antykwa-Poltawskiego

Wolfgang Schuster schuster.wolfgang at gmail.com
Tue Jul 23 13:32:18 CEST 2013


Am 23.07.2013 um 13:20 schrieb Alan Bowen <bowenalan03 at 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
     \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



More information about the ntg-context mailing list