ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* When is \usetypescript needed?
@ 2011-07-27 14:03 Marcin Borkowski
  2011-07-27 20:27 ` Wolfgang Schuster
  0 siblings, 1 reply; 9+ messages in thread
From: Marcin Borkowski @ 2011-07-27 14:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users

As in the topic.

For example, \setupbodyfont[antykwa-poltawskiego] works without
\usetypescript, but \setupbodyfont[antykwa] not.  Why is that so?

Regards,

-- 
Marcin Borkowski
___________________________________________________________________________________
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] 9+ messages in thread

* Re: When is \usetypescript needed?
  2011-07-27 14:03 When is \usetypescript needed? Marcin Borkowski
@ 2011-07-27 20:27 ` Wolfgang Schuster
  2011-07-28  8:35   ` Arthur Reutenauer
  2011-07-30 21:01   ` Mojca Miklavec
  0 siblings, 2 replies; 9+ messages in thread
From: Wolfgang Schuster @ 2011-07-27 20:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 27.07.2011 um 16:03 schrieb Marcin Borkowski:

> As in the topic.
> 
> For example, \setupbodyfont[antykwa-poltawskiego] works without
> \usetypescript, but \setupbodyfont[antykwa] not.  Why is that so?

You can omit \setupbodyfont when the typescript and the typeface have
the same name which is the case for “Antykwa Poltawskiego” but for
“Antykwa Torunska” both names are different.

There are also cases where you need \usetypescript when typeface and
typescript have the same name, e.g. for headers/footers etc.

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

* Re: When is \usetypescript needed?
  2011-07-27 20:27 ` Wolfgang Schuster
@ 2011-07-28  8:35   ` Arthur Reutenauer
  2011-07-30 21:01   ` Mojca Miklavec
  1 sibling, 0 replies; 9+ messages in thread
From: Arthur Reutenauer @ 2011-07-28  8:35 UTC (permalink / raw)
  To: Mailing list for ConTeXt users

> You can omit \setupbodyfont when the typescript and the typeface have
> the same name which is the case for “Antykwa Poltawskiego” but for
> “Antykwa Torunska” both names are different.

  You of course mean \usetypescript, not \setupbodyfont :-)

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

* Re: When is \usetypescript needed?
  2011-07-27 20:27 ` Wolfgang Schuster
  2011-07-28  8:35   ` Arthur Reutenauer
@ 2011-07-30 21:01   ` Mojca Miklavec
  2011-07-31  0:44     ` Marcin Borkowski
  2011-07-31 10:45     ` Hans Hagen
  1 sibling, 2 replies; 9+ messages in thread
From: Mojca Miklavec @ 2011-07-30 21:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Wed, Jul 27, 2011 at 22:27, Wolfgang Schuster wrote:
>
> Am 27.07.2011 um 16:03 schrieb Marcin Borkowski:
>
>> As in the topic.
>>
>> For example, \setupbodyfont[antykwa-poltawskiego] works without
>> \usetypescript, but \setupbodyfont[antykwa] not.  Why is that so?
>
> You can omit \setupbodyfont when the typescript and the typeface have
> the same name which is the case for “Antykwa Poltawskiego” but for
> “Antykwa Torunska” both names are different.

Isn't Antyqwa Torunska just about the only font with that propertly?

Hans - would it be possible to make a synonym, so that
    \setupbodyfont[antyqwa-torunska]
would work out of the box, like it does for all other fonts?

Thank you,
   Mojca
___________________________________________________________________________________
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] 9+ messages in thread

* Re: When is \usetypescript needed?
  2011-07-30 21:01   ` Mojca Miklavec
@ 2011-07-31  0:44     ` Marcin Borkowski
  2011-07-31  6:32       ` Wolfgang Schuster
  2011-07-31 10:45     ` Hans Hagen
  1 sibling, 1 reply; 9+ messages in thread
From: Marcin Borkowski @ 2011-07-31  0:44 UTC (permalink / raw)
  To: ntg-context

Dnia 2011-07-30, o godz. 23:01:01
Mojca Miklavec <mojca.miklavec.lists@gmail.com> napisał(a):

> On Wed, Jul 27, 2011 at 22:27, Wolfgang Schuster wrote:
> >
> > Am 27.07.2011 um 16:03 schrieb Marcin Borkowski:
> >
> >> As in the topic.
> >>
> >> For example, \setupbodyfont[antykwa-poltawskiego] works without
> >> \usetypescript, but \setupbodyfont[antykwa] not.  Why is that so?
> >
> > You can omit \setupbodyfont when the typescript and the typeface
> > have the same name which is the case for “Antykwa Poltawskiego” but
> > for “Antykwa Torunska” both names are different.
> 
> Isn't Antyqwa Torunska just about the only font with that propertly?
> 
> Hans - would it be possible to make a synonym, so that
>     \setupbodyfont[antyqwa-torunska]
> would work out of the box, like it does for all other fonts?

I'm all for it!!!

Just one minor thing: it's AntyKwa, not AntyQwa:).

And I didn't notice anything wrong with headers when not using
\usetypescript, by the way.

> Thank you,
>    Mojca

TIA

-- 
Marcin Borkowski
___________________________________________________________________________________
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] 9+ messages in thread

* Re: When is \usetypescript needed?
  2011-07-31  0:44     ` Marcin Borkowski
@ 2011-07-31  6:32       ` Wolfgang Schuster
  2011-07-31  7:34         ` Marcin Borkowski
  0 siblings, 1 reply; 9+ messages in thread
From: Wolfgang Schuster @ 2011-07-31  6:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 31.07.2011 um 02:44 schrieb Marcin Borkowski:

> And I didn't notice anything wrong with headers when not using
> \usetypescript, by the way.


Try this, uncomment \usetypescript to show the header.

%\usetypescript[helvetica]

\setupheader[style={\switchtobodyfont[helvetica]}]

\setupheadertexts[pagenumber]

\starttext
\input knuth
\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] 9+ messages in thread

* Re: When is \usetypescript needed?
  2011-07-31  6:32       ` Wolfgang Schuster
@ 2011-07-31  7:34         ` Marcin Borkowski
  2011-07-31  7:43           ` Wolfgang Schuster
  0 siblings, 1 reply; 9+ messages in thread
From: Marcin Borkowski @ 2011-07-31  7:34 UTC (permalink / raw)
  To: ntg-context

Dnia 2011-07-31, o godz. 08:32:41
Wolfgang Schuster <schuster.wolfgang@googlemail.com> napisał(a):

> 
> Am 31.07.2011 um 02:44 schrieb Marcin Borkowski:
> 
> > And I didn't notice anything wrong with headers when not using
> > \usetypescript, by the way.
> 
> 
> Try this, uncomment \usetypescript to show the header.
> 
> %\usetypescript[helvetica]
> 
> \setupheader[style={\switchtobodyfont[helvetica]}]
> 
> \setupheadertexts[pagenumber]
> 
> \starttext
> \input knuth
> \stoptext

OK, but isn't this because of \switchtobodyfont and not
\setupbodyfont?

Anyway, thanks for this example - though I have no idea why is that
working this way.

-- 
Marcin Borkowski
___________________________________________________________________________________
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] 9+ messages in thread

* Re: When is \usetypescript needed?
  2011-07-31  7:34         ` Marcin Borkowski
@ 2011-07-31  7:43           ` Wolfgang Schuster
  0 siblings, 0 replies; 9+ messages in thread
From: Wolfgang Schuster @ 2011-07-31  7:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 31.07.2011 um 09:34 schrieb Marcin Borkowski:

> OK, but isn't this because of \switchtobodyfont and not
> \setupbodyfont?

No.

> Anyway, thanks for this example - though I have no idea why is that
> working this way.

It happens only when you try to load a new typeface a \hbox or a \vbox
but there is no problem when you load one for the whole document.

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

* Re: When is \usetypescript needed?
  2011-07-30 21:01   ` Mojca Miklavec
  2011-07-31  0:44     ` Marcin Borkowski
@ 2011-07-31 10:45     ` Hans Hagen
  1 sibling, 0 replies; 9+ messages in thread
From: Hans Hagen @ 2011-07-31 10:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Mojca Miklavec

On 30-7-2011 11:01, Mojca Miklavec wrote:
> On Wed, Jul 27, 2011 at 22:27, Wolfgang Schuster wrote:
>>
>> Am 27.07.2011 um 16:03 schrieb Marcin Borkowski:
>>
>>> As in the topic.
>>>
>>> For example, \setupbodyfont[antykwa-poltawskiego] works without
>>> \usetypescript, but \setupbodyfont[antykwa] not.  Why is that so?
>>
>> You can omit \setupbodyfont when the typescript and the typeface have
>> the same name which is the case for “Antykwa Poltawskiego” but for
>> “Antykwa Torunska” both names are different.
>
> Isn't Antyqwa Torunska just about the only font with that propertly?
>
> Hans - would it be possible to make a synonym, so that
>      \setupbodyfont[antyqwa-torunska]
> would work out of the box, like it does for all other fonts?

It's more the reverse, as the antikwas have all those weights, so 
'antikwa' can be as antykwa-torunska (normal weight)

I've changed the definitions (but not tested it).

Hans

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

end of thread, other threads:[~2011-07-31 10:45 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-27 14:03 When is \usetypescript needed? Marcin Borkowski
2011-07-27 20:27 ` Wolfgang Schuster
2011-07-28  8:35   ` Arthur Reutenauer
2011-07-30 21:01   ` Mojca Miklavec
2011-07-31  0:44     ` Marcin Borkowski
2011-07-31  6:32       ` Wolfgang Schuster
2011-07-31  7:34         ` Marcin Borkowski
2011-07-31  7:43           ` Wolfgang Schuster
2011-07-31 10:45     ` 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).