ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Randall Skelton <randall.skelton@gmail.com>
Subject: Re: Bold Greek Math with Fourier Font
Date: Sat, 9 Jul 2005 14:57:29 -0400	[thread overview]
Message-ID: <ba4316d305070911577d71be8d@mail.gmail.com> (raw)
In-Reply-To: <42CFCB72.9000901@wanadoo.fr>

Many thanks for the reply Michel, it seems I was referencing the fonts
incorrectly in type-enc ( fourier-mlb instead of futb8t).  Alas, I'm
still having some trouble as I cannot mix bold and non-bold fonts as
per Hans' ThisWay doc.  It all looks so simple on paper...

I've added some extra 'bfmath' tags to what you sent so I have:

in type-enc.tex

\starttypescript [boldmath,bfmath] [fourier] [default,ec]
  \definefontsynonym [Fourier-Math-Letters-Bold]         [futb8t] [encoding=ec]
  \definefontsynonym [Fourier-Math-Letters-Italic-Bold]  [futmiib]
  \definefontsynonym [Fourier-Math-Symbols]              [futsy] 
  \definefontsynonym [Fourier-Math-Extension]            [fourier-mex]
\stoptypescript

in type-sync.tex

\starttypescript [boldmath] [fourier] [name]
  \definefontsynonym [MathRoman]     [Fourier-Math-Letters-Bold]
  \definefontsynonym [MathItalic]    [Fourier-Math-Letters-Italic-Bold]
  \definefontsynonym [MathSymbol]    [Fourier-Math-Symbols]
  \definefontsynonym [MathExtension] [Fourier-Math-Extension]
\stoptypescript

\starttypescript [bfmath] [fourier] [name]
  \definefontsynonym [MathRoman]     [Fourier-Math-Letters-Bold]
  \definefontsynonym [MathItalic]    [Fourier-Math-Letters-Italic-Bold]
  \definefontsynonym [MathSymbol]    [Fourier-Math-Symbols]
  \definefontsynonym [MathExtension] [Fourier-Math-Extension]
\stoptypescript

I've included a quick test below.  When I run it, I get all the fonts
being bold and some Greek symbols are missing after the \bfm command.

Any ideas?

Cheers,
Randall

%%%% START: test.tex
\definetypeface [mainface] [rm] [serif] [fourier] [default]
\definetypeface [mainface] [tt] [mono]  [fourier] [default] 
\definetypeface [mainface] [ss] [sans]  [fourier] [default] 
\definetypeface [mainface] [mm] [math]  [fourier] [default] 

\definetypeface [boldmath] [rm] [serif]    [fourier] [default] 
\definetypeface [boldmath] [tt] [mono]     [fourier] [default] 
\definetypeface [boldmath] [ss] [sans]     [fourier] [default] 
\definetypeface [boldmath] [mm] [boldmath] [fourier] [default] 

\definetypeface [mainface] [mm] [bfmath] [fourier] [default] 
\definetypeface [boldmath] [mm] [bfmath] [fourier] [default] 

\setupformulas 
  [method=bold] 

\setupbodyfont 
  [mainface] 

\starttext

\formula {1 \beta \Gamma = \bfm 1 \beta \Gamma x z} 

\formula[mainface]{1 \beta \Gamma = \bfm 1 \beta \Gamma x' z} 

\formula[boldmath]{1 \beta \Gamma = \bfm 1 \beta \Gamma x' z} 

\formula[mainface]{1 \beta \Gamma = {\bfm 1 \beta \Gamma x'}z}

\formula[boldmath]{1 \beta \Gamma = {\bfm 1 \beta \Gamma x'} z}

\stoptext

  reply	other threads:[~2005-07-09 18:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-08 18:16 Randall Skelton
2005-07-09 13:04 ` Michel Bovani
2005-07-09 18:57   ` Randall Skelton [this message]
2005-07-09 20:23     ` Adam Lindsay
2005-07-09 22:09       ` Randall Skelton
2005-07-10  2:53       ` Randall Skelton
2005-07-11 15:41         ` Randall Skelton
2005-07-11 17:14           ` Michel Bovani
2005-07-12  1:08             ` Randall Skelton
2005-07-12 14:43               ` Michel Bovani
2005-07-14 22:43                 ` Randall Skelton

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=ba4316d305070911577d71be8d@mail.gmail.com \
    --to=randall.skelton@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).