ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Elspeth McGullicuddy <elspethmcgullicuddy@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: kpfonts, math, type 1 font
Date: Tue, 7 Jan 2014 20:39:57 +0100	[thread overview]
Message-ID: <CAGMMSTBJNrBeqN5yCWTm1rsLbLzuhcC6Vy1W_XXsryRSoD00FA@mail.gmail.com> (raw)
In-Reply-To: <52CC1DF6.7060005@wxs.nl>

On Tue, Jan 7, 2014 at 4:32 PM, Hans Hagen <pragma@wxs.nl> wrote:
> On 1/7/2014 4:35 AM, Elspeth McGullicuddy wrote:
>
>> The Garamond-math one might be that: "mdugm-math.lfg:
>>
>> return {
>>      name = "mdugm-math",
>>      version = "1.00",
>>      comment = "Math fonts that complement URW Garamond.",
>>      author = "Hans, Mojca, Aditya",
>>      copyright = "ConTeXt development team",
>>      mathematics = {
>>          mapfiles = {
>>              "mdugm.map",
>>              "mkiv-base.map",
>>          },
>>          virtuals = {
>>              ["mdugm-rm"] = {
>>                  { name = "file:ugmr8a", features = "virtualmath", main =
>> true },
>>                  { name = "mdugmr7m",  vector = "tex-mr", skewchar=0x7F },
>>                  { name = "mdugmri7m", vector = "tex-mi", skewchar=0x7F },
>>                  { name = "mdugmri7m", vector = "tex-it", skewchar=0x7F },
>>                  { name = "mdugmm7m",  vector = "tex-bf", skewchar=0x7F },
>>                  { name = "mdugmmi7m", vector = "tex-bi", skewchar=0x7F },
>>                  { name = "mdugmr7y",  vector = "tex-sy",
>> skewchar=0x30, parameters = true },
>>                  { name = "mdugmr7v",  vector = "tex-ex", extension = true
>> },
>>                  { name = "mdugmrma",  vector = "tex-ma" },
>>                  { name = "mdugmrmb",  vector = "tex-mb" },
>>              },
>>              ["mdugm-bf"] = {
>>                  { name = "file:ugmm8a", features = "virtualmath", main =
>> true },
>>                  { name = "mdugmm7m",  vector = "tex-mr", skewchar=0x7F },
>>                  { name = "mdugmmi7m", vector = "tex-mi", skewchar=0x7F },
>>                  { name = "mdugmmi7m", vector = "tex-it", skewchar=0x7F },
>>                  { name = "mdugmm7y",  vector = "tex-sy",
>> skewchar=0x30, parameters = true },
>>                  { name = "mdugmm7v",  vector = "tex-ex", extension = true
>> },
>>                  { name = "mdugmmma",  vector = "tex-ma" },
>>                  { name = "mdugmmmb",  vector = "tex-mb" },
>>              }
>>          }
>>      }
>> }
>
>
> indeed you have to make such a table for any math font combination you want
> (when using type 1 fonts)
>
>> In this example, I believe the files involved are tfm files
>> (ugmr8a.tfm, mdugmr7m.vf, in
>> http://packages.debian.org/squeeze/all/texlive-fonts-extra/filelist)
>>
>> Note: the afm files of kpfonts are ziped in the doc directory.
>> And I've got vf files, 688 of them.
>
>
> normally you don't need more files than the ones you mention in the table;
> best prevent too much polution of your tree by tfm/vf files
>
> (if you know exactly what you need you can make a path fonts/data/xxx/
> and put all relevant files there so that you keep the overview)
>
> Hans

Thanks, I'll experiment in that direction and say when there are results.

The files like tfm, afm, pfb,... seem to be found alright by "mtxrun
--script fonts --reload" when they are in the ${HOME}/texmf/fonts/
tree, so I think I can leave them there.

So I should make a sort of copy of "mdugm-math.lgf" and call it
"kpfonts-math.lgf", and put it in
${HOME}/context/tex/texmf-context/tex/context/fonts/.

[Do the same with a copy of "type-imp-mathdesign.mkiv", which
contains: "\loadfontgoodies[mdugm-math]".] Or rather put a typescript
in my document file as explained here:
http://wiki.contextgarden.net/Math_fonts, and insert some
"\loadfontgoodies[kpfonts-math]" in it.

Execute: "context --make en". And that should be it.

What is the "\s!" syntax for, as in "\s!Serif"?

Chris
___________________________________________________________________________________
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:[~2014-01-07 19:39 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-06 18:56 Elspeth McGullicuddy
2014-01-06 23:09 ` Wolfgang Schuster
2014-01-07  3:35   ` Elspeth McGullicuddy
2014-01-07 15:32     ` Hans Hagen
2014-01-07 19:39       ` Elspeth McGullicuddy [this message]
2014-01-07 19:48         ` Wolfgang Schuster
2014-01-10  3:54           ` Elspeth McGullicuddy
2014-01-10 22:38             ` Elspeth McGullicuddy
2014-01-11 14:03               ` Wolfgang Schuster
2014-01-11 18:36                 ` Elspeth McGullicuddy
2014-01-11 19:48                   ` Elspeth McGullicuddy

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=CAGMMSTBJNrBeqN5yCWTm1rsLbLzuhcC6Vy1W_XXsryRSoD00FA@mail.gmail.com \
    --to=elspethmcgullicuddy@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).