ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \definetype and ligatures
@ 2012-05-31  9:41 Wolfgang Schuster
  2012-05-31 10:38 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2012-05-31  9:41 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

are ligatures etc. supposed to be active in verbatim commands? In the default \type command they are only disabled because \tt has “features=none” in the typescripts but since this isn’t the case for serif and sans you get ligatures.

\definetype[test][style=\rm]

\starttext
\type{fi -- ---}
\test{fi -- ---}
\stoptext

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

* Re: \definetype and ligatures
  2012-05-31  9:41 \definetype and ligatures Wolfgang Schuster
@ 2012-05-31 10:38 ` Hans Hagen
  2012-05-31 10:50   ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2012-05-31 10:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 31-5-2012 11:41, Wolfgang Schuster wrote:
> Hi,
>
> are ligatures etc. supposed to be active in verbatim commands? In the default \type command they are only disabled because \tt has “features=none” in the typescripts but since this isn’t the case for serif and sans you get ligatures.
>
> \definetype[test][style=\rm]
>
> \starttext
> \type{fi -- ---}
> \test{fi -- ---}
> \stoptext

one could disable features with the style key (or maybe at some point we 
can have an extra key for that


-----------------------------------------------------------------
                                           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@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: \definetype and ligatures
  2012-05-31 10:38 ` Hans Hagen
@ 2012-05-31 10:50   ` Wolfgang Schuster
  0 siblings, 0 replies; 3+ messages in thread
From: Wolfgang Schuster @ 2012-05-31 10:50 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users


Am 31.05.2012 um 12:38 schrieb Hans Hagen:

> On 31-5-2012 11:41, Wolfgang Schuster wrote:
>> Hi,
>> 
>> are ligatures etc. supposed to be active in verbatim commands? In the default \type command they are only disabled because \tt has “features=none” in the typescripts but since this isn’t the case for serif and sans you get ligatures.
>> 
>> \definetype[test][style=\rm]
>> 
>> \starttext
>> \type{fi -- ---}
>> \test{fi -- ---}
>> \stoptext
> 
> one could disable features with the style key (or maybe at some point we can have an extra key for that

How about a “features” key which is passed to \setfontfeature?

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:[~2012-05-31 10:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-31  9:41 \definetype and ligatures Wolfgang Schuster
2012-05-31 10:38 ` Hans Hagen
2012-05-31 10:50   ` Wolfgang Schuster

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