From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/23500 Path: news.gmane.org!not-for-mail From: Hans van der Meer Newsgroups: gmane.comp.tex.context Subject: Re: bold math not mathitalic Date: Wed, 16 Nov 2005 16:15:47 +0100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v733) Content-Type: multipart/mixed; boundary="===============0380800859==" X-Trace: sea.gmane.org 1132154232 20141 80.91.229.2 (16 Nov 2005 15:17:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 16 Nov 2005 15:17:12 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Nov 16 16:17:02 2005 Return-path: 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 1EcP1w-0003VC-0w for gctc-ntg-context-518@m.gmane.org; Wed, 16 Nov 2005 16:17:00 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A31FE127F1; Wed, 16 Nov 2005 16:16:58 +0100 (CET) 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 17734-03; Wed, 16 Nov 2005 16:16:53 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0412C127E5; Wed, 16 Nov 2005 16:16:53 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D7B35127E5 for ; Wed, 16 Nov 2005 16:16:50 +0100 (CET) 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 17444-06-3 for ; Wed, 16 Nov 2005 16:16:49 +0100 (CET) Original-Received: from smtp.science.uva.nl (smtp.science.uva.nl [146.50.4.84]) by ronja.ntg.nl (Postfix) with ESMTP id BD338127E0 for ; Wed, 16 Nov 2005 16:16:49 +0100 (CET) Original-Received: from 119-201.uva.surfnetthuis.nl [145.98.119.201] by smtp.science.uva.nl with ESMTP (sendmail 8.11.6p2/config 11.35). id jAGFGiI31476; Wed, 16 Nov 2005 16:16:44 +0100 X-Organisation: Faculty of Science, University of Amsterdam, The Netherlands X-URL: http://www.science.uva.nl/ Original-To: NTG ConTeXt X-Mailer: Apple Mail (2.733) X-Virus-Scanned: by amavisd-new X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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:23500 Archived-At: --===============0380800859== Content-Type: multipart/alternative; boundary=Apple-Mail-1--771875236 --Apple-Mail-1--771875236 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed I am trying to define bold math myself, but encounter a problem with the typescripts. Further probing into this matter (previous mail, see below) shows that the typescript delineated by ****'s is NOT USED AT ALL! (Calling \setupformulas[method=bold] makes no difference). It therefore does not seem a problem in the math family assignments in font-bfm.tex, as I first suspected. Is there some special invocation needed for hooking up a user defined font set into $\bfmath ...$? If have looked into font-bfm.tex and font-ini.tex but could not figure it out. Clearly I am misunderstanding the inner workings here, but I have no clue in which direction to look. > I am using the follwing (extracted) typescript lines for math in > the lucida fonts: > > \starttypescript [luc] > \definetypeface [luc][mm][math][lucidayy][default] > [encoding=texnansi] > \definetypeface [luc][mm][bfmath][lucidayy][default] > [encoding=texnansi] > \stoptypescript > > \starttypescript [math] [lucidayy] [default] > \definebodyfont [default] [mm] > [mr=MathRoman mo 1, mi=MathItalic mo 1, ....] > \stoptypescript > ************************************************************************ ****** > \starttypescript [bfmath] [lucidayy] [default] > \definebodyfont [default] [mm] > [mrbf=MathRomanBold mo 1, mibf=MathItalicBold mo 1, ....] > \stoptypescript ************************************************************************ ****** > \starttypescript [math] [lucidayy] [name] > \definefontsynonym [MathRoman] [LucidaBright] > \definefontsynonym [MathItalic] [LucidaNewMath-AltItalic] > \stoptypescript > > \starttypescript [math] [lucidayy] [texnansi,ec,8r] > \definefontsynonym [LucidaBright] [hlhr8y] > [encoding=texnansi] > \definefontsynonym [LucidaNewMath-AltItalic] [hlcrima] > \stoptypescript > > \starttypescript [bfmath] [lucidayy] [name] > \definefontsynonym [MathRomanBold] [LucidaBright-Demi] > \definefontsynonym [MathItalicBold] [LucidaNewMath-AltDemiItalic] > \stoptypescript > > \starttypescript [bfmath] [lucidayy] [texnansi,ec,8r] > \definefontsynonym [LucidaBright-Demi] [hlhb8y] > [encoding=texnansi] > \definefontsynonym [LucidaNewMath-AltDemiItalic] [hlcdima] > \stoptypescript > > Typesetting: > \starttext > \usetypescript[luc][texnansi]\setupbodyfont[luc,10pt]\lucidatrue > {$\sqrt{a^2 + b^2} = c + \mf\sin{}x\quad {\ma NZRC}$}\crlf > \stoptext > Gives me for the variables neatly LucidaNewMath-AltItalic. *** Changing the fonts in the above typescript does work *** > > But typesetting > \starttext > \usetypescript[luc][texnansi]\setupbodyfont[luc,10pt]\lucidatrue > {$\bfmath\sqrt{a^2 + b^2} = c + \mf\sin{}x\quad {\ma NZRC}$}\crlf > \stoptext > Gives me LucidaBright-Demi instead of LucidaNewMath-AltDemiItalic. > Everything else however (even the blackletters from ma) are in the > correct bold math font. > The font must be present, because substituting MathItalicBold for > MathItalic in the [math] script proves that. *** But not coming from my typescript I conclude from several experiments *** Hans van der Meer --Apple-Mail-1--771875236 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1
I am trying to define bold = math myself, but encounter a problem with the typescripts.

Further probing into this matter = (previous mail, see below) shows that the typescript delineated by = ****'s is NOT USED AT ALL!=A0
(Calling=A0\setupformulas[method=3Dbold]= makes no difference).=A0
It therefore does not seem a problem = in the math family assignments in font-bfm.tex, as I first = suspected.

Is = there some special invocation needed for hooking up a user defined font = set into $\bfmath ...$?
If have looked into = font-bfm.tex=A0 and font-ini.tex but could not figure it = out.
Clearly I am misunderstanding the inner workings here, = but I have no clue in which direction to look.

I am = using the follwing (extracted) typescript lines for math in the lucida = fonts:

\starttypescript [luc]
=A0=A0 = =A0\definetypeface = [luc][mm][math][lucidayy][default][encoding=3Dtexnansi]
=A0 =A0 \definetypeface = [luc][mm][bfmath][lucidayy][default][encoding=3Dtexnansi]
\stoptypescript

\starttypescript [math] [lucidayy] = [default]
=A0 =A0 \definebodyfont = [default] [mm]
=A0 =A0 =A0 [mr=3DMathRoman mo = 1,=A0mi=3DMathItalic mo 1, ....]
\starttypescript [bfmath] [lucidayy] = [default]
=A0 =A0 \definebodyfont = [default] [mm]
=A0 =A0 =A0 [mrbf=3DMathRomanBold = mo 1,=A0mibf=3DMathItalicBold mo 1, ....]
=A0 = \definefontsynonym [MathRoman]=A0 =A0 =A0 =A0=A0 = [LucidaBright]
=A0 \definefontsynonym = [MathItalic]=A0 =A0 =A0 =A0 [LucidaNewMath-AltItalic]
\stoptypescript

\starttypescript [math] [lucidayy] = [texnansi,ec,8r]
=A0 \definefontsynonym = [LucidaBright]=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 [hlhr8y]=A0=A0 = [encoding=3Dtexnansi]
=A0 \definefontsynonym = [LucidaNewMath-AltItalic]=A0 =A0=A0 [hlcrima]
\stoptypescript

\starttypescript [bfmath] [lucidayy] = [name]
=A0 \definefontsynonym = [MathRomanBold]=A0 =A0=A0 [LucidaBright-Demi]
=A0 \definefontsynonym [MathItalicBold]=A0 =A0 = [LucidaNewMath-AltDemiItalic]

\starttypescript [bfmath] [lucidayy] = [texnansi,ec,8r]
=A0 \definefontsynonym = [LucidaBright-Demi]=A0 =A0 =A0 =A0 =A0=A0 [hlhb8y]=A0=A0 = [encoding=3Dtexnansi]
=A0 \definefontsynonym = [LucidaNewMath-AltDemiItalic] [hlcdima]

Typesetting:
{$\sqrt{a^2 + b^2} =3D c + \mf\sin{}x\quad {\ma = NZRC}$}\crlf
\stoptext
=A0Gives me for the variables = neatly=A0LucidaNewMath-AltItalic.
*** Changing the = fonts in the above typescript does work ***

But=A0typesetting
{$\bfmath\sqrt{a^2 + b^2} =3D c + \mf\sin{}x\quad = {\ma NZRC}$}\crlf
\stoptext
Gives me LucidaBright-Demi instead = of=A0LucidaNewMath-AltDemiItalic.
The font must = be present, because substituting=A0MathItalicBold for=A0MathItalic in = the [math] script proves that.
*** But not coming from = my typescript I conclude from several experiments ***


Hans van der Meer

=

= --Apple-Mail-1--771875236-- --===============0380800859== 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 --===============0380800859==--