Thank you for the detailed explanation.

best regards
Jan

Dne Thu, 31 May 2012 12:19:38 +0200 Wolfgang Schuster <schuster.wolfg...@googlemail.com> napsal(a):


Am 31.05.2012 um 11:46 schrieb Jan Pohanka:

<výřez>

Great, thank you. Anyway what is the purpose of the \setff macro?

In MkIV you have tell which features of a font (e.g. ligatures or kerning) have to enabled, this is done in two steps.

1. You define a list with the features you want, e.g.

     \definefontfeature[myfeatures][liga=yes,kern=yes]

   which activates ligatures and kerning.

2. You apply this list to a font, normally this is done in the typescripts, e.g.

     
\definetypeface[mainface][rm][serif][palatino][default][features=myfeatures]


Sometimes it is necessary to add additional features or to switch a different feature list *in* the document. To do this context provides the commands \addfontfeature and \setfontfeature which can be also called in the two shorter commands \addff and \setff. In the \definehighlight command I enabled the predefined “none” list where ligatures and kerning is disabled to prevent that -- results in –.

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
___________________________________________________________________________________


___________________________________________________________________________________
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 via email to