ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Advanced ligatures
@ 2014-04-29 14:21 Jan Tosovsky
  0 siblings, 0 replies; 3+ messages in thread
From: Jan Tosovsky @ 2014-04-29 14:21 UTC (permalink / raw)
  To: 'mailing list for ConTeXt users'

Dear All,

is there any way to switch the hlig or dlig features on? The corresponding
glyphs are present in the font, but somehow ignored...

\definefontfamily[palation][rm][Palatino Linotype]
\definefontfeature[f:historical_ligatures][hlig=yes]
\definefontfeature[f:discretionary_ligatures][dlig=yes]

% custom shortcuts
\define[1]\hlig{\feature[+][f:historical_ligatures]#1}
\define[1]\dlig{\feature[+][f:discretionary_ligatures]#1}

\starttext
\setupbodyfont[palatino]
ff fi fl\par
{\hlig {ct sp st}}\par
{\dlig {Qu}}\par
\stoptext

Thanks, Jan

Context 2014.04.17. 
LuaTeX 0.79.1

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Advanced ligatures
  2014-04-29 14:50 ` Wolfgang Schuster
@ 2014-04-29 21:14   ` Jan Tosovsky
  0 siblings, 0 replies; 3+ messages in thread
From: Jan Tosovsky @ 2014-04-29 21:14 UTC (permalink / raw)
  To: 'mailing list for ConTeXt users'

On 2014-04-29 Wolfgang Schuster wrote: 
> Am 29.04.2014 um 16:21 schrieb Jan Tosovsky <j.tosovsky@email.cz>:
> 
> > is there any way to switch the hlig or dlig features on? The
> > corresponding glyphs are present in the font, but somehow ignored.
> 
> The name of the typeface you defined here
> 
> > \definefontfamily[palation][rm][Palatino Linotype]
> 
> isn't the same which you use here
> 
> > \setupbodyfont[palatino]
> 

What a stupid mistake! Now it works as expected.

Thanks a lot!

Jan


___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Advanced ligatures
       [not found] <535fb597.857f0e0a.25cc.fffffe1cSMTPIN_ADDED_BROKEN@mx.google.com>
@ 2014-04-29 14:50 ` Wolfgang Schuster
  2014-04-29 21:14   ` Jan Tosovsky
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2014-04-29 14:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 29.04.2014 um 16:21 schrieb Jan Tosovsky <j.tosovsky@email.cz>:

> Dear All,
> 
> is there any way to switch the hlig or dlig features on? The corresponding
> glyphs are present in the font, but somehow ignored…

The name of the typeface you defined here

> \definefontfamily[palation][rm][Palatino Linotype]

isn’t the same which you use here

> \setupbodyfont[palatino]

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-04-29 21:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-29 14:21 Advanced ligatures Jan Tosovsky
     [not found] <535fb597.857f0e0a.25cc.fffffe1cSMTPIN_ADDED_BROKEN@mx.google.com>
2014-04-29 14:50 ` Wolfgang Schuster
2014-04-29 21:14   ` Jan Tosovsky

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).