When is \usetypescript needed?
As in the topic. For example, \setupbodyfont[antykwa-poltawskiego] works without \usetypescript, but \setupbodyfont[antykwa] not. Why is that so? Regards, -- Marcin Borkowski
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
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
Dnia 2011-07-30, o godz. 23:01:01
Mojca Miklavec
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
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
Dnia 2011-07-31, o godz. 08:32:41
Wolfgang Schuster
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
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
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 -----------------------------------------------------------------
participants (5)
-
Arthur Reutenauer
-
Hans Hagen
-
Marcin Borkowski
-
Mojca Miklavec
-
Wolfgang Schuster