Re: [NTG-context] issue with typeface definition order

2016-02-10 Thread Pablo Rodriguez
On 02/10/2016 01:13 PM, Wolfgang Schuster wrote:
>> Pablo Rodriguez 10. Februar 2016 um 13:06
>> [...]
>> Using latest beta (2016.02.08 15:35), if sans is defined before serif,
>> the default family is sans (no serif used). It only works as intended if
>> serif is defined before sans.
>>
>> Is this the intended behavior?
> Yes, the first style is used as default when you enable the typeface.

Many thanks for your reply. Wolfgang.

Good to know. I suspected that before, but I didn’t know for sure before.

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk
___
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
___

Re: [NTG-context] issue with typeface definition order

2016-02-10 Thread Wolfgang Schuster

Pablo Rodriguez 
10. Februar 2016 um 13:06
Dear list,

I have the following code:

\definefontfamily[mainface][ss][TeX Gyre Heros]
\definefontfamily[mainface][rm][TeX Gyre Termes]
\setupbodyfont[mainface]
\starttext
\startTEXpage[offset=1em]
this is a simple sentence

\ss this is a simple sentence
\stopTEXpage

Using latest beta (2016.02.08 15:35), if sans is defined before serif,
the default family is sans (no serif used). It only works as intended if
serif is defined before sans.

Is this the intended behavior?

Yes, the first style is used as default when you enable the typeface.

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
___

Re: [NTG-context] issue with typeface definition order

2016-02-10 Thread Hans Hagen

On 2/10/2016 1:06 PM, Pablo Rodriguez wrote:

Dear list,

I have the following code:

 \definefontfamily[mainface][ss][TeX Gyre Heros]
 \definefontfamily[mainface][rm][TeX Gyre Termes]
 \setupbodyfont[mainface]
 \starttext
 \startTEXpage[offset=1em]
 this is a simple sentence

 \ss this is a simple sentence
 \stopTEXpage

Using latest beta (2016.02.08 15:35), if sans is defined before serif,
the default family is sans (no serif used). It only works as intended if
serif is defined before sans.

Is this the intended behavior?


yes


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | 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
___