Hi Hans,
I downloaded the fonts in /home/fab/texmf/fonts/opentype/fourier-GUT then :
fab@debian:~$ mtxrun --script fonts --list --all --pattern=*fourier*
resolvers | trees | analyzing 'home:.texlive2015/texmf-config'
resolvers | trees | analyzing 'home:texmf'
fourieralternateblack fourieralternateblack
fourier-alt-black.afm
fourieralternatebold fourieralternatebold
fourier-alt-bold.afm
fourieralternatebolditalic fourieralternatebolditalic
fourier-alt-boldita.afm
fourieralternatebolditalicbold fourieralternatebolditalic
fourier-alt-boldita.afm
fourieralternateitalic fourieralternateitalic
fourier-alt-ita.afm
fourieralternateitalicnormal fourieralternateitalic
fourier-alt-ita.afm
fourieralternateroman fourieralternateroman
fourier-alt.afm
fourieralternateromannormal fourieralternateroman
fourier-alt.afm
fourieralternatesemibold fourieralternatesemibold
fourier-alt-semi.afm
fourieralternatesemitalic fourieralternatesemitalic
fourier-alt-semiita.afm
fourieralternatesemitalicsemibold fourieralternatesemitalic
fourier-alt-semiita.afm
fouriermathblackboard fouriermathblackboard
fourier-bb.afm
fouriermathblackboardblack fouriermathblackboard
fourier-bb.afm
fouriermathcal fouriermathcal
fourier-mcl.afm
fouriermathcalnormal fouriermathcal
fourier-mcl.afm
fouriermathextension fouriermathextension
fourier-mex.afm
fouriermathextensionmedium fouriermathextension
fourier-mex.afm
fouriermathletters fouriermathletters
fourier-ml.afm
fouriermathlettersbold fouriermathlettersbold
fourier-mlb.afm
fouriermathlettersbolditalic fouriermathlettersbolditalic
fourier-mlitb.afm
fouriermathlettersitalic fouriermathlettersitalic
fourier-mlit.afm
fouriermathlettersnormal fouriermathletters
fourier-ml.afm
fouriermathsymbols fouriermathsymbols
fourier-ms.afm
fouriermathsymbolsbold fouriermathsymbols
fourier-ms.afm
fourierorns fourierorns
fourier-orns.afm
fourierornsnormal fourierorns
fourier-orns.afm
fab@debian:~$
I begin with the text without math :
\starttypescript [serif] [fourier]
\setups[font:fallback:serif]
\definefontsynonym [Fourier-Regular]
[file:fourier-alt-black.afm]
\definefontsynonym [Fourier-Italic] [file:fourier-alt-ita.afm]
\definefontsynonym [Fourier-Bold] [file:fourier-alt-bold.afm]
\definefontsynonym [Fourier-BoldItalic]
[file:fourier-alt-boldita.afm]
\stoptypescript
\starttypescript [serif] [fourier] [name]
\setups[font:fallback:serif]
\definefontsynonym [Serif] [Fourier-Regular]
\definefontsynonym [SerifItalic] [Fourier-Italic]
\definefontsynonym [SerifBold] [Fourier-Bold]
\definefontsynonym [SerifBoldItalic] [Fourier-BoldItalic]
\stoptypescript
\definetypeface [mainface] [rm] [serif] [fourier] [default]
\setupbodyfont[mainface]
\starttext
\input knuth
\stoptext
Unfortunately, the output file is empty.
Thanks
Fabrice
2016-04-11 19:08 GMT+02:00 Hans Hagen
On 4/11/2016 12:43 PM, Fabrice Couvreur wrote:
Hi, With Latex, just do it :
\usepackage[T1]{fontenc} \usepackage{fourier}
I'm confused about how to do it with Context. Thanks for your help.
you need a typescript file for it an dit being 8 bit fonts you also need a virtual font definition file (like the px, tx and mathdesign fonts have) ... no big deal (one time job) but someone has to do it (so far no one needed fourier i guess)
Hans
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
___________________________________________________________________________________ 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
___________________________________________________________________________________