* font troubles
@ 2012-06-22 21:54 Henning Hraban Ramm
2012-06-24 20:03 ` Wolfgang Schuster
0 siblings, 1 reply; 3+ messages in thread
From: Henning Hraban Ramm @ 2012-06-22 21:54 UTC (permalink / raw)
To: mailing ConTeXt users list for
Ahoj,
the following example works on itself, but not in the environment of
my current project:
\starttypescript [handwriting] [devroye]
\definefontsynonym [Devroye] [file:devroye] [features=default]
\stoptypescript
\starttypescript [handwriting] [devroye] [name]
\definefontsynonym [Handwriting] [Devroye] [features=default]
\stoptypescript
\definetypeface [test] [rm] [serif] [schoolbook] [default]
\definetypeface [test] [hw] [handwriting] [devroye][default]
\definefont [TitelFont][Handwriting at 16pt]
\setupbodyfont[test,rm,8.5pt]
\starttext
{\TitelFont Test}
\input knuth
{\hw Don Knuth}
\stoptext
In the project, I get the hw font, but the body font is LM Roman 12pt.
I get TeX Gyre Schola only if I use \setupbodyfont[schoolbook,rm,8.5pt],
but that fails as soon as I define \definetypeface [schoolbook] [hw]
[handwriting] [devroye][default] – in the minimal example that works,
too.
Can you explain?
Greetlings, Hraban
___________________________________________________________________________________
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: font troubles
2012-06-22 21:54 font troubles Henning Hraban Ramm
@ 2012-06-24 20:03 ` Wolfgang Schuster
2012-06-24 20:52 ` Henning Hraban Ramm
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2012-06-24 20:03 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 22.06.2012 um 23:54 schrieb Henning Hraban Ramm:
> Ahoj,
>
> the following example works on itself, but not in the environment of my current project:
>
> \starttypescript [handwriting] [devroye]
> \definefontsynonym [Devroye] [file:devroye] [features=default]
> \stoptypescript
>
> \starttypescript [handwriting] [devroye] [name]
> \definefontsynonym [Handwriting] [Devroye] [features=default]
> \stoptypescript
>
> \definetypeface [test] [rm] [serif] [schoolbook] [default]
> \definetypeface [test] [hw] [handwriting] [devroye][default]
>
> \definefont [TitelFont][Handwriting at 16pt]
>
> \setupbodyfont[test,rm,8.5pt]
>
> \starttext
>
> {\TitelFont Test}
>
> \input knuth
>
> {\hw Don Knuth}
>
> \stoptext
>
>
> In the project, I get the hw font, but the body font is LM Roman 12pt.
>
> I get TeX Gyre Schola only if I use \setupbodyfont[schoolbook,rm,8.5pt],
> but that fails as soon as I define \definetypeface [schoolbook] [hw] [handwriting] [devroye][default] – in the minimal example that works, too.
Add \definebodyfontenvironment[8.5pt] to your environment file.
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: font troubles
2012-06-24 20:03 ` Wolfgang Schuster
@ 2012-06-24 20:52 ` Henning Hraban Ramm
0 siblings, 0 replies; 3+ messages in thread
From: Henning Hraban Ramm @ 2012-06-24 20:52 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 2012-06-24 um 22:03 schrieb Wolfgang Schuster:
>> In the project, I get the hw font, but the body font is LM Roman
>> 12pt.
>>
>> I get TeX Gyre Schola only if I use \setupbodyfont[schoolbook,rm,
>> 8.5pt],
>> but that fails as soon as I define \definetypeface [schoolbook]
>> [hw] [handwriting] [devroye][default] – in the minimal example
>> that works, too.
>
> Add \definebodyfontenvironment[8.5pt] to your environment file.
Yes! Thank you very much - after hours and hours of trying to get it
right, that finally fixed it.
Not that obvious, is it?
Greetlings, Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)
___________________________________________________________________________________
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-06-24 20:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-22 21:54 font troubles Henning Hraban Ramm
2012-06-24 20:03 ` Wolfgang Schuster
2012-06-24 20:52 ` Henning Hraban Ramm
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).