Hi, With the following setup and ConTeXt version 2014.02.14 I got typewriter style: --8<---------------cut here---------------start------------->8--- \definefontfamily[constantia][sans][Constantia] \setupbodyfont[constantia] \starttext normal and \type{mono} \stoptext --8<---------------cut here---------------end--------------->8--- But not with version 2014.03.25. What should I do to get typewriter style please? TIA for any help, -- Peter
Am 27.03.2014 um 16:21 schrieb Peter Münster
Hi,
With the following setup and ConTeXt version 2014.02.14 I got typewriter style:
--8<---------------cut here---------------start------------->8--- \definefontfamily[constantia][sans][Constantia] \setupbodyfont[constantia] \starttext normal and \type{mono} \stoptext --8<---------------cut here---------------end--------------->8---
But not with version 2014.03.25.
What should I do to get typewriter style please?
You have to specify a font for monospaced text and it’s better to set also a font for math. \definefontfamily[constantia][serif][Constantia] \definefontfamily[constantia][mono] [Consolas] \definefontfamily[constantia][math] [TeX Gyre Pagella Math] \setupbodyfont[constantia] \starttext normal and \type{mono} \stoptext Wolfgang
On Thu, 27 Mar 2014, Wolfgang Schuster wrote:
Am 27.03.2014 um 16:21 schrieb Peter Münster
: Hi,
With the following setup and ConTeXt version 2014.02.14 I got typewriter style:
--8<---------------cut here---------------start------------->8--- \definefontfamily[constantia][sans][Constantia] \setupbodyfont[constantia] \starttext normal and \type{mono} \stoptext --8<---------------cut here---------------end--------------->8---
But not with version 2014.03.25.
What should I do to get typewriter style please?
You have to specify a font for monospaced text and it’s better to set also a font for math.
It would be nicer if the unset styles (in particular math) would fall back to the defaults. Aditya
On 3/28/2014 7:53 AM, Aditya Mahajan wrote:
On Thu, 27 Mar 2014, Wolfgang Schuster wrote:
Am 27.03.2014 um 16:21 schrieb Peter Münster
: Hi,
With the following setup and ConTeXt version 2014.02.14 I got typewriter style:
--8<---------------cut here---------------start------------->8--- \definefontfamily[constantia][sans][Constantia] \setupbodyfont[constantia] \starttext normal and \type{mono} \stoptext --8<---------------cut here---------------end--------------->8---
But not with version 2014.03.25.
What should I do to get typewriter style please?
You have to specify a font for monospaced text and it’s better to set also a font for math.
It would be nicer if the unset styles (in particular math) would fall back to the defaults.
the problem is that font loading is delayed so it's not known at the right moment .. maybe i figure out something some day 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 -----------------------------------------------------------------
Hi Hans,
I do not know the complexity of the under the hood working of
font loading, but how about a a command to force the loading of
fonts that are not loaded, yet:
\forceloadingoffonts
or
\updatefontsnow
or the like!
would be a nice feature for such cases!
regards
Keith.
Am 28.03.2014 um 11:49 schrieb Hans Hagen
On 3/28/2014 7:53 AM, Aditya Mahajan wrote:
On Thu, 27 Mar 2014, Wolfgang Schuster wrote:
Am 27.03.2014 um 16:21 schrieb Peter Münster
: Hi,
With the following setup and ConTeXt version 2014.02.14 I got typewriter style:
--8<---------------cut here---------------start------------->8--- \definefontfamily[constantia][sans][Constantia] \setupbodyfont[constantia] \starttext normal and \type{mono} \stoptext --8<---------------cut here---------------end--------------->8---
But not with version 2014.03.25.
What should I do to get typewriter style please?
You have to specify a font for monospaced text and it’s better to set also a font for math.
It would be nicer if the unset styles (in particular math) would fall back to the defaults.
the problem is that font loading is delayed so it's not known at the right moment .. maybe i figure out something some day
Hans
participants (5)
-
Aditya Mahajan
-
Hans Hagen
-
Keith J. Schultz
-
Peter Münster
-
Wolfgang Schuster