ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Willi Egger <w.egger@boede.nl>
Subject: Re: Fonts switching and styles ..
Date: Mon, 22 Nov 2004 20:42:16 +0100	[thread overview]
Message-ID: <41A24118.8090101@boede.nl> (raw)
In-Reply-To: <BAY23-F30D358EF74DB92DB7AB609FBC60@phx.gbl>

Hi Dirar,

I is not enough to give the commands which typescripts/files to use, you 
must setup first a bodyfont and then switch to other fonts

Dirar BOUGATEF wrote:
> i have tried this, and leads to:
> 
> bodyfont       : unknown variant MyFont
> 
> \usetypescriptfile[karat-type]
> \usetypescript[karat]
> 
> \usetypescriptfile[opulent-type]
> \usetypescript[opulent]
> 
> \usetypescript [sans][karat][map,name]
> \definefont[MyFont][karat]
> 
\definetypeface [Dirar] [rm] [serif] [times] [default]
\definetypeface [Dirar] [ss] [sans] [helvetica] [default] [rscale=.9]
\definetypeface [Dirar] [tt] [mono] [courier] [default] [rscale=1.1]

\definetypeface [Other] [rm] [serif] [other-times] [default]
\definetypeface [Other] [ss] [sans] [other-helvetica] [default] [rscale=.9]
\definetypeface [Other] [tt] [mono] [other-courier] [default] [rscale=1.1]

\starttext
\switchtotypeface[Dirar][ss,12pt]
	MAdame, Monsieur

switchtotypeface[Other][rm,12pt]
	 Madame, Monsieur

\stoptext


I hope this will solve the question


Willi

> \starttext
> \switchtobodyfont[karat]
> Madame, Monsieur
> 
> \switchtobodyfont[opulent]
> Madame, Monsieur
> 
> \switchtobodyfont[MyFont]
> Madame, Monsieur
> \stoptext
> 
> 
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

  reply	other threads:[~2004-11-22 19:42 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-21 15:49 Dirar BOUGATEF
2004-11-21 23:19 ` h h extern
2004-11-22 12:34   ` Dirar BOUGATEF
2004-11-22 13:26     ` Hans Hagen
2004-11-22 14:47       ` Dirar BOUGATEF
2004-11-22 19:42         ` Willi Egger [this message]
2004-11-23  7:53           ` Dirar BOUGATEF
2004-11-23 10:32             ` Willi Egger
2004-11-23 12:32             ` Christopher Creutzig
2004-11-23 14:10               ` Dirar BOUGATEF
2004-11-22 19:15 ` Problem with index generation Matthias Weber
2004-11-22 22:15   ` Hans Hagen
2004-11-23  2:22     ` How to patch ConText on the Mac for beginners (was: Problem with index generation) Matthias Weber
2004-11-23  2:46       ` Index and publication list conflict Matthias Weber
2004-11-24 12:59         ` Taco Hoekwater

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=41A24118.8090101@boede.nl \
    --to=w.egger@boede.nl \
    --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).