From: Elspeth McGullicuddy <elspethmcgullicuddy@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: kpfonts, math, type 1 font
Date: Fri, 10 Jan 2014 04:54:10 +0100 [thread overview]
Message-ID: <CAGMMSTCsMYSFL-yKMvYkSs=Sdk4rMeYmk904rahuBwdEx4H6TQ@mail.gmail.com> (raw)
In-Reply-To: <F08AA785-FD32-40F0-8BB7-25A7B9355514@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 974 bytes --]
On Tue, Jan 7, 2014 at 8:48 PM, Wolfgang Schuster
<schuster.wolfgang@gmail.com> wrote:
>
> You can also put the goodies files and the typescript file in the same
> folder as your test files which makes it easier to test them and to make
> changes. When you’re finished you can let us take a look at them
> and Hans can add them to the core.
Two files: kpfonts-math.lfg and testfile004.tex.
It works rather well with the formulas of that file:
https://github.com/khaledhosny/euler-otf/blob/master/tests/test.tex.
Main issue: $\bf \Gamma$ produces "medium" \Gamma, though:
["kpfonts-bf"] = {...
{ name = "jkpbmia", vector = "tex-mr", skewchar=0x7F },
should make it bold.
Why is this vector never selected?
Other issue: Two consecutive \Gamma, are overlapping a lot.
In case I add a vector for a script font which is in jkpsyd.pfb. What
font switch would be used to select this vector (vector="tex-md")?
Chris
>
> Wolfgang
>
[-- Attachment #2: kpfonts-math.lfg --]
[-- Type: application/octet-stream, Size: 1953 bytes --]
-- filename: kpfonts-math.lfg
-- http://www.ctan.org/tex-archive/fonts/kpfonts
-- kpfonts – A complete set of fonts for text and mathematics
-- type-1 font
-- http://www.fileformat.info/info/unicode/char/1d468/index.htm
-- "vectors": math-ttv.lua.
return {
name = "kpfonts-math",
version = "1.00",
comment = "kpfonts, math part.",
author = "Chris",
copyright = "ConTeXt development team",
mathematics = {
mapfiles = {
"kpfonts.map",
"mkiv-base.map",
},
virtuals = {
["kpfonts-rm"] = { -- MathRoman
{ name = "file:jkpmn8a", features = "virtualmath", main = true },
{ name = "jkpmia", vector = "tex-mr", skewchar=0x7F },
{ name = "jkpmi", vector = "tex-mi", skewchar=0x7F },
{ name = "jkpmi", vector = "tex-it", skewchar=0x7F },
{ name = "jkpbn8a", vector = "tex-bf", skewchar=0x7F },
{ name = "jkpbmi", vector = "tex-bi", skewchar=0x7F },
{ name = "jkpsy", vector = "tex-sy", skewchar=0x30, parameters = true },
{ name = "jkpex", vector = "tex-ex", extension = true },
{ name = "jkpsya", vector = "tex-ma" },
{ name = "jkpsyb", vector = "tex-mb" },
},
["kpfonts-bf"] = { -- MathRomanBold
{ name = "file:jkpbn8a", features = "virtualmath", main = true },
{ name = "jkpbmia", vector = "tex-mr", skewchar=0x7F },
{ name = "jkpbmi", vector = "tex-mi", skewchar=0x7F },
{ name = "jkpbmi", vector = "tex-it", skewchar=0x7F },
{ name = "jkpbsy", vector = "tex-sy", skewchar=0x30, parameters = true },
{ name = "jkpbex", vector = "tex-ex", extension = true },
{ name = "jkpbsya", vector = "tex-ma" },
{ name = "jkpbsyb", vector = "tex-mb" },
}
}
}
}
-- Local Variables:
-- mode: lua
-- End:
[-- Attachment #3: testfile004.tex --]
[-- Type: application/x-tex, Size: 1990 bytes --]
[-- Attachment #4: 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
___________________________________________________________________________________
next prev parent reply other threads:[~2014-01-10 3:54 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
2014-01-07 19:48 ` Wolfgang Schuster
2014-01-10 3:54 ` Elspeth McGullicuddy [this message]
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='CAGMMSTCsMYSFL-yKMvYkSs=Sdk4rMeYmk904rahuBwdEx4H6TQ@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).