[NTG-context] Removing a single ligature and using swash alternates

Hans Hagen pragma at wxs.nl
Mon May 4 19:01:45 CEST 2015


On 5/4/2015 3:05 PM, Manuel Blanco wrote:
> The problem is that it's a 500 page document, I would like a general
> way to deactivate the Th ligature. If there's no “semiautomated
> system” (like feature files) to remove ligatures, I guess it could be
> possible to do a general replacement in the document, altough I don't
> remember the command, I think I might have seen something like
>
>      \definereplacement [Th] [\noligature{Th}]
>
> that would, in a hackish way, deactivate it. What's the exact
> interface in that case?
>
> No idea about the Swashes? I thought that this would work
>
>      \definefontfeature [swash] [swsh=yes]
>      \setmainfont [Minion Pro]
>        [features=swash,
>         expansion=quality,
>         protrusion=quality]
>
> but it doesn't.


\definefontfeature [swash][default][swsh=yes]


> \noligature{Th}anks! :)
>
>
> 2015-05-04 11:00 GMT+02:00 Hans Hagen <pragma at wxs.nl>:
>>
>> On 5/1/2015 4:18 PM, Manuel Blanco wrote:
>>>
>>> Hello,
>>>
>>> I'm using Minion Pro, and I would like to remove the Th ligature (but
>>> only that one).
>>>
>>> Also, I'm trying to define a \swash command that uses swash from Minion
>>> Pro Italic. Any help?
>>>
>>>       \usemodule [simplefonts] [size=11pt]
>>>       \setmainfont [Minion Pro]
>>>         [expansion=quality,
>>>          protrusion=quality]
>>>       \setupalign [hz,hanging]
>>
>>
>> \noligature{Th}anks
>>
>>> Thanks!
>>>
>>>
>>> ___________________________________________________________________________________
>>> 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
>>> ___________________________________________________________________________________
>>>
>>
>>
>> --
>>
>> -----------------------------------------------------------------
>>                                            Hans Hagen | PRAGMA ADE
>>                Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>>      tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
>>                                               | www.pragma-pod.nl
>> -----------------------------------------------------------------
>> ___________________________________________________________________________________
>> 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
>> ___________________________________________________________________________________
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
>


-- 

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list