ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Dirar BOUGATEF" <chabah5@hotmail.com>
Subject: Re: Fonts switching and styles ..
Date: Tue, 23 Nov 2004 14:10:28 +0000	[thread overview]
Message-ID: <BAY23-F30D3CF30B302BB51BBAE31FBC70@phx.gbl> (raw)
In-Reply-To: <41A32DE3.1000105@creutzig.de>

Thanks Christopher, i have tried what you asked me but this didn't solve the 
problem. To me it was the right thing to do, but it looks like it is because 
my font is defined as a typeface collection that it does not work.

I have tried \switchtotypeface instead as Willie said and this works fine.

Now, i don't know where you got this command from, Willie (Thanks by the way 
:) ), cause it is nowhere in mfonts.pdf nor in cont-eni.pdf.

Am really confused about the proper way to configure my fonts and use them, 
i know some trickeries but am not sure about the right way to do things.

Question:

>From mfonts.pdf, it looks like there are 2 ways of configuring fonts after 
they are installed (page 9).

1. As a whole.
2. As a typeface collection.

In my understanding, when a font is defined as a whole, you can use the 
following commands to play with your font:

1. \setupbodyfont
2. \definebodyfont

3. \setupfontsynonym
4. \definefontsynonym

5. \switchtobodyfont


When it is defined as a collection of typefaces you have to use:

1. \definetypeface
2. \switchtotypeface

Now, when to use each one is a mystery.

Could anyone explain a bit more ?

Thanks.

  reply	other threads:[~2004-11-23 14:10 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
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 [this message]
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=BAY23-F30D3CF30B302BB51BBAE31FBC70@phx.gbl \
    --to=chabah5@hotmail.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).