ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: ntg-context@ntg.nl
Subject: Re: math fonts
Date: Tue, 30 Jan 2001 12:09:29 +0100	[thread overview]
Message-ID: <3.0.6.32.20010130120929.016f7360@server-1> (raw)
In-Reply-To: <Pine.LNX.4.10.10101291654230.899-100000@erde.kosmos.all>

At 07:09 PM 1/29/01 +0100, Albrecht Kauffmann wrote:
>Hi all,
>
>I am faced with a problem with fonts in formulas, when the bodyfont is
>8-bit-encoded:
>
>\setupoutput[pdftex]
>\setupbodyfont [aer,10pt] 
>\starttext
>$ \Gamma \Delta \Theta$ 
>\stoptext
>
>With other 8-bit-fonts like e.g. lbr I get the same result: `'^
>Only with cmr as bodyfont I get the right characters. But with cmr arise
>problems with the hypenation in german language.
>
>Can somebody give me a hint?

Hm. These are positioned in the lower part of as the crm fonts. And, since
[out of lazyness] the aer fonts def uses the cmr ones by remapping the
names, the ec encoded cmr* fonts are not that suites for math. Sigh. But,
since there is some machinery for independent math fonts, we can redefine
that part. But, since cmr10 is now aer10, we have to make sure that we
bypass the mapper, which can be done [hack hack hack] with a space in front. 

% hack to prevent mapping of filenames, watch the space! 

\definebodyfont [12pt] [mm] [mr= cmr12]
\definebodyfont [11pt] [mm] [mr= cmr10 at 11pt]
\definebodyfont [10pt] [mm] [mr= cmr10]
\definebodyfont  [9pt] [mm] [mr= cmr9]
\definebodyfont  [8pt] [mm] [mr= cmr8]
\definebodyfont  [7pt] [mm] [mr= cmr7]
\definebodyfont  [6pt] [mm] [mr= cmr6]
\definebodyfont  [5pt] [mm] [mr= cmr5]
\definebodyfont  [4pt] [mm] [mr= cmr5]

\definebodyfont [14.4pt,17.3pt,20.7pt] [mm] [mr= cmr12 sa 1]

Later this year those symbols will be mappen in other ways anyway. 

Either add these lines at the end of font-aer or better at the end of
font-cmr and regenerate the format. 

If you want to default to aer: 

texexec --make --bodyfont=aer

will embed these defs 

Hans 
-------------------------------------------------------------------------
                                  Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                      Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------


  reply	other threads:[~2001-01-30 11:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-29 18:09 Albrecht Kauffmann
2001-01-30 11:09 ` Hans Hagen [this message]
2001-01-30 13:19   ` S2P development
2001-01-30 15:20     ` Hans Hagen
2001-01-30 23:57       ` combined header texts Albrecht Kauffmann
2001-01-31  5:17         ` Berend de Boer
2001-01-31  9:48           ` Hans Hagen

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=3.0.6.32.20010130120929.016f7360@server-1 \
    --to=pragma@wxs.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).