Mixed Normal and Bold Math -- Problem with Lucida
22->2:3 us->ec:ec->23->2:3 agr->agr:agr->24->2:3 da->ec:ec->25->2:3 sv->ec:ec- 26->2:3 af->ec:ec->27->2:3 no->ec:ec->28->2:3 deo->ec:ec->29->2:3 es->ec:ec->3 0->2:3 ca->ec:ec->31->2:3 la->ec:ec->32->2:3 ro->ec:ec->33->2:3
Hi all,
I use lucida for a document and now I need some bold math fonts so I
have followed the instructions given in "This Way - Mixed Normal and
Bold Math". The resulting test file is:
\starttext
\usetypescript[lucida] [texnansi]
\usetypescript[lucidabfm] [texnansi]
\usetypescript[lucidaboldmath][texnansi]
\setupformulas[method=bold]
\startformula[lucida] 1 \Gamma \alpha x \stopformula
\startformula[lucida] 1 \Gamma {\bfm \alpha x} \stopformula
\startformula[lucidaboldmath] 1 \Gamma \alpha x \stopformula
\startformula[lucidaboldmath] 1 \Gamma {\bfm \alpha x} \stopformula
\stoptext
I have installed lucida with texfont and added some .tfm (lucida.zip
from Hans). Since I'm on debian, I've done some modifications to
/etc/updmap.d/10tetex-base (I use tetex + latest ConTeXt in ~/texmf) +
sudo update-updmap + sudo updmap-sys...
\loadmapfile[texnansi-bh-lucida.map] is in my cont-sys.tex
texexec gives:
TeXExec | processing document 'lucidabfm.tex'
TeXExec | no ctx file found
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file lucidabfm.top
TeXExec | using randomseed 1128
TeXExec | tex engine: pdfetex
TeXExec | tex format: cont-en
TeXExec | progname: context
This is pdfeTeX, Version 3.141592-1.30.6-2.2 (Web2C 7.5.5)
\write18 enabled.
(/home/renaud/texmf/web2c/natural.tcx)
entering extended mode
(./lucidabfm.tex
ConTeXt ver: 2006.07.28 23:56 fmt: 2006.8.1 int: english mes: english
language : language en is active
Renaud AUBIN wrote:
Hi all,
I use lucida for a document and now I need some bold math fonts so I have followed the instructions given in "This Way - Mixed Normal and Bold Math". The resulting test file is:
There is a typo in type-buy.tex. There is one line that contains \definefontsynonym [MathRomanBold] [LucidaNewMath-Demibold] but it should be: \definefontsynonym [MathRomanBold] [LucidaNewMath-DemiBold] (capital B on the last Bold) Taco
Good Morning Taco, It works, thanks... Taco Hoekwater a écrit :
Renaud AUBIN wrote:
Hi all,
I use lucida for a document and now I need some bold math fonts so I have followed the instructions given in "This Way - Mixed Normal and Bold Math". The resulting test file is:
There is a typo in type-buy.tex. There is one line that contains
\definefontsynonym [MathRomanBold] [LucidaNewMath-Demibold]
but it should be:
\definefontsynonym [MathRomanBold] [LucidaNewMath-DemiBold]
(capital B on the last Bold)
Taco
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
texfont prints out the typo error too (LucidaNewMath-Demibold)... How can we change this ? (this font entry in texnansi-bh-lucida.map is LucidaNewMath-Demibold) Renaud AUBIN a écrit :
But there is a problem with \startformula[lucida] 1 \Gamma {\bfm \alpha x} \stopformula i.e. the "x" is not in bold rm...
Renaud AUBIN a écrit :
Good Morning Taco,
It works, thanks...
------------------------------------------------------------------------
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Hans, can you help on this one ? After checking the lucida's afm, it appears that the correct name of type-buy.tex's LucidaNewMath-DemiBold is LucidaNewMath-Demibold... I have corrected type-buy.tex but \startformula {\bfm R} \stopformula is LucidaNewMath-AltItalic... I have understood "Mixed Normal ... Math", I should have LucidaNewMath-DemiBold... Right ? As far as I understand, \bfm bolds the current math font... So, I have a beginner's question, what's the best method to apply when one would switch from bf to bi for example ? Renaud
On 8/4/06, Renaud AUBIN wrote:
Hi all,
I use lucida for a document and now I need some bold math fonts so I have followed the instructions given in "This Way - Mixed Normal and Bold Math". The resulting test file is:
... Apart from the problem that you have with Demibold: I guess that bold math is still a weak point of ConTeXt (I might be wrong, but last time when I was asking about bold math with iwona, I got some answers/workarounds, but not really the definite answer how to solve the problem - the best solution was to use own switch for bold and cheat by switching to text mode, change typeface there and switch to math mode again, with some care to properly handle displaystyle, textstyle, scriptstyle, ...). Bold math somehow works with CM, but when another font is used, it's a pure confusion (or at least I can't handle the situation). Adam wrote some patch at that time which never got into the core. As far as I remember some bold math worked better, but \rm, \bi, ... switches failed. Mojca
Mojca Miklavec wrote:
On 8/4/06, Renaud AUBIN wrote:
Hi all,
I use lucida for a document and now I need some bold math fonts so I have followed the instructions given in "This Way - Mixed Normal and Bold Math". The resulting test file is:
...
Apart from the problem that you have with Demibold:
I guess that bold math is still a weak point of ConTeXt (I might be wrong, but last time when I was asking about bold math with iwona, I
it's a matter of lack of tex families; once we have bold, something else has to be dropped i can imagine a setup with bold and normal alongside but no slanted, italic, bolditalic then; the best thing (nowadays) is to have two typefaces defined, one normal, and one bold future versions of context may have more support (soon pdftex will have
16 families)
btw, one of the problems is that several passed over the math list are made, which means that font switches are not treated as in text (think of \bf test \sl test) (i dunno if that can be solved in future tex's) Hans
Hi, Hans Hagen wrote:
it's a matter of lack of tex families; once we have bold, something else has to be dropped
More precisely, here is the font family setup of ConTeXt \fam 0 math roman (with uppercase greek) 1 math italic 2 math symbols 3 math extension 4 italic 5 slanted 6 bold 7 -- 8 bold slanted 9 bold italic 10 smallcaps 11 typeface (sans serif or typewriter or ..., text font) 12 math symbols a (ams) 13 math symbols b (ams) 14 math symbols c (mathtime script) 15 math symbols d (mathtime greek upright) Only family 7 is really empty, and only 14 and 15 can easily be redefined (\newfamily always returns 15)
the best thing (nowadays) is to have two typefaces defined, one normal, and one bold
future versions of context may have more support (soon pdftex will have
16 families)
256 families of fonts with 65536 possible characters each, just like in Aleph.
btw, one of the problems is that several passed over the math list are made, which means that font switches are not treated as in text (think of \bf test \sl test)
(i dunno if that can be solved in future tex's)
Not sure that would make sense. Font switches in math mode are in fact different from ones in ordinary text. {\sl A} and {\bs A} may well have completely a different meaning. Cheers, Taco
participants (4)
-
Hans Hagen
-
Mojca Miklavec
-
Renaud AUBIN
-
Taco Hoekwater