ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* typescripts
@ 2010-11-10 18:57 Herbert Voss
  2010-11-10 20:28 ` typescripts Mojca Miklavec
  0 siblings, 1 reply; 8+ messages in thread
From: Herbert Voss @ 2010-11-10 18:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users

I played with typescripts and have a problem.

I can use the beramono font in this way:

\definefont [Bera] [fvmr8a at 9.5pt]

\starttext
\Bera
\input knuth
\stoptext

but how would I insert it into a typescript of libertine,
where the mono font should used from bera?
This did not work:

...
\starttypescript[libertine]
    \definetypeface[libertine][rm][serif][libertine][default]
    \definetypeface[libertine][ss][sans] [libertine][default]
    \definetypeface[libertine][tt][mono] [file:fvmr8a.pfb]
[default][rscale=0.85]
    \definetypeface[libertine][mm][math] [modern]   [default]
\stoptypescript
...

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

* Re: typescripts
  2010-11-10 18:57 typescripts Herbert Voss
@ 2010-11-10 20:28 ` Mojca Miklavec
  2010-11-10 21:14   ` typescripts Herbert Voss
  2010-11-11  5:20   ` typescripts Wolfgang Schuster
  0 siblings, 2 replies; 8+ messages in thread
From: Mojca Miklavec @ 2010-11-10 20:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users

2010/11/10 Herbert Voss <Herbert.Voss@fu-berlin.de>:
>
> I can use the beramono font in this way:
>
> \definefont [Bera] [fvmr8a at 9.5pt]
>
> \starttext
> \Bera
> \input knuth
> \stoptext
>
> but how would I insert it into a typescript of libertine,
> where the mono font should used from bera?

You need something like this:

\starttypescript [mono] [bera] [name]
    \definefontsynonym [Mono] [file:fvmr8a.pfb]
\stoptypescript

\starttypescript[libertine]
   \definetypeface[libertine][rm][serif][libertine][default]
   \definetypeface[libertine][ss][sans] [libertine][default]
   \definetypeface[libertine][tt][mono] [bera]     [default][rscale=0.85]
   \definetypeface[libertine][mm][math] [modern]   [default]
\stoptypescript

Instead of the one definition above you can also define the following
if you want to access the font by name "Bera":

\starttypescript [mono] [bera]
    \definefontsynonym [Bera] [file:fvmr8a.pfb]
\stoptypescript

\starttypescript [mono] [bera] [name]
    \definefontsynonym [Mono] [Bera]
\stoptypescript


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

* Re: typescripts
  2010-11-10 20:28 ` typescripts Mojca Miklavec
@ 2010-11-10 21:14   ` Herbert Voss
  2010-11-11  5:20   ` typescripts Wolfgang Schuster
  1 sibling, 0 replies; 8+ messages in thread
From: Herbert Voss @ 2010-11-10 21:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Am 10.11.2010 21:28, schrieb Mojca Miklavec:

> You need something like this:
> 
> \starttypescript [mono] [bera] [name]
>     \definefontsynonym [Mono] [file:fvmr8a.pfb]
> \stoptypescript

thanks! It worked only in this way:

\starttypescript [mono] [bera] [name]
    \definefontsynonym [Mono] [fvmr8a]
\stoptypescript

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

* Re: typescripts
  2010-11-10 20:28 ` typescripts Mojca Miklavec
  2010-11-10 21:14   ` typescripts Herbert Voss
@ 2010-11-11  5:20   ` Wolfgang Schuster
  2010-11-11  9:48     ` [***SPAM***] typescripts Arthur Reutenauer
  2010-11-11 11:03     ` typescripts Mojca Miklavec
  1 sibling, 2 replies; 8+ messages in thread
From: Wolfgang Schuster @ 2010-11-11  5:20 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 10.11.2010 um 21:28 schrieb Mojca Miklavec:

> You need something like this:
> 
> \starttypescript [mono] [bera] [name]
>    \definefontsynonym [Mono] [file:fvmr8a.pfb]

\definefontsynonym [Mono] [file:fvmr8a.afm]

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

* [***SPAM***] Re:  typescripts
  2010-11-11  5:20   ` typescripts Wolfgang Schuster
@ 2010-11-11  9:48     ` Arthur Reutenauer
  2010-11-11 11:03     ` typescripts Mojca Miklavec
  1 sibling, 0 replies; 8+ messages in thread
From: Arthur Reutenauer @ 2010-11-11  9:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users

>>   \definefontsynonym [Mono] [file:fvmr8a.pfb]
> 
> \definefontsynonym [Mono] [file:fvmr8a.afm]

  For the same reason as Hans mentions in reply to Herbert, I guess.

    Arthur

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

* Re: typescripts
  2010-11-11  5:20   ` typescripts Wolfgang Schuster
  2010-11-11  9:48     ` [***SPAM***] typescripts Arthur Reutenauer
@ 2010-11-11 11:03     ` Mojca Miklavec
  2010-11-11 11:27       ` typescripts Hans Hagen
  1 sibling, 1 reply; 8+ messages in thread
From: Mojca Miklavec @ 2010-11-11 11:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Thu, Nov 11, 2010 at 06:20, Wolfgang Schuster wrote:
>
> Am 10.11.2010 um 21:28 schrieb Mojca Miklavec:
>
>> You need something like this:
>>
>> \starttypescript [mono] [bera] [name]
>>    \definefontsynonym [Mono] [file:fvmr8a.pfb]
>
> \definefontsynonym [Mono] [file:fvmr8a.afm]

The "file:*.pfb" didn't sound right to me either, but I misinterpreted
from not-precise-enough reading that pfb worked. Thanks for correcting
me.

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

* Re: typescripts
  2010-11-11 11:03     ` typescripts Mojca Miklavec
@ 2010-11-11 11:27       ` Hans Hagen
  2010-11-11 14:15         ` typescripts Mojca Miklavec
  0 siblings, 1 reply; 8+ messages in thread
From: Hans Hagen @ 2010-11-11 11:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Mojca Miklavec

On 11-11-2010 12:03, Mojca Miklavec wrote:
> On Thu, Nov 11, 2010 at 06:20, Wolfgang Schuster wrote:
>>
>> Am 10.11.2010 um 21:28 schrieb Mojca Miklavec:
>>
>>> You need something like this:
>>>
>>> \starttypescript [mono] [bera] [name]
>>>     \definefontsynonym [Mono] [file:fvmr8a.pfb]
>>
>> \definefontsynonym [Mono] [file:fvmr8a.afm]
>
> The "file:*.pfb" didn't sound right to me either, but I misinterpreted
> from not-precise-enough reading that pfb worked. Thanks for correcting
> me.

i can support that suffix too if needed

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

* Re: typescripts
  2010-11-11 11:27       ` typescripts Hans Hagen
@ 2010-11-11 14:15         ` Mojca Miklavec
  0 siblings, 0 replies; 8+ messages in thread
From: Mojca Miklavec @ 2010-11-11 14:15 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users

>> The "file:*.pfb" didn't sound right to me either, but I misinterpreted
>> from not-precise-enough reading that pfb worked. Thanks for correcting
>> me.
>
> i can support that suffix too if needed

You have to find both afm and pfb with the same name. So maybe it does
make sense to also allow pfb. (pfb might be the more intuitive of the
two.)

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

end of thread, other threads:[~2010-11-11 14:15 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-10 18:57 typescripts Herbert Voss
2010-11-10 20:28 ` typescripts Mojca Miklavec
2010-11-10 21:14   ` typescripts Herbert Voss
2010-11-11  5:20   ` typescripts Wolfgang Schuster
2010-11-11  9:48     ` [***SPAM***] typescripts Arthur Reutenauer
2010-11-11 11:03     ` typescripts Mojca Miklavec
2010-11-11 11:27       ` typescripts Hans Hagen
2010-11-11 14:15         ` typescripts Mojca Miklavec

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