ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* typewriter style with Constantia
@ 2014-03-27 15:21 Peter Münster
  2014-03-27 15:27 ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Peter Münster @ 2014-03-27 15:21 UTC (permalink / raw)
  To: ConTeXt users

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

* Re: typewriter style with Constantia
  2014-03-27 15:21 typewriter style with Constantia Peter Münster
@ 2014-03-27 15:27 ` Wolfgang Schuster
  2014-03-28  6:53   ` Aditya Mahajan
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2014-03-27 15:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 27.03.2014 um 16:21 schrieb Peter Münster <pmlists@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.

\definefontfamily[constantia][serif][Constantia]
\definefontfamily[constantia][mono] [Consolas]
\definefontfamily[constantia][math] [TeX Gyre Pagella Math]

\setupbodyfont[constantia]
\starttext
normal and \type{mono}
\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] 5+ messages in thread

* Re: typewriter style with Constantia
  2014-03-27 15:27 ` Wolfgang Schuster
@ 2014-03-28  6:53   ` Aditya Mahajan
  2014-03-28 10:49     ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Aditya Mahajan @ 2014-03-28  6:53 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: TEXT/PLAIN, Size: 810 bytes --]

On Thu, 27 Mar 2014, Wolfgang Schuster wrote:

>
> Am 27.03.2014 um 16:21 schrieb Peter Münster <pmlists@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.

Aditya

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

* Re: typewriter style with Constantia
  2014-03-28  6:53   ` Aditya Mahajan
@ 2014-03-28 10:49     ` Hans Hagen
  2014-04-03  7:09       ` Keith J. Schultz
  0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2014-03-28 10:49 UTC (permalink / raw)
  To: ntg-context

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@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
-----------------------------------------------------------------
___________________________________________________________________________________
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] 5+ messages in thread

* Re: typewriter style with Constantia
  2014-03-28 10:49     ` Hans Hagen
@ 2014-04-03  7:09       ` Keith J. Schultz
  0 siblings, 0 replies; 5+ messages in thread
From: Keith J. Schultz @ 2014-04-03  7:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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 <pragma@wxs.nl>:

> 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@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

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

end of thread, other threads:[~2014-04-03  7:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-27 15:21 typewriter style with Constantia Peter Münster
2014-03-27 15:27 ` Wolfgang Schuster
2014-03-28  6:53   ` Aditya Mahajan
2014-03-28 10:49     ` Hans Hagen
2014-04-03  7:09       ` Keith J. Schultz

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).