ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* issue with typeface definition order
@ 2016-02-10 12:06 Pablo Rodriguez
  2016-02-10 12:13 ` Wolfgang Schuster
  2016-02-10 12:48 ` Hans Hagen
  0 siblings, 2 replies; 4+ messages in thread
From: Pablo Rodriguez @ 2016-02-10 12:06 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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?

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: issue with typeface definition order
  2016-02-10 12:06 issue with typeface definition order Pablo Rodriguez
@ 2016-02-10 12:13 ` Wolfgang Schuster
  2016-02-10 14:39   ` Pablo Rodriguez
  2016-02-10 12:48 ` Hans Hagen
  1 sibling, 1 reply; 4+ messages in thread
From: Wolfgang Schuster @ 2016-02-10 12:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 657 bytes --]

> Pablo Rodriguez <mailto:oinos@gmx.es>
> 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

[-- Attachment #1.2: Type: text/html, Size: 1674 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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] 4+ messages in thread

* Re: issue with typeface definition order
  2016-02-10 12:06 issue with typeface definition order Pablo Rodriguez
  2016-02-10 12:13 ` Wolfgang Schuster
@ 2016-02-10 12:48 ` Hans Hagen
  1 sibling, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2016-02-10 12:48 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: issue with typeface definition order
  2016-02-10 12:13 ` Wolfgang Schuster
@ 2016-02-10 14:39   ` Pablo Rodriguez
  0 siblings, 0 replies; 4+ messages in thread
From: Pablo Rodriguez @ 2016-02-10 14:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-02-10 14:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-10 12:06 issue with typeface definition order Pablo Rodriguez
2016-02-10 12:13 ` Wolfgang Schuster
2016-02-10 14:39   ` Pablo Rodriguez
2016-02-10 12:48 ` Hans Hagen

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