ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* bold and nonbold math
@ 2009-08-18 15:18 Hans van der Meer
  2009-08-18 16:50 ` Wolfgang Schuster
  2009-08-19  7:15 ` Hans Hagen
  0 siblings, 2 replies; 4+ messages in thread
From: Hans van der Meer @ 2009-08-18 15:18 UTC (permalink / raw)
  To: NTG ConTeXt


[-- 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-08-19 10:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-18 15:18 bold and nonbold math Hans van der Meer
2009-08-18 16:50 ` Wolfgang Schuster
2009-08-19 10:06   ` Hans van der Meer
2009-08-19  7:15 ` Hans Hagen

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).