ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans van der Meer <hansm@science.uva.nl>
Subject: Re: bold math not mathitalic
Date: Wed, 16 Nov 2005 16:15:47 +0100	[thread overview]
Message-ID: <ED548354-39F5-4A2C-B69A-0A4146901E9B@science.uva.nl> (raw)


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

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



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

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

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

             reply	other threads:[~2005-11-16 15:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-16 15:15 Hans van der Meer [this message]
2005-11-16 16:04 ` Hans van der Meer
  -- strict thread matches above, loose matches on Subject: below --
2005-11-15 22:31 Hans van der Meer

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=ED548354-39F5-4A2C-B69A-0A4146901E9B@science.uva.nl \
    --to=hansm@science.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).