ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: nitralime <nitralime@googlemail.com>
To: Hans Hagen <pragma@wxs.nl>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Using fourier-GUT as math font
Date: Thu, 28 Oct 2010 15:52:29 +0200	[thread overview]
Message-ID: <4CC9801D.2090005@gmail.com> (raw)
In-Reply-To: <4CC97332.7060907@wxs.nl>


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

Thank you very much for this info!
As a beginner I must first figure out (resp. digest) what you have 
written:-)
My intention was to create a typescript for the combination

     Baskerville (serif) + GillSans(sans) + Consolas(mono) + 
FourierGUT(math)

The typescript included in my original posting contains the relevant 
definitions
for all of these parts (serif, sans etc.).

I have added the output of  "mtxrun ..." on my pc below.
Hopefully somebody else on this list can give me some tips!

*[nik@hilbert ~]$* *mtxrun --script fonts --list --all --pattern=*fourier**

fourieralternateblack               fourieralternateblack          
/home/nik/.fonts/MathFonts/FourierGUT/fourier-alt-black.afm
fourieralternateblackblack          fourieralternateblack          
/home/nik/.fonts/MathFonts/FourierGUT/fourier-alt-black.afm
fourieralternatebold                fourieralternatebold           
/home/nik/.fonts/MathFonts/FourierGUT/fourier-alt-bold.afm
fourieralternateboldbold            fourieralternatebold           
/home/nik/.fonts/MathFonts/FourierGUT/fourier-alt-bold.afm
fourieralternatebolditalic          fourieralternatebolditalic     
/home/nik/.fonts/MathFonts/FourierGUT/fourier-alt-boldita.afm
fourieralternatebolditalicbold      fourieralternatebolditalic     
/home/nik/.fonts/MathFonts/FourierGUT/fourier-alt-boldita.afm
fourieralternateitalic              fourieralternateitalic         
/home/nik/.fonts/MathFonts/FourierGUT/fourier-alt-ita.afm
fourieralternateitalicnormal        fourieralternateitalic         
/home/nik/.fonts/MathFonts/FourierGUT/fourier-alt-ita.afm
fourieralternateroman               fourieralternateroman          
/home/nik/.fonts/MathFonts/FourierGUT/fourier-alt.afm
fourieralternateromannormal         fourieralternateroman          
/home/nik/.fonts/MathFonts/FourierGUT/fourier-alt.afm
fourieralternatesemibold            fourieralternatesemibold       
/home/nik/.fonts/MathFonts/FourierGUT/fourier-alt-semi.afm
fourieralternatesemiboldsemibold    fourieralternatesemibold       
/home/nik/.fonts/MathFonts/FourierGUT/fourier-alt-semi.afm
fourieralternatesemitalic           fourieralternatesemitalic      
/home/nik/.fonts/MathFonts/FourierGUT/fourier-alt-semiita.afm
fourieralternatesemitalicsemibold   fourieralternatesemitalic      
/home/nik/.fonts/MathFonts/FourierGUT/fourier-alt-semiita.afm
*fouriermathblackboard               fouriermathblackboard          
/home/nik/.fonts/MathFonts/FourierGUT/fourier-bb.afm
fouriermathblackboardblack          fouriermathblackboard          
/home/nik/.fonts/MathFonts/FourierGUT/fourier-bb.afm
fouriermathcal                      fouriermathcal                 
/home/nik/.fonts/MathFonts/FourierGUT/fourier-mcl.afm
fouriermathcalnormal                fouriermathcal                 
/home/nik/.fonts/MathFonts/FourierGUT/fourier-mcl.afm
fouriermathextension                fouriermathextension           
/home/nik/.fonts/MathFonts/FourierGUT/fourier-mex.afm
fouriermathextensionmedium          fouriermathextension           
/home/nik/.fonts/MathFonts/FourierGUT/fourier-mex.afm
fouriermathletters                  fouriermathletters             
/home/nik/.fonts/MathFonts/FourierGUT/fourier-ml.afm
fouriermathlettersbold              fouriermathlettersbold         
/home/nik/.fonts/MathFonts/FourierGUT/fourier-mlb.afm
fouriermathlettersbolditalic        fouriermathlettersbolditalic   
/home/nik/.fonts/MathFonts/FourierGUT/fourier-mlitb.afm
fouriermathlettersitalic            fouriermathlettersitalic       
/home/nik/.fonts/MathFonts/FourierGUT/fourier-mlit.afm
fouriermathlettersnormal            fouriermathletters             
/home/nik/.fonts/MathFonts/FourierGUT/fourier-ml.afm
fouriermathsymbols                  fouriermathsymbols             
/home/nik/.fonts/MathFonts/FourierGUT/fourier-ms.afm
fouriermathsymbolsnormal            fouriermathsymbols             
/home/nik/.fonts/MathFonts/FourierGUT/fourier-ms.afm*
fourierorns                         fourierorns                    
/home/nik/.fonts/MathFonts/FourierGUT/fourier-orns.afm
fourierornsnormal                   fourierorns                    
/home/nik/.fonts/MathFonts/FourierGUT/fourier-orns.afm

Kind regards
Nik


On 10/28/2010 02:57 PM, Hans Hagen wrote:
> On 27-10-2010 3:49, nitralime wrote:
>> I have made a mistake in my typescript. Here is the corrected version:
>>
>> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>> ..............
>> \starttypescript [math] [fourier][texnansi]
>> \definefontsynonym [Fourier-Math-Letters] [name:fouriermathletters]
>> \definefontsynonym [Fourier-Math-Letters-Italic]
>> [name:fouriermathlettersitalic]
>> \definefontsynonym [Fourier-Math-Letters-Bold]
>> [name:fouriermathlettersbold]
>> \definefontsynonym [Fourier-Math-Letters-BoldItalic]
>> [name:fouriermathlettersbolditalic]
>> \definefontsynonym [Fourier-Math-Blackboard] 
>> [name:fouriermathblackboard]
>> \definefontsynonym [Fourier-Math-Calligraphic] [name:fouriermathcal]
>> \definefontsynonym [Fourier-Math-Symbols] [name:fouriermathsymbols]
>> \definefontsynonym [Fourier-Math-Extension] [name:fouriermathextension]
>> %-----------------------------------------------------------------------
>> \definefontsynonym [Euler-Fraktur] [name:eufm10]
>> \definefontsynonym [Euler-Fraktur-Bold] [name:eufb10]
>> %-----------------------------------------------------------------------
>> \stoptypescript
>> ..............
>> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>>
>> However, this correction has not affected the final result. The same
>> problem as before:-(
>
> It does not work that way in mkiv.
>
> (1) you need a proper serif definition:
>
> \starttypescript [serif] [utopia] [name]
>     \definefontsynonym [Serif]            [file:whatever.afm]
>     \definefontsynonym [SerifItalic]      [file:...]
>     \definefontsynonym [SerifBold]        [file:...]
>     \definefontsynonym [SerifBoldItalic]  [file:...]
>     \definefontsynonym [SerifSlanted]     [file:...]
>     \definefontsynonym [SerifBoldSlanted] [file:...]
> \stoptypescript
>
> (2) you need a math definition:
>
> \starttypescript [math] [fourier]
>     \loadfontgoodies[fourier-math]
>     \definefontsynonym[MathRoman][fourier@fourier-math]
> \stoptypescript
>
> (3) now you can define a typeface:
>
> \definetypeface[whatever][rm][serif][utopia] [default]
> \definetypeface[whatever][mm][math] [fourier][default]
>
> \setupbodyfont[whatever]
>
> However, first you need to figure out the right names for the utopia 
> files. Next you need to make a file fourier-math.lfg, like:
>
> return {
>     name = "fourier-math",
>     version = "1.00",
>     comment = "Goodies that complement fourier math.",
>     author = "Hans",
>     copyright = "ConTeXt development team",
>     mathematics = {
>         mapfiles = {
>             "fourier.map",
>         },
>         virtuals = {
>             ["fourier-math"] = {
>                 { name = "futmi.tfm", vector = "tex-mi" },
>                 { name = "futmii.tfm", vector = "tex-it" },
>                 { name = "futsy.tfm", vector = "lbr-sy", 
> skewchar=0x7F, parameters = true },
>                 { name = "fourier-mex.tfm", vector = "tex-ex", 
> extension = true },
>             }
>         }
>     }
> }
>
> This does not work at my end as the names of the files are wrong. 
> Also, more entries are needed (see for instance lucida-math.lfg). I 
> have no time to figure out these names.
>
> (btw, there is already some math utopia support)
>
>
>
> -----------------------------------------------------------------
>                                           Hans Hagen | PRAGMA ADE
>               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
>                                              | www.pragma-pod.nl
> -----------------------------------------------------------------


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

[-- Attachment #2: Type: text/plain, Size: 486 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

      reply	other threads:[~2010-10-28 13:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-26 16:00 Nitralime
2010-10-27  8:29 ` Mikael P. Sundqvist
2010-10-27 13:49   ` nitralime
2010-10-28 12:57     ` Hans Hagen
2010-10-28 13:52       ` nitralime [this message]

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=4CC9801D.2090005@gmail.com \
    --to=nitralime@googlemail.com \
    --cc=nitralime@gmail.com \
    --cc=ntg-context@ntg.nl \
    --cc=pragma@wxs.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).