ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mojca Miklavec <mojca.miklavec.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: typescripts
Date: Wed, 10 Nov 2010 21:28:07 +0100	[thread overview]
Message-ID: <AANLkTim93Y4A2Cu6qxEAxCT3KvOQ7KpEfEkZfkGTWyKd@mail.gmail.com> (raw)
In-Reply-To: <4CDAEB05.7040709@FU-Berlin.DE>

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
___________________________________________________________________________________


  reply	other threads:[~2010-11-10 20:28 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-10 18:57 typescripts Herbert Voss
2010-11-10 20:28 ` Mojca Miklavec [this message]
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
  -- strict thread matches above, loose matches on Subject: below --
2010-11-12 14:32 typescripts Herbert Voss
2010-11-12 16:29 ` typescripts Herbert Voss
2010-11-12 16:54   ` typescripts Hans Hagen
2010-11-12 16:57 ` typescripts Hans Hagen
2010-11-12 17:41   ` typescripts Herbert Voss
2010-11-12 17:46     ` typescripts Hans Hagen
     [not found]       ` <4CDD80A7.7040803@FU-Berlin.DE>
     [not found]         ` <4CDD8246.2020206@wxs.nl>
2010-11-12 20:39           ` typescripts Herbert Voss
2010-03-18 20:42 typescripts Michael Saunders
2010-03-18  1:32 typescripts Michael Saunders
2010-03-18  9:53 ` typescripts Wolfgang Schuster
2010-03-18 10:04 ` typescripts Wolfgang Schuster
2010-03-17 12:16 typescripts Michael Saunders
2010-03-17 12:34 ` typescripts Wolfgang Schuster
2010-03-18  0:04 ` typescripts Wolfgang Schuster
2010-03-17  1:26 typescripts Michael Saunders
2010-03-17  8:20 ` typescripts Wolfgang Schuster
2010-03-17  9:04   ` typescripts Mojca Miklavec
2010-03-17  9:11     ` typescripts Wolfgang Schuster
2010-03-17 11:33       ` typescripts Mojca Miklavec
2010-03-17 12:12         ` typescripts Wolfgang Schuster
2003-08-16 20:05 typescripts Henning Hraban Ramm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTim93Y4A2Cu6qxEAxCT3KvOQ7KpEfEkZfkGTWyKd@mail.gmail.com \
    --to=mojca.miklavec.lists@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).