ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans van der Meer <H.vanderMeer@uva.nl>
To: NTG ConTeXt <ntg-context@ntg.nl>
Subject: bold and nonbold math
Date: Tue, 18 Aug 2009 17:18:49 +0200	[thread overview]
Message-ID: <D91E8689-062F-460F-A67A-CAAE1DC83A68@uva.nl> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1566 bytes --]

Working on typescripts for Y&Y's LucidaBright (which are type1 fonts)  
for MKIV (hoping to maintain compatibilty with MKII), the following  
code produces all math in bold, even the first x+y.
   \usetypescript[luc]\setupbodyfont[luci]\starttext $x+y$ -- $\bfmath  
x+y$ \stoptext

I studied the new manual chapter on typescripts as well as have worked  
in analogy with existent typescripts in the current ConTeXt base. I  
certainly am missing an important clue here.

The relevant portions of the typescript are:

\starttypescriptcollection[luci]

\starttypescript [luci]
   \definetypeface [luci][mm][math][lucibr][default]
   \definetypeface [luci][mm][bfmath][lucibr][default] % removal  
prints nonbold math only
\stoptypescript
...
% typescripts for text in serif, sans etc. omitted but contain:
   \definefontsynonym [LucidaBright][lbr.tfm][encoding=\typescriptthree]
   \definefontsynonym [LucidaBright-Demi][lbd.tfm][encoding= 
\typescriptthree]
...
\starttypescript [math] [lucibr] [name]
   \usemathcollection [lucibr]
   \definefontsynonym [MathRoman][LucidaBright] ... etc.
   \definebodyfont [default] [mm] [mr=MathRoman mo 1, ex=MathExtension  
mo 1, ... etc.]
   .. math font tfm definitions
\stoptypescript
\starttypescript [bfmath] [lucibr] [name]
   \usemathcollection [lucibr]
   \definefontsynonym [MathRomanBold] [LucidaBright-Demi] ... etc.
   \definebodyfont [default] [mm] [mrbf=MathRomanBold mo 1,  
exbf=MathExtensionBold mo 1, ... etc.]
   .. bold font tfm definitions
\stoptypescript

\stoptypescriptcollection

Hans van der Meer





[-- Attachment #1.2: Type: text/html, Size: 4833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

             reply	other threads:[~2009-08-18 15:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-18 15:18 Hans van der Meer [this message]
2009-08-18 16:50 ` Wolfgang Schuster
2009-08-19 10:06   ` Hans van der Meer
2009-08-19  7:15 ` 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=D91E8689-062F-460F-A67A-CAAE1DC83A68@uva.nl \
    --to=h.vandermeer@uva.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).