Philipp Gesang wrote:
Hi again,
when using Antykwa Toruńska I have problems getting dashes rights.
Example:
-0<----------------------------------------------------------------------------
\usetypescript[antykwa-torunska]
\setupbodyfont[antykwa]
\starttext
asdf -- adsf\par
asdf --- adsf\par
asdf--asdf\par
asdf---asdf\par
\stoptext
-0<----------------------------------------------------------------------------
In output here (MkIV as of yesterday) the double/triple dashes are not
concatenated to en/em dashes. Everything works fine with latin modern,
schola, bonum etc.
What's wrong?
The reason is that Antykwa Torunska has an actual opentype feature
to do the 'TeX ligatures': tlig. Those same ligatures in the other fonts
are faked by lua code. Here is the solution:
\definefontfeature[default] [default]
[mode=node,script=latn,tlig=yes]
\usetypescript[antykwa-torunska]
\setupbodyfont[antykwa]
Best wishes,
Taco
___________________________________________________________________________________
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
___________________________________________________________________________________