ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mojca Miklavec <mojca.miklavec.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Mathdesign and Fourier fonts (was What do you miss in ConTeXt?)
Date: Sun, 14 Feb 2010 23:24:00 +0100	[thread overview]
Message-ID: <6faad9f01002141424i18327f0ahb2ee7f8ae2993c50@mail.gmail.com> (raw)
In-Reply-To: <d5fddde01002141106m520b7366t7464dd5939a3730b@mail.gmail.com>

On Sun, Feb 14, 2010 at 20:06, Mikael Persson wrote:
> On Wed, Feb 10, 2010 at 3:24 PM, Wolfgang Schuster wrote:
>> Am 10.02.10 09:00, schrieb Mikael Persson:
>>
>> MkIV has support for the Charter and the Mathdesign fonts.
>>
>> \definetypafec[charter][rm][serif][charter]     [default]
>> %\definetypafec[charter][mm][math] [mathdesignch][default]
>> \definetypafec[charter][mm][math] [charter]     [default]
>>
>> What's missing are the fonts but they are already on the server [1],
>> Mojca should be able to tell you how you can install them.
>>
>> [1] http://minimals.contextgarden.net/current/fonts/extra/
>>
>> Wolfgang
>
> Thanks for your reply Wolfgang. I use the minimals and have some
> further questions:
>
> 1) Is there any way to use first-setup.sh to install these fonts?

At the moment there is a switch
    --extras=t-module1name,t-module2name

the following quick-and dirty patch should enable you to use
    --extras=mathdesign

But then you need to convince Hans to apply the patch (or maybe
improve it before that):

if extras and type(extras) == "table" then
    -- fetch the list of available modules from rsync server
    local available_modules = get_list_of_files_from_rsync({"modules/"})
    local available_fonts   = get_list_of_files_from_rsync({"fonts/extra/"})
    -- hash of requested modules
    -- local h = table.tohash(extras:split(","))
    for _, s in ipairs(available_modules) do
    --  if extras == "all" or h[s] then
        if extras.all or extras[s] then
            scripts.update.modules[#scripts.update.modules+1] = {
format("modules/%s/",s), "texmf-context" }
        end
    end
    for _, s in ipairs(available_fonts) do
        if extras.all or extras[s] then
            scripts.update.modules[#scripts.update.modules+1] = {
format("fonts/extra/%s/",s), "texmf" }
        end
    end
    -- TODO: check if every module from the list has been added and
issue warning otherwise
    -- one idea to do it: remove every value from h once added and
then check if anything is left in h
end


> 2) The type1 dir is empty. Is that on purpose? Should one download the
> pfb files from ctan?

No, it was a mistake. I had a "fonts/*/public/mathdesign" in pattern,
but mathdesign is not under "public" in TeX Live. Either I didn't test
it properly or TeX Live has changed their location, but the first
option is way more probable.

I have a feeling that some other font has been requested recently, but
I don't recall which one/who wrote that (I don't find the mail any
more).

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

  parent reply	other threads:[~2010-02-14 22:24 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-14 19:06 Mikael Persson
2010-02-14 19:16 ` Wolfgang Schuster
2010-02-14 19:33 ` Aditya Mahajan
2010-02-14 22:24 ` Mojca Miklavec [this message]
2010-02-14 22:26   ` Mojca Miklavec
2010-02-16 10:38     ` Mikael Persson
2010-02-16 12:31       ` Hans Hagen
     [not found]         ` <d5fddde01002160442i3159ec2cn71c33eca85e137f4@mail.gmail.com>
2010-02-17 21:10           ` Mikael Persson
2010-02-20 10:15             ` Mikael Persson
2010-02-20 13:58               ` Mojca Miklavec
2010-02-20 14:02                 ` Mojca Miklavec
2010-02-15  4:43   ` Aditya Mahajan

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=6faad9f01002141424i18327f0ahb2ee7f8ae2993c50@mail.gmail.com \
    --to=mojca.miklavec.lists@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).