[NTG-context] Mathdesign GD with simplefonts

Magnus J mjo.lists at gmail.com
Tue Oct 8 18:26:31 CEST 2013


With mathdesigngd (which is intended to complement Adobe Garamond Pro, and
the one that I want), I get
  fonts           > typescripts > unknown library 'mathdesigngd'
in the output. With mathdesigngm, I get (cropped output)

system          > tex > error on line 8 in file /tmp/test.tex: LuaTeX
error  ...

 1
 2     \usetypescriptfile[mathdesign]
 3
 4     \usemodule[simplefonts]
 5
 6     \setmainfont[Adobe Garamond Pro]
 7     \setmathfont[mathdesigngm]
 8 >>
 9     \starttext
10     I want \m{x^2+y^2=z^2} in my text, and $\alpha\beta\gamma$ too.
11     \stoptext


\ctxcommand #1^^@-\directlua {commands.#1}

\font_helpers_low_level_define ...caledfontmode )}
                                                  \edef \somefontspec {at
\n...
\font_helpers_trigger_define ..._identifier_class
                                                  \csname
\v_font_identifier...
\font_helpers_set_math_family_a ...ily \endcsname
                                                  \else
\font_helpers_set_ma...
\font_helpers_set_math_family_indeed ..._family_a
                                                  \scriptscriptfont #1\font
...
\font_helpers_set_math_family ...amily_indeed #1#2
                                                  \fi \else
\font_helpers_se...
...
l.8


What now?

Regards,

Magnus


On Tue, Oct 8, 2013 at 6:08 PM, Wolfgang Schuster <
schuster.wolfgang at gmail.com> wrote:

>
> Am 08.10.2013 um 17:42 schrieb Magnus J <mjo.lists at gmail.com>:
>
> > I have the fonts and they are reported as mathdesigngd by the mtxrun
> fonts script -- sorry if this was unclear. How do I proceed from here?
>
>
> This should work (can’t test it myself):
>
> \usetypescriptfile[mathdesign]
>
> \usemodule[simplefonts]
>
> \setmainfont[Adobe Garamond Pro]
> \setmathfont[mathdesigngm]
>
> \starttext
> I want \m{x^2+y^2=z^2} in my text, and $\alpha\beta\gamma$ too.
> \stoptext
>
> Wolfgang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20131008/3165f065/attachment.html>


More information about the ntg-context mailing list