From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/29961 Path: news.gmane.org!not-for-mail From: Renaud AUBIN Newsgroups: gmane.comp.tex.context Subject: Mixed Normal and Bold Math -- Problem with Lucida Date: Fri, 04 Aug 2006 05:33:03 +0200 Message-ID: <44D2BFEF.80507@nibua-r.org> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2105556589==" X-Trace: sea.gmane.org 1154662423 28717 80.91.229.2 (4 Aug 2006 03:33:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 4 Aug 2006 03:33:43 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Aug 04 05:33:40 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1G8qRK-0004vb-VK for gctc-ntg-context-518@m.gmane.org; Fri, 04 Aug 2006 05:33:35 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2DE541FF79; Fri, 4 Aug 2006 05:33:34 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 16598-02; Fri, 4 Aug 2006 05:33:27 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 437C81FF60; Fri, 4 Aug 2006 05:33:27 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1F6AD1FF60 for ; Fri, 4 Aug 2006 05:33:24 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 14015-03-2 for ; Fri, 4 Aug 2006 05:33:14 +0200 (CEST) Original-Received: from 27.mail-out.ovh.net (27.mail-out.ovh.net [213.186.38.137]) by ronja.ntg.nl (Postfix) with SMTP id 2D0581FF5C for ; Fri, 4 Aug 2006 05:33:13 +0200 (CEST) Original-Received: (qmail 12863 invoked by uid 503); 4 Aug 2006 03:34:40 -0000 Original-Received: from b6.ovh.net (HELO mail173.ha.ovh.net) (213.186.33.56) by 27.mail-out.ovh.net with SMTP; 4 Aug 2006 03:34:40 -0000 Original-Received: from b0.ovh.net (HELO queue-out) (213.186.33.50) by b0.ovh.net with SMTP; 4 Aug 2006 03:32:55 -0000 Original-Received: from d83-179-134-205.cust.tele2.fr (HELO ?192.168.78.10?) (aubin@nibua-r.org@83.179.134.205) by ns0.ovh.net with SMTP; 4 Aug 2006 03:32:53 -0000 User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051017) X-Accept-Language: fr, en Original-To: ConTeXt Mailing List X-Ovh-Remote: 83.179.134.205 (d83-179-134-205.cust.tele2.fr) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-Spam-Check: DONE|H 0.5/1.0/5.0/N X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:29961 Archived-At: This is a multi-part message in MIME format. --===============2105556589== Content-Type: multipart/alternative; boundary="------------010308030003070705090607" This is a multi-part message in MIME format. --------------010308030003070705090607 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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=3Dbold] \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 system : cont-new loaded (/home/renaud/texmf/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex color : palette rollover is available ) system : cont-old loaded (/home/renaud/texmf/tex/context/base/cont-old.tex loading : Context Old Macros ) system : cont-fil loaded (/home/renaud/texmf/tex/context/base/cont-fil.tex loading : Context File Synonyms ) system : cont-sys loaded (/home/renaud/texmf/tex/context/user/cont-sys.tex (/home/renaud/texmf/tex/context/base/type-exa.tex) (/home/renaud/texmf/tex/context/base/type-syn.tex) (/home/renaud/texmf/tex/context/base/type-enc.tex) (/home/renaud/texmf/tex/context/base/type-siz.tex) (/home/renaud/texmf/tex/context/base/type-map.tex) (/home/renaud/texmf/tex/context/base/type-spe.tex) (/home/renaud/texmf/tex/context/base/type-akb.tex)) bodyfont : 12pt rm is loaded language : patterns nl->texnansi:texnansi->1->2:3 nl->ec:ec->2->2:3 fr-> texnansi:texnansi->3->2:3 fr->ec:ec->4->2:3 de->texnansi:texnansi->5->2:3 de->e c:ec->6->2:3 it->texnansi:texnansi->7->2:3 it->ec:ec->8->2:3 pt->texnansi:texna nsi->9->2:3 pt->ec:ec->10->2:3 hr->ec:ec->11->2:3 pl->pl0:pl0->12->2:3 pl->ec:e c->13->2:3 pl->qx:qx->14->2:3 cz->il2:il2->15->2:3 cz->ec:ec->16->2:3 sk->il2:i l2->17->2:3 sk->ec:ec->18->2:3 sl->ec:ec->19->2:3 en->ec:ec->21->2:3 uk->ec:ec- >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 tr->ec:ec->34-> 2:3 fi->ec:ec->36->2:3 hu->ec:ec->37->2:3 loaded specials : tex,postscript,rokicki loaded system : lucidabfm.top loaded (./lucidabfm.top specials : loading definition file tpd (/home/renaud/texmf/tex/context/base/spec-tpd.tex specials : loading definition file fdf (/home/renaud/texmf/tex/context/base/spec-fdf.tex) specials : fdf loaded ) specials : fdf,tpd loaded ) systems : system commands are enabled (/home/renaud/texmf/tex/context/base/sort-def.tex) (/home/renaud/texmf/tex/context/base/sort-lan.tex) systems : begin file lucidabfm at line 1 (/home/renaud/texmf/tex/context/base/type-buy.tex) (/home/renaud/texmf/tex/context/base/math-lbr.tex)kpathsea: Running mktextfm LucidaNewMath-Demibold /usr/share/texmf/web2c/mktexnam: Could not map source abbreviation L for LucidaNewMath-Demibold. /usr/share/texmf/web2c/mktexnam: Need to update /usr/share/texmf-tetex/fonts/map/fontname/special.map? mktextfm: Running mf-nowin -progname=3Dmf \mode:=3Dljfour; mag:=3D1; nonstopmode; input LucidaNewMath-Demibold This is METAFONT, Version 2.71828 (Web2C 7.5.4) kpathsea: Running mktexmf LucidaNewMath-Demibold ! I can't find file `LucidaNewMath-Demibold'. <*> ...; nonstopmode; input LucidaNewMath-Demibold Please type another input file name ! Emergency stop. <*> ...; nonstopmode; input LucidaNewMath-Demibold Transcript written on mfput.log. grep: LucidaNewMath-Demibold.log: Aucun fichier ou r=E9pertoire de ce typ= e mktextfm: `mf-nowin -progname=3Dmf \mode:=3Dljfour; mag:=3D1; nonstopmode= ; input LucidaNewMath-Demibold' failed to make LucidaNewMath-Demibold.tfm. kpathsea: Appending font creation commands to missfont.log. ! Font \*lucida7ptmmmrbfrm*:=3DLucidaNewMath-Demibold at 7.0pt not loadable: Metr ic (TFM) file not found. \relax \xxdododefinefont ...tspec {#4}\newfontidentifier \let \localrelativefontsiz... \dodosetmathfamilyB ...amily \fontsize \endcsname \else \ifcsname \fontclass... \dosetmathfamily ...athfamily \scriptscriptfont #1 \let \fontbody #3\dodosetm... ...scriptface \c!mrbf \mrfallback \dosetmathfamily \mibffam ... ...\else \the \boldmathstrategies \fi \autoenablemathcollect... ... l.6 \startformula[lucida] 1 \Gamma \alpha x \stopformula ? LucidaNewMath-Demibold.tfm ??? I really don't now where is the problem (maybe I'm too tired or I'm completelly dumb...) Commenting out \setupformulas[method=3Dbold] gives a resulting pdf with LucidaNewMath-Demibold embedded-Subsetted. Only the last two lines contains bold symbols. The \bfm command has no effect on \alpha x (the second line). I assume that font-bfm.tex is loaded since there is no complains about \bfm def. type-exa is loaded (and consequently bfmath defined). At first, I believe that there is a problem with my debian map files or my lucida installation but it doesn't seems so after checking... Any idea= ? Cheers, Renaud --------------010308030003070705090607 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
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
<protectionstate 0>
system          : cont-new loaded
(/home/renaud/texmf/tex/context/base/cont-new.tex
systems         : beware: some patches loaded from cont-new.tex
color           : palette rollover is available
)
system          : cont-old loaded
(/home/renaud/texmf/tex/context/base/cont-old.tex
loading         : Context Old Macros
)
system          : cont-fil loaded
(/home/renaud/texmf/tex/context/base/cont-fil.tex
loading         : Context File Synonyms
)
system          : cont-sys loaded
(/home/renaud/texmf/tex/context/user/cont-sys.tex
(/home/renaud/texmf/tex/context/base/type-exa.tex)
(/home/renaud/texmf/tex/context/base/type-syn.tex)
(/home/renaud/texmf/tex/context/base/type-enc.tex)
(/home/renaud/texmf/tex/context/base/type-siz.tex)
(/home/renaud/texmf/tex/context/base/type-map.tex)
(/home/renaud/texmf/tex/context/base/type-spe.tex)
(/home/renaud/texmf/tex/context/base/type-akb.tex))
bodyfont        : 12pt rm is loaded
language        : patterns nl->texnansi:texnansi->1->2:3 nl->ec:ec->2->2:3 fr->
texnansi:texnansi->3->2:3 fr->ec:ec->4->2:3 de->texnansi:texnansi->5->2:3 de->e
c:ec->6->2:3 it->texnansi:texnansi->7->2:3 it->ec:ec->8->2:3 pt->texnansi:texna
nsi->9->2:3 pt->ec:ec->10->2:3 hr->ec:ec->11->2:3 pl->pl0:pl0->12->2:3 pl->ec:e
c->13->2:3 pl->qx:qx->14->2:3 cz->il2:il2->15->2:3 cz->ec:ec->16->2:3 sk->il2:i
l2->17->2:3 sk->ec:ec->18->2:3 sl->ec:ec->19->2:3 en->ec:ec->21->2:3 uk->ec:ec-
>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 tr->ec:ec->34->
2:3 fi->ec:ec->36->2:3 hu->ec:ec->37->2:3 loaded
specials        : tex,postscript,rokicki loaded
system          : lucidabfm.top loaded
(./lucidabfm.top
specials        : loading definition file tpd
(/home/renaud/texmf/tex/context/base/spec-tpd.tex
specials        : loading definition file fdf
(/home/renaud/texmf/tex/context/base/spec-fdf.tex)
specials        : fdf loaded
)
specials        : fdf,tpd loaded
)
systems         : system commands are enabled
(/home/renaud/texmf/tex/context/base/sort-def.tex)
(/home/renaud/texmf/tex/context/base/sort-lan.tex)
systems         : begin file lucidabfm at line 1
(/home/renaud/texmf/tex/context/base/type-buy.tex)
(/home/renaud/texmf/tex/context/base/math-lbr.tex)kpathsea: Running mktextfm LucidaNewMath-Demibold
/usr/share/texmf/web2c/mktexnam: Could not map source abbreviation L for LucidaNewMath-Demibold.
/usr/share/texmf/web2c/mktexnam: Need to update /usr/share/texmf-tetex/fonts/map/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input LucidaNewMath-Demibold
This is METAFONT, Version 2.71828 (Web2C 7.5.4)

kpathsea: Running mktexmf LucidaNewMath-Demibold
! I can't find file `LucidaNewMath-Demibold'.
<*> ...; nonstopmode; input LucidaNewMath-Demibold

Please type another input file name
! Emergency stop.
<*> ...; nonstopmode; input LucidaNewMath-Demibold

Transcript written on mfput.log.
grep: LucidaNewMath-Demibold.log: Aucun fichier ou répertoire de ce type
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input LucidaNewMath-Demibold' failed to make LucidaNewMath-Demibold.tfm.
kpathsea: Appending font creation commands to missfont.log.

! Font \*lucida7ptmmmrbfrm*:=LucidaNewMath-Demibold at 7.0pt not loadable: Metr
ic (TFM) file not found.
<to be read again>
                   \relax
\xxdododefinefont ...tspec {#4}\newfontidentifier
                                                  \let \localrelativefontsiz...

\dodosetmathfamilyB ...amily \fontsize \endcsname
                                                  \else \ifcsname \fontclass...

\dosetmathfamily ...athfamily \scriptscriptfont #1
                                                  \let \fontbody #3\dodosetm...
<inserted text> ...scriptface \c!mrbf \mrfallback
                                                  \dosetmathfamily \mibffam ...
<inserted text> ...\else \the \boldmathstrategies
                                                  \fi \autoenablemathcollect...
...
l.6 \startformula[lucida]
                          1 \Gamma \alpha x \stopformula
?


LucidaNewMath-Demibold.tfm ???

I really don't now where is the problem (maybe I'm too tired or I'm completelly dumb...)

Commenting out
\setupformulas[method=bold] gives a resulting pdf with LucidaNewMath-Demibold embedded-Subsetted. Only the last two lines contains bold symbols. The \bfm command has no effect on \alpha x (the second line). I assume that font-bfm.tex is loaded since there is no complains about \bfm def. type-exa is loaded (and consequently bfmath defined).

At first, I believe that there is a problem with my debian map files or my lucida installation but it doesn't seems so after checking... Any idea ?

Cheers,

Renaud


--------------010308030003070705090607-- --===============2105556589== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context --===============2105556589==--