Re: [NTG-context] enable kerning with discretionary hyphen

2014-01-22 Thread Pablo Rodriguez
On 01/21/2014 10:01 PM, Wolfgang Schuster wrote: You can use the \fontalternative command to check for the current alternative (upright, italic, bold etc.) of the font. \def\Test {\processaction [\fontalternative] [ tf=Upright, it=Italic, sl=Slanted,

Re: [NTG-context] enable kerning with discretionary hyphen

2014-01-21 Thread Pablo Rodriguez
On 01/19/2014 11:43 PM, Hans Hagen wrote: On 1/19/2014 6:51 PM, Pablo Rodriguez wrote: [...] Even in the case it could work, I would like to know how I could define commands (\ConTeXt or \TeX) only referred to individual fonts. just use \def\ConTeXt{Con\-TeXt} then or

Re: [NTG-context] enable kerning with discretionary hyphen

2014-01-21 Thread Wolfgang Schuster
You can use the \fontalternative command to check for the current alternative (upright, italic, bold etc.) of the font. \def\Test {\processaction [\fontalternative] [ tf=Upright, it=Italic, sl=Slanted, bf=Bold, bi=Bolditalic,

[NTG-context] enable kerning with discretionary hyphen

2014-01-19 Thread Pablo Rodriguez
Dear list, as I have asked in a previous message to the list, I wanted to be able to hyphenate \ConTeXt. Aditya kindly suggested the use of \discretionary, but this has an unintended collateral effect: kerning is disabled in the word. I can specify kerning with \discretionary, such as in:

Re: [NTG-context] enable kerning with discretionary hyphen

2014-01-19 Thread Hans Hagen
On 1/19/2014 6:51 PM, Pablo Rodriguez wrote: Dear list, as I have asked in a previous message to the list, I wanted to be able to hyphenate \ConTeXt. Aditya kindly suggested the use of \discretionary, but this has an unintended collateral effect: kerning is disabled in the word. I can specify