[NTG-context] Antykwa Toruńska and dashes

Philipp Gesang pgesang at ix.urz.uni-heidelberg.de
Fri Mar 12 08:49:28 CET 2010


On 2010-03-12 <08:24:26>, Taco Hoekwater wrote:
> 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]

Seems I haven't got accustomed to The Progress yet; thanks!

Philipp


> 
> Best wishes,
> Taco
> 
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context at 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
> ___________________________________________________________________________________

-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20100312/eeff1d1f/attachment.pgp>


More information about the ntg-context mailing list