Problem to install Garamond font with mathdesign
![](https://secure.gravatar.com/avatar/23fd5fd7c9582675882a5336e1927a44.jpg?s=120&d=mm&r=g)
Hello, The following code does not load the Garamond font:
\loadtypescriptfile[mathdesign] \setupbodyfont[garamond]
\starttext
Some random text and \math{f(x)=x^2+2x+4}
\stoptext
mtx-context | run 1: luatex --fmt="/home/fab/texlive/2013/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en" --jobname="demo2" --lua="/home/fab/texlive/2013/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en.lui" --no-parse-first-line --c:currentrun=1 --c:fulljobname="./demo2.tex" --c:input="./demo2.tex" --c:kindofrun=1 --c:maxnofruns=8 "cont-yes.mkiv" This is LuaTeX, Version beta-0.76.0-2013061708 (rev 4627) \write18 enabled. (/home/fab/texlive/2013/texmf-dist/tex/context/base/cont-yes.mkiv
ConTeXt ver: 2013.05.28 00:36 MKIV current fmt: 2013.12.31 int: english/english
system > 'cont-new.mkiv' loaded (/home/fab/texlive/2013/texmf-dist/tex/context/base/cont-new.mkiv) system > files > jobname 'demo2', input './demo2', result 'demo2' fonts > latin modern fonts are not preloaded languages > language 'en' is active (/home/fab/demo2.tex (/home/fab/texlive/2013/texmf-dist/tex/context/base/type-imp-mathdesign.mkiv) fonts > typescripts > unknown library 'loc' fonts > typescripts > unknown library 'garamond' fonts > preloading latin modern fonts (third stage) {/home/fab/texlive/2013/texmf-dist/fonts/map/dvips/lm/lm-math.map}{/home/fab/texlive/2013/texmf-dist/fonts/map/dvips/lm/lm-rm.map}{/home/fab/texlive/2013/texmf-dist/fonts/map/pdftex/context/mkiv-base.map} fonts > 'fallback modern rm 12pt' is loaded backend > xmp > using file '/home/fab/texlive/2013/texmf-dist/tex/context/base/lpdf-pdx.xml' pages > flushing realpage 1, userpage 1 ) )
mkiv lua stats > used config file: selfautoparent:/texmfcnf.lua;selfautoparent:/texmf-dist/web2c/texmfcnf.lua mkiv lua stats > used cache path: readable+writable: '/home/fab/texlive/2013/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9' mkiv lua stats > resource resolver: loadtime 0.084 seconds, 2 scans with scantime 0.012 seconds, 31 shared scans, 14 found files, scanned paths: /home/fab/.texlive2013/texmf-config /home/fab/texmf mkiv lua stats > stored bytecode data: 329 modules (0.180 sec), 69 tables (0.000 sec), 398 chunks (0.180 sec) mkiv lua stats > cleaned up reserved nodes: 41 nodes, 9 lists of 441 mkiv lua stats > node memory usage: 2 glue, 2 penalty, 9 attribute, 28 glue_spec, 3 attribute_list mkiv lua stats > node list callback tasks: 6 unique task lists, 6 instances (re)created, 40 calls mkiv lua stats > used backend: pdf (backend for directly generating pdf output) mkiv lua stats > loaded patterns: en::2, load time: 0.000 mkiv lua stats > jobdata time: 0.001 seconds saving, 0.000 seconds loading mkiv lua stats > callbacks: 143 direct, 219 indirect, 362 total mkiv lua stats > randomizer: resumed with value 0.065744742781736 mkiv lua stats > lxml preparation time: 0.000 seconds, 0 nodes, 15 lpath calls, 0 cached calls mkiv lua stats > result saved in file: demo2.pdf, compresslevel 3, objectcompreslevel 3 mkiv lua stats > loaded fonts: 2 files: latinmodern-math.otf (experimental), lmroman12-regular.otf mkiv lua stats > fonts load time: 0.103 seconds mkiv lua stats > luatex banner: this is luatex, version beta-0.76.0-2013061708 (tex live 2013) (rev 4627) mkiv lua stats > control sequences: 37358 of 65536 + 100000 mkiv lua stats > current memory usage: 62 MB (ctx: 62 MB) mkiv lua stats > runtime: 0.407 seconds, 1 processed pages, 1 shipped pages, 2.457 pages/second
system | total runtime: 0.595 Thanks.
![](https://secure.gravatar.com/avatar/b79687264c3e06cba13b54d05b12a9f5.jpg?s=120&d=mm&r=g)
Am 31.12.2013 um 21:27 schrieb Fabrice
Hello, The following code does not load the Garamond font:
\loadtypescriptfile[mathdesign] \setupbodyfont[garamond]
\starttext
Some random text and \math{f(x)=x^2+2x+4}
\stoptext
This doesn’t work with the context version from TeXLive because there are no typescripts which combines the urn garamond and mathdesign fonts. With a recent version of context standalone distribution this won’t be a problem because typescript have been added a while ago but you have to install the fonts yourself. Wolfgang
![](https://secure.gravatar.com/avatar/d7c3317235884569312c31f786d43bbc.jpg?s=120&d=mm&r=g)
Hello,
The fonts are already installed on my system since I compile my documents
with LuaLaTeX.
I'll try to install, and come back to you if it does not work.
Fabrice
2014/1/1 Wolfgang Schuster
Am 31.12.2013 um 21:27 schrieb Fabrice
: Hello, The following code does not load the Garamond font:
\loadtypescriptfile[mathdesign] \setupbodyfont[garamond]
\starttext
Some random text and \math{f(x)=x^2+2x+4}
\stoptext
This doesn’t work with the context version from TeXLive because there are no typescripts which combines the urn garamond and mathdesign fonts.
With a recent version of context standalone distribution this won’t be a problem because typescript have been added a while ago but you have to install the fonts yourself.
Wolfgang
___________________________________________________________________________________ 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
___________________________________________________________________________________
![](https://secure.gravatar.com/avatar/d7c3317235884569312c31f786d43bbc.jpg?s=120&d=mm&r=g)
Hi,
This seems to work.
=========================================================================================================================================================================
\loadtypescriptfile[mathdesign]
\setupbodyfont[garamond]
\starttext
Some random text and \math{\alpha=\frac{-b}{2a}}
\stoptext
============================================================================================================================================================================
mtx-context | run 1: luatex
--fmt="/home/fab/texlive/2013/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en"
--jobname="demo5"
--lua="/home/fab/texlive/2013/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en.lui"
--no-parse-first-line --c:currentrun=1 --c:fulljobname="./demo5.tex"
--c:input="./demo5.tex" --c:kindofrun=1 --c:maxnofruns=8 "cont-yes.mkiv"
This is LuaTeX, Version beta-0.76.0-2013061708 (rev 4627)
\write18 enabled.
(/home/fab/texlive/2013/texmf-dist/tex/context/base/cont-yes.mkiv
ConTeXt ver: 2013.05.28 00:36 MKIV current fmt: 2013.12.31 int:
english/english
system > 'cont-new.mkiv' loaded
(/home/fab/texlive/2013/texmf-dist/tex/context/base/cont-new.mkiv)
system > files > jobname 'demo5', input './demo5', result 'demo5'
fonts > latin modern fonts are not preloaded
languages > language 'en' is active
(/home/fab/demo5.tex
(/home/fab/texlive/2013/texmf-dist/tex/context/base/type-imp-mathdesign.mkiv)
fonts > typescripts > unknown library 'loc'
{/home/fab/texlive/2013/texmf-dist/fonts/map/dvips/mathdesign/mdugm.map}{/home/fab/texlive/2013/texmf-dist/fonts/map/pdftex/context/mkiv-base.map}
fonts > virtual math > the mapping is incomplete for 'mdugmrm' at
7pt
fonts > virtual math > the mapping is incomplete for 'mdugmbf' at
7pt
backend > xmp > using file
'/home/fab/texlive/2013/texmf-dist/tex/context/base/lpdf-pdx.xml'
pages > flushing realpage 1, userpage 1
)
){/home/fab/texlive/2013/texmf-dist/fonts/enc/dvips/ly1/texnansi.enc}
mkiv lua stats > used config file:
selfautoparent:/texmfcnf.lua;selfautoparent:/texmf-dist/web2c/texmfcnf.lua
mkiv lua stats > used cache path: readable+writable:
'/home/fab/texlive/2013/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9'
mkiv lua stats > resource resolver: loadtime 0.084 seconds, 2 scans with
scantime 0.012 seconds, 125 shared scans, 59 found files, scanned paths:
/home/fab/.texlive2013/texmf-config /home/fab/texmf
mkiv lua stats > stored bytecode data: 329 modules (0.170 sec), 69 tables
(0.010 sec), 398 chunks (0.180 sec)
mkiv lua stats > cleaned up reserved nodes: 41 nodes, 9 lists of 441
mkiv lua stats > node memory usage: 2 glue, 2 penalty, 9 attribute, 28
glue_spec, 3 attribute_list
mkiv lua stats > node list callback tasks: 6 unique task lists, 6
instances (re)created, 40 calls
mkiv lua stats > used backend: pdf (backend for directly generating pdf
output)
mkiv lua stats > loaded patterns: en::2, load time: 0.000
mkiv lua stats > jobdata time: 0.001 seconds saving, 0.000 seconds loading
mkiv lua stats > callbacks: 549 direct, 320 indirect, 869 total
mkiv lua stats > randomizer: resumed with value 0.77561070806142
mkiv lua stats > lxml preparation time: 0.000 seconds, 0 nodes, 15 lpath
calls, 0 cached calls
mkiv lua stats > result saved in file: demo5.pdf, compresslevel 3,
objectcompreslevel 3
mkiv lua stats > loaded fonts: 30 files: md-gmm7m.tfm, md-gmm7v.tfm,
md-gmm7y.tfm, md-gmm8y.tfm, md-gmmi7m.tfm, md-gmmi8y.tfm, md-gmmma.tfm,
md-gmmmb.tfm, md-gmr7m.tfm, md-gmr7v.tfm, md-gmr7y.tfm, md-gmr8y.tfm,
md-gmri7m.tfm, md-gmri8y.tfm, md-gmrma.tfm, md-gmrmb.tfm, mdugmm7m.tfm,
mdugmm7v.tfm, mdugmm7y.tfm, mdugmmi7m.tfm, mdugmmma.tfm, mdugmmmb.tfm,
mdugmr7m.tfm, mdugmr7v.tfm, mdugmr7y.tfm, mdugmri7m.tfm, mdugmrma.tfm,
mdugmrmb.tfm, ugmm8a.afm, ugmr8a.afm
mkiv lua stats > fonts load time: 0.185 seconds
mkiv lua stats > luatex banner: this is luatex, version
beta-0.76.0-2013061708 (tex live 2013) (rev 4627)
mkiv lua stats > control sequences: 37496 of 65536 + 100000
mkiv lua stats > current memory usage: 73 MB (ctx: 73 MB)
mkiv lua stats > runtime: 0.539 seconds, 1 processed pages, 1 shipped
pages, 1.855 pages/second
system | total runtime: 0.718
=========================================================================================================================================================================
Thank you.
2014/1/2 Fabrice Couvreur
Hello, The fonts are already installed on my system since I compile my documents with LuaLaTeX. I'll try to install, and come back to you if it does not work. Fabrice
2014/1/1 Wolfgang Schuster
Am 31.12.2013 um 21:27 schrieb Fabrice
: Hello, The following code does not load the Garamond font:
\loadtypescriptfile[mathdesign] \setupbodyfont[garamond]
\starttext
Some random text and \math{f(x)=x^2+2x+4}
\stoptext
This doesn’t work with the context version from TeXLive because there are no typescripts which combines the urn garamond and mathdesign fonts.
With a recent version of context standalone distribution this won’t be a problem because typescript have been added a while ago but you have to install the fonts yourself.
Wolfgang
___________________________________________________________________________________ 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
___________________________________________________________________________________
![](https://secure.gravatar.com/avatar/b79687264c3e06cba13b54d05b12a9f5.jpg?s=120&d=mm&r=g)
Am 02.01.2014 um 02:46 schrieb Fabrice Couvreur
Hi, This seems to work. ========================================================================================================================================================================= \loadtypescriptfile[mathdesign] \setupbodyfont[garamond]
\starttext
Some random text and \math{\alpha=\frac{-b}{2a}}
\stoptext ============================================================================================================================================================================ mtx-context | run 1: luatex --fmt="/home/fab/texlive/2013/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en" --jobname="demo5" --lua="/home/fab/texlive/2013/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en.lui" --no-parse-first-line --c:currentrun=1 --c:fulljobname="./demo5.tex" --c:input="./demo5.tex" --c:kindofrun=1 --c:maxnofruns=8 "cont-yes.mkiv" This is LuaTeX, Version beta-0.76.0-2013061708 (rev 4627) \write18 enabled. (/home/fab/texlive/2013/texmf-dist/tex/context/base/cont-yes.mkiv
ConTeXt ver: 2013.05.28 00:36 MKIV current fmt: 2013.12.31 int: english/english
What have you done because you’re still using TeXLive and the last stable where support for math design wasn’t solved very well. Wolfgang
![](https://secure.gravatar.com/avatar/b03780170cfd8a34559ad370b03f2f3b.jpg?s=120&d=mm&r=g)
On Thu, Jan 2, 2014 at 10:50 PM, Wolfgang Schuster
Am 02.01.2014 um 02:46 schrieb Fabrice Couvreur
: Hi, This seems to work. ========================================================================================================================================================================= \loadtypescriptfile[mathdesign] \setupbodyfont[garamond]
\starttext
Some random text and \math{\alpha=\frac{-b}{2a}}
\stoptext ============================================================================================================================================================================ mtx-context | run 1: luatex --fmt="/home/fab/texlive/2013/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en" --jobname="demo5" --lua="/home/fab/texlive/2013/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en.lui" --no-parse-first-line --c:currentrun=1 --c:fulljobname="./demo5.tex" --c:input="./demo5.tex" --c:kindofrun=1 --c:maxnofruns=8 "cont-yes.mkiv" This is LuaTeX, Version beta-0.76.0-2013061708 (rev 4627) \write18 enabled. (/home/fab/texlive/2013/texmf-dist/tex/context/base/cont-yes.mkiv
ConTeXt ver: 2013.05.28 00:36 MKIV current fmt: 2013.12.31 int: english/english
What have you done because you’re still using TeXLive and the last stable where support for math design wasn’t solved very well.
Wolfgang
The given example works for me, with context-standalone, with some issues though. I've already put the details in a mail sent a couple of minutes ago (kpfonts). Chris
participants (4)
-
Elspeth McGullicuddy
-
Fabrice
-
Fabrice Couvreur
-
Wolfgang Schuster