ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Dirar BOUGATEF" <chabah5@hotmail.com>
Subject: Re: Re: Installing a new font.
Date: Wed, 27 Oct 2004 23:12:09 +0000	[thread overview]
Message-ID: <BAY12-F20vjPkQTGpao0003977e@hotmail.com> (raw)

Great, this works.

It's a bit more clear now. There is still one problem. I use the sans 
fallback in my typescript as follows, so that every alternative such as 
italic etc .. is mapped to my regular font (I have only one font file for 
the moment). Why do i get cmr italic instead of regular karat when i use \it 
for instance, or \bf etc. ?



% This is Karat.tex

\loadmapfile[texnansi-rubicon-karatmedium.map]

\starttypescript [sans][karat][texnansi]
  \definefontsynonym [karat-sans][texnansi-KAMN][encoding=texnansi]
\stoptypescript

\starttypescript [sans][karat][name]
  \usetypescript[sans][fallback]
  \definefontsynonym [Sans][karat-sans]
\stoptypescript

\starttypescript [karat]
  \definetypeface [karat] [ss] [sans] [karat] [default] [encoding=texnansi]
\stoptypescript



Normally within the following example, i should get a text that is all 
written in regular karat(Well, probably not for \em !).



\usetypescriptfile[Karat.tex]
\usetypescript[karat]
\setupbodyfont[karat]

\starttext
This is Karat roman, {\it italic,} {\bf bold,} and {\bi bold-italic.}

\ss Hello world

{\em \bf This is also bold-italic.}

We have {\sc small caps} and old-style figures: {\os 0123456789}.
\stoptext



Thanks again.

Dirar.

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.com/

             reply	other threads:[~2004-10-27 23:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-27 23:12 Dirar BOUGATEF [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-10-29 11:04 Dirar BOUGATEF
2004-10-27 16:18 Dirar BOUGATEF
2004-10-27 16:42 ` Adam Lindsay
2004-10-27 14:18 Dirar BOUGATEF

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=BAY12-F20vjPkQTGpao0003977e@hotmail.com \
    --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).