simplefonts not found
![](https://secure.gravatar.com/avatar/29c7bbff49b1599eddb2ec73fd9ffa6e.jpg?s=120&d=mm&r=g)
Freshly loaded contextbeta an hour ago. Retrieved simplefonts from the ConTeXt site. Unpacked the zip and put the t-simplefonts .lua and .tex files inside the directory where all my context (user) input files reside. Read the (somewhat terse) documentation. Ran contextbeta on: \usemodule[simplefonts] \setmainfont[schoolbook][schola] \setsansfont[helvetica][heros] \setmonofont[courier][cursor] \starttext Hello world! \stoptext Result in the log: system : module simplefonts not found ! Undefined control sequence. <recently read> \setmainfont l.3 \setmainfont [schoolbook][schola] Now what? Why are my files in the same directory found and simplefonts is not? Hans van der Meer
![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
Am 29.12.2009 um 21:30 schrieb Hans van der Meer:
Freshly loaded contextbeta an hour ago.
http://wiki.contextgarden.net/ConTeXt_Minimals#Installing_third_party_module...
Retrieved simplefonts from the ConTeXt site. Unpacked the zip and put the t-simplefonts .lua and .tex files inside the directory where all my context (user) input files reside.
Is your user directory in the TeX directory? This is where my local version of simplefonts resides: /Users/wolf/context/tex/texmf-local/tex/context/third/simplefonts/t-simplefonts.tex
Read the (somewhat terse) documentation.
I hope to improve this with simplefonts 3.
\setmainfont[schoolbook][schola] \setsansfont[helvetica][heros] \setmonofont[courier][cursor]
\setmainfont[TeX Gyre Schola] \setsansfont[TeX Gyre Heros] \setmonofont[TeX Gyre Cursor] Wolfgang
![](https://secure.gravatar.com/avatar/29c7bbff49b1599eddb2ec73fd9ffa6e.jpg?s=120&d=mm&r=g)
On 29 dec 2009, at 21:39, Wolfgang Schuster wrote:
Am 29.12.2009 um 21:30 schrieb Hans van der Meer:
Freshly loaded contextbeta an hour ago.
http://wiki.contextgarden.net/ConTeXt_Minimals#Installing_third_party_module...
Retrieved simplefonts from the ConTeXt site. Unpacked the zip and put the t-simplefonts .lua and .tex files inside the directory where all my context (user) input files reside.
Is your user directory in the TeX directory?
This is where my local version of simplefonts resides: /Users/wolf/context/tex/texmf-local/tex/context/third/simplefonts/t- simplefonts.tex
My files reside in /Users/hans/Library/texmf/tex/context/user/t- simplefonts.tex where for example also is /Users/hans/Library/texmf/tex/context/user/ hvdm-cas.tex and that file is found and the module in it loaded without a hitch. Hans van der Meer
![](https://secure.gravatar.com/avatar/c5ae4f9aa0d3a9bd5376e92b322c3e50.jpg?s=120&d=mm&r=g)
On Tue, 29 Dec 2009, Hans van der Meer wrote:
On 29 dec 2009, at 21:39, Wolfgang Schuster wrote:
Am 29.12.2009 um 21:30 schrieb Hans van der Meer:
Freshly loaded contextbeta an hour ago.
http://wiki.contextgarden.net/ConTeXt_Minimals#Installing_third_party_module...
Retrieved simplefonts from the ConTeXt site. Unpacked the zip and put the t-simplefonts .lua and .tex files inside the directory where all my context (user) input files reside.
Is your user directory in the TeX directory?
This is where my local version of simplefonts resides: /Users/wolf/context/tex/texmf-local/tex/context/third/simplefonts/t-simplefonts.tex
My files reside in /Users/hans/Library/texmf/tex/context/user/t-simplefonts.tex where for example also is /Users/hans/Library/texmf/tex/context/user/hvdm-cas.tex and that file is found and the module in it loaded without a hitch.
Did you run luatools --generate? Aditya
![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
Am 29.12.2009 um 22:40 schrieb Hans van der Meer:
Unpacked the zip and put the t-simplefonts .lua and .tex files inside the directory where all my context (user) input files reside.
Is your user directory in the TeX directory?
This is where my local version of simplefonts resides: /Users/wolf/context/tex/texmf-local/tex/context/third/simplefonts/t-simplefonts.tex
My files reside in /Users/hans/Library/texmf/tex/context/user/t-simplefonts.tex where for example also is /Users/hans/Library/texmf/tex/context/user/hvdm-cas.tex and that file is found and the module in it loaded without a hitch.
Did you update the file database with 'luatools --generate', what's the output from 'luatools t-simplefonts.tex'. Wolfgang
![](https://secure.gravatar.com/avatar/29c7bbff49b1599eddb2ec73fd9ffa6e.jpg?s=120&d=mm&r=g)
Did you update the file database with 'luatools --generate', what's the output from 'luatools t-simplefonts.tex'.
No, I thought that in TeX the given TeX-home is always searched first. Such that normally a 'texhash' is not required whenthings are changed. I seem to remember that changes in files residing in that ../tex/ context/user directory always had an immediate effect. It is also possible that I have let myself been misled by the fact that the contextbeta is installed in location separate from the texlive setup used with older versions. In that case, will it be sufficient if I add the relevant location in a TEXMF (or whatever should I use?) shell variable? I is "luatools --generate" an absolute must? Hans van der Meer On 29 dec 2009, at 22:46, Wolfgang Schuster wrote:
Am 29.12.2009 um 22:40 schrieb Hans van der Meer:
Unpacked the zip and put the t-simplefonts .lua and .tex files inside the directory where all my context (user) input files reside.
Is your user directory in the TeX directory?
This is where my local version of simplefonts resides: /Users/wolf/context/tex/texmf-local/tex/context/third/simplefonts/ t-simplefonts.tex
My files reside in /Users/hans/Library/texmf/tex/context/user/t- simplefonts.tex where for example also is /Users/hans/Library/texmf/tex/context/ user/hvdm-cas.tex and that file is found and the module in it loaded without a hitch.
Did you update the file database with 'luatools --generate', what's the output from 'luatools t-simplefonts.tex'.
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 ___________________________________________________________________________________
participants (3)
-
Aditya Mahajan
-
Hans van der Meer
-
Wolfgang Schuster