[NTG-context] typewriter style with Constantia

Hans Hagen pragma at wxs.nl
Fri Mar 28 11:49:10 CET 2014


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 <pmlists at free.fr>:
>>
>>> 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
-----------------------------------------------------------------


More information about the ntg-context mailing list