ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Fabrice Couvreur <fabrice1.couvreur@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Fourier install fonts
Date: Tue, 12 Apr 2016 13:19:33 +0200	[thread overview]
Message-ID: <CACyK-eo1D-OnzZtgfPxCFFONKCS8fqByddbh0aheJExGE52xCw@mail.gmail.com> (raw)
In-Reply-To: <570BDA20.2070901@wxs.nl>


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

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 <pragma@wxs.nl>:

> 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
>
> ___________________________________________________________________________________

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

[-- Attachment #2: Type: text/plain, Size: 485 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:[~2016-04-12 11:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-11 10:43 Fabrice Couvreur
2016-04-11 17:08 ` Hans Hagen
2016-04-12 11:19   ` Fabrice Couvreur [this message]
2016-04-12 11:59     ` Hans Hagen
2016-04-15  8:51       ` Fabrice Couvreur
2016-04-17  9:22         ` Hans Hagen

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=CACyK-eo1D-OnzZtgfPxCFFONKCS8fqByddbh0aheJExGE52xCw@mail.gmail.com \
    --to=fabrice1.couvreur@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).