ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: nitralime <nitralime@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Using fourier-GUT as math font
Date: Wed, 27 Oct 2010 15:49:27 +0200	[thread overview]
Message-ID: <4CC82DE7.10909@gmail.com> (raw)
In-Reply-To: <AANLkTikKzpLb0Z33YQ5v3qAwoeKmqDRHRvoLhFLwzzzc@mail.gmail.com>


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

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:-(

Regards
Nik

On 10/27/2010 10:29 AM, Mikael P. Sundqvist wrote:
> On Tue, Oct 26, 2010 at 6:00 PM, Nitralime<nitralime@googlemail.com>  wrote:
>> Hi folks!
>>
>> I'm new to ConTeXt and right now playing around with its minimal
>> distribution (MkIV).
>> Trying to tinker with my very first typescript I have downloaded the ZIP
>> archive
>> of fourier-GUT fonts from CTAN and extracted the afm and pfb files into a
>> new
>> directory on the OSFONTDIR path and updated the ConTeXt font cache.
>> Looking at the typescript definition of "fourier" in "type-one.mkii"
>> and using the other samples on ConTeXt wiki pages I produced the following
>> typescript:
>>
>> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>>
>> %%== Serif Fonts
>> ===============================================================
>>
>> \starttypescript [serif] [baskerville]
>>      \definefontsynonym [Baskerville-Regular]
>> [name:baskerville]               [features=default]
>>      \definefontsynonym [Baskerville-Bold]
>> [name:baskervillebold]           [features=default]
>>      \definefontsynonym [Baskerville-Italic]
>> [name:baskervilleitalic]         [features=default]
>>      \definefontsynonym [Baskerville-BoldItalic]
>> [name:baskervillebolditalic]     [features=default]
>>      \definefontsynonym [Baskerville-Semibold]
>> [name:baskervillesemibold]       [features=default]
>>      \definefontsynonym [Baskerville-SemiboldItalic]
>> [name:baskervillesemibolditalic] [features=default]
>> \stoptypescript
>>
>> \starttypescript [serif] [baskerville] [name]
>>      \usetypescript [serif][fallback]
>>      \definefontsynonym [Serif]               [Baskerville-Regular]
>> [features=default]
>>      \definefontsynonym [SerifItalic]         [Baskerville-Italic]
>> [features=default]
>>      \definefontsynonym [SerifBold]           [Baskerville-Bold]
>> [features=default]
>>      \definefontsynonym [SerifBoldItalic]     [Baskerville-BoldItalic]
>> [features=default]
>>      \definefontsynonym [SerifSemibold]       [Baskerville-Semibold]
>> [features=default]
>>      \definefontsynonym [SerifSemiboldItalic] [Baskerville-SemiboldItalic]
>> [features=default]
>> \stoptypescript
>>
>> %%== Sans Serif Fonts
>> ==========================================================
>>
>> \starttypescript [sans] [gillsans]
>>      \definefontsynonym [GillSans-Regular]      [name:gillsans]
>> [features=default]
>>      \definefontsynonym [GillSans-Bold]         [name:gillsansbold]
>> [features=default]
>>      \definefontsynonym [GillSans-Italic]       [name:gillsansitalic]
>> [features=default]
>>      \definefontsynonym [GillSans-BoldItalic]   [name:gillsansbolditalic]
>> [features=default]
>>      \definefontsynonym [GillSans-Light]        [name:gillsanslight]
>> [features=default]
>>      \definefontsynonym [GillSans-LightdItalic] [name:gillsanslightitalic]
>> [features=default]
>> \stoptypescript
>>
>> \starttypescript [sans] [gillsans] [name]
>>      \usetypescript [sans][fallback]
>>      \definefontsynonym [Sans]               [GillSans-Regular]
>> [features=default]
>>      \definefontsynonym [SansItalic]         [GillSans-Italic]
>> [features=default]
>>      \definefontsynonym [SansBold]           [GillSans-Bold]
>> [features=default]
>>      \definefontsynonym [SansBoldItalic]     [GillSans-BoldItalic]
>> [features=default]
>>      \definefontsynonym [SansLight]          [GillSans-Light]
>> [features=default]
>>      \definefontsynonym [SansLightItalic]    [GillSans-LightItalic]
>> [features=default]
>> \stoptypescript
>>
>> %%== Mono Type Fonts
>> ===========================================================
>>
>> \starttypescript [mono] [consolas]
>>      \definefontsynonym [Consolas-Regular]      [name:consolas]
>> [features=default]
>>      \definefontsynonym [Consolas-Bold]         [name:consolasbold]
>> [features=default]
>>      \definefontsynonym [Consolas-Italic]       [name:consolasitalic]
>> [features=default]
>>      \definefontsynonym [Consolas-BoldItalic]   [name:consolasbolditalic]
>> [features=default]
>> \stoptypescript
>>
>> \starttypescript [mono] [consolas] [name]
>>      \usetypescript [mono][fallback]
>>      \definefontsynonym [Mono]               [Consolas-Regular]
>> [features=default]
>>      \definefontsynonym [MonoItalic]         [Consolas-Italic]
>> [features=default]
>>      \definefontsynonym [MonoBold]           [Consolas-Bold]
>> [features=default]
>>      \definefontsynonym [MonoBoldItalic]     [Consolas-BoldItalic]
>> [features=default]
>> \stoptypescript
>>
>>
>> %%== Math Fonts
>> ================================================================
>>
>> \starttypescript [math] [fourier][texnansi]
>>      \definefontsynonym [Fourier-Math-Letters]            [name:fourier-ml]
>>      \definefontsynonym [Fourier-Math-Letters-Italic]     [name:fourier-mlit]
>>      \definefontsynonym [Fourier-Math-Letters-Bold]       [name:fourier-mlb]
>>      \definefontsynonym [Fourier-Math-Letters-BoldItalic]
>> [name:fourier-mlbit]
>>      \definefontsynonym [Fourier-Math-Blackboard]         [name:fourier-bb]
>>      \definefontsynonym [Fourier-Math-Calligraphic]       [name:fourier-mcl]
>>      \definefontsynonym [Fourier-Math-Symbols]            [name:fourier-ms]
>>      \definefontsynonym [Fourier-Math-Extension]          [name:fourier-mex]
>>      %-----------------------------------------------------------------------
>>      \definefontsynonym [Euler-Fraktur]                   [name:eufm10]
>>      \definefontsynonym [Euler-Fraktur-Bold]              [name:eufb10]
>>      %-----------------------------------------------------------------------
>> \stoptypescript
>>
>> \starttypescript [math] [fourier] [name]
>>      \definefontsynonym [MathRoman]        [Fourier-Math-Letters]
>>      \definefontsynonym [MathItalic]       [Fourier-Math-Letters-Italic]
>>      \definefontsynonym [MathSymbol]       [Fourier-Math-Symbols]
>>      \definefontsynonym [MathExtension]    [Fourier-Math-Extension]
>>      %-----------------------------------------------------------------------
>>      \definefontsynonym [MathBlackboard]   [Fourier-Math-Blackboard]
>>      \definefontsynonym [MathCalligraphic] [Fourier-Math-Calligraphic]
>>      \definefontsynonym [MathFraktur]      [Euler-Fraktur]
>>      \definefontsynonym [MathGothic]       [Euler-Fraktur]
>> \stoptypescript
>>
>> \starttypescript [boldmath] [fourier] [name]
>>      \definefontsynonym [MathRoman]        [Fourier-Math-Letters-Bold]
>>      \definefontsynonym [MathItalic]       [Fourier-Math-Letters-BoldItalic]
>>      \definefontsynonym [MathSymbol]       [Fourier-Math-Symbols]
>>      \definefontsynonym [MathExtension]    [Fourier-Math-Extension]
>>      %-----------------------------------------------------------------------
>>      \definefontsynonym [MathBlackboard]   [Fourier-Math-Blackboard]
>>      \definefontsynonym [MathCalligraphic] [Fourier-Math-Calligraphic]
>>      \definefontsynonym [MathFraktur]      [Euler-Fraktur-Bold]
>>      \definefontsynonym [MathGothic]       [Euler-Fraktur-Bold]
>> \stoptypescript
>>
>> \starttypescript [bfmath] [fourier] [name]
>>      \definefontsynonym [MathRomanBold]    [Fourier-Math-Letters-Bold]
>>      \definefontsynonym [MathItalicBold]   [Fourier-Math-Letters-BoldItalic]
>>      \definefontsynonym [MathSymbol]       [Fourier-Math-Symbols]
>>      \definefontsynonym [MathExtension]    [Fourier-Math-Extension]
>>      %-----------------------------------------------------------------------
>>      \definefontsynonym [MathBlackboard]   [Fourier-Math-Blackboard]
>>      \definefontsynonym [MathCalligraphic] [Fourier-Math-Calligraphic]
>>      \definefontsynonym [MathFraktur]      [Euler-Fraktur-Bold]
>>      \definefontsynonym [MathGothic]       [Euler-Fraktur-Bold]
>> \stoptypescript
>>
>> \starttypescript [math] [fourier] [name]
>>      \definefontsynonym [OldStyle]     [MathItalic]
>>      \definefontsynonym [Fraktur]      [MathFraktur]
>>      \definefontsynonym [Blackboard]   [MathBlackboard]
>>      \definefontsynonym [Gothic]       [MathGothic]
>>      \definefontsynonym [Calligraphic] [MathCalligraphic]
>> \stoptypescript
>>
>> %%==============================================================================
>>
>> \starttypescript [Baskerville]
>>      \definetypeface [Baskerville] [rm] [serif] [baskerville] [default]
>>      \definetypeface [Baskerville] [ss] [sans]  [gillsans]    [default]
>> [rscale=0.895]
>>      \definetypeface [Baskerville] [tt] [mono]  [consolas]    [default]
>> [rscale=0.825]
>>      \definetypeface [Baskerville] [mm] [math]  [fourier]     [default]
>> \stoptypescript
>>
>> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>>
>> An immediate test has shown that unfortunately the math part of a short
>> sample text
>> isn't displayed properly. I have also tried it using "ec" and "default"
>> instead
>> of "texnansi" (cf. \starttypescript [math] [fourier][texnansi]) with a
>> similar
>> result (in these cases except a Greek letter all of math part is missing
>> in the pdf output).
>>
>> I'm using ConTeXt/LuaTeX version 2010.09.27 on (Arch)linux 64bit.
>>
>> Any help or suggestion is very much appreciated!
>>
>> Best regards
>> Nik
>>
> I am sorry not begin able to help. I have tried this many times but
> have not got it to work either (it actually did work very fin back in
> 2007 or 2008 in mkii). Search for fourier at
> http://archive.contextgarden.net/splash/index.html for some previous
> discussions on this topic.
>
> Best regards, Mikael


[-- Attachment #1.2: Type: text/html, Size: 12532 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-27 13:49 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 [this message]
2010-10-28 12:57     ` Hans Hagen
2010-10-28 13:52       ` nitralime

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=4CC82DE7.10909@gmail.com \
    --to=nitralime@googlemail.com \
    --cc=nitralime@gmail.com \
    --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).