![](https://secure.gravatar.com/avatar/539d22ab47b6f5ad7e5178acd31b5c56.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/3d131c6a351a6b0092c19b389bd99cf0.jpg?s=120&d=mm&r=g)
On Tue, Oct 26, 2010 at 6:00 PM, Nitralime
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
![](https://secure.gravatar.com/avatar/539d22ab47b6f5ad7e5178acd31b5c56.jpg?s=120&d=mm&r=g)
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
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
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
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 -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/539d22ab47b6f5ad7e5178acd31b5c56.jpg?s=120&d=mm&r=g)
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 -----------------------------------------------------------------
participants (4)
-
Hans Hagen
-
Mikael P. Sundqvist
-
nitralime
-
Nitralime