finding out what font are available
Hi all, what would be the command to list all fonts available in my installation via context? thank you Ciro -- Links of your interest: http://www-personal.engin.umd.umich.edu/~cirosoto/ http://www.TheGuitarMakerExploration.com http://www.myspace.com/sotoaguirre
Thank you for the response.
I type:
sudo mtxrun -script fonts --list
and I get:
sudo: unable to execute /usr/bin/mtxrun: No such file or directory
but the file is there in /usr/bin/:
-rwxr-xr-x 1 root root 285223 2008-05-26 09:32 /usr/bin/mtxrun*
I don't know if this help you, but a "texexec --check" gives me:
TeXExec | current distribution: web2c
TeXExec | context source date: 2008.05.21 15:21
I am using linux-ubuntu 9.04 (Jaunty)
thank you
Ciro
-- Links of your interest:
http://www-personal.engin.umd.umich.edu/~cirosoto/
http://www.TheGuitarMakerExploration.com
http://www.myspace.com/sotoaguirre
On Tue, Jun 9, 2009 at 10:20 PM, Khaled Hosny
On Tue, Jun 09, 2009 at 09:41:04PM -0400, Ciro Soto wrote:
Hi all, what would be the command to list all fonts available in my installation via context?
mtxrun -script fonts --list
-- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkovGGIACgkQRoqITGOuyPJKQQCfRDpbHgf+TCypp6S6edxbPI8o qBsAn07pNN7e7IJNE86Qr2BwlSgmfYuu =Hzpy -----END PGP SIGNATURE-----
Hi Ciro,
I type: sudo mtxrun -script fonts --list
and I get: sudo: unable to execute /usr/bin/mtxrun: No such file or directory Considering that mtxrun exist, I suspect the interpreter of the script does not exist, which is texlua on my system:
$ head -1 /usr/bin/mtxrun #!/usr/bin/texlua So the mtxrun script should be run by texlua, which is again a symlink to luatex: $ ls -l /usr/bin/texlua lrwxrwxrwx 1 root root 6 2009-05-07 11:26 /usr/bin/texlua -> luatex Perhaps you don't have luatex installed, or you are missing this symlink? Gr. Matthijs
How do I solve the problem then?
here is what I have:
/usr/bin/texi2pdf* /usr/bin/texfont* /usr/bin/texconfig-sys*
/usr/bin/texi2dvi* /usr/bin/texfind* /usr/bin/texconfig-dialog*
/usr/bin/texindex* /usr/bin/texexec* /usr/bin/texconfig*
/usr/bin/texutil* /usr/bin/texmacs* /usr/bin/tex*
/usr/bin/textools* /usr/bin/texlinks* /usr/bin/texhash@
/usr/bin/texshow* /usr/bin/texdoctk*
/usr/bin/texmfstart* /usr/bin/texdoc*
how Do I install texlua? WHere is the download?
thank you
Ciro
-- Links of your interest:
http://www-personal.engin.umd.umich.edu/~cirosoto/
http://www.TheGuitarMakerExploration.com
http://www.myspace.com/sotoaguirre
On Thu, Jun 11, 2009 at 4:30 AM, Matthijs Kooijman
Hi Ciro,
I type: sudo mtxrun -script fonts --list
and I get: sudo: unable to execute /usr/bin/mtxrun: No such file or directory Considering that mtxrun exist, I suspect the interpreter of the script does not exist, which is texlua on my system:
$ head -1 /usr/bin/mtxrun #!/usr/bin/texlua
So the mtxrun script should be run by texlua, which is again a symlink to luatex:
$ ls -l /usr/bin/texlua lrwxrwxrwx 1 root root 6 2009-05-07 11:26 /usr/bin/texlua -> luatex
Perhaps you don't have luatex installed, or you are missing this symlink?
Gr.
Matthijs
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkowwKYACgkQz0nQ5oovr7zeCgCdGwt3hZS/7NGemZXl8cwZ3oiW nS0An2ZDjG9MaUZPYBoekIAjwbViSv52 =TtML -----END PGP SIGNATURE-----
I installed lutex 0.28.0-2
Then I ran the command that Khaled told me, and I got
% sudo mtxrun -script fonts --list
MtxRun | error unable to identify cnf file
MtxRun | error unable to identify cnf file
MtxRun | no cnf files found (TEXMFCNF may not be set/known)
MtxRun | unknown script: fonts
still something missing (the fonts script), and the cnf file
Any advice?
thank you
Ciro
-- Links of your interest:
http://www-personal.engin.umd.umich.edu/~cirosoto/
http://www.TheGuitarMakerExploration.com
http://www.myspace.com/sotoaguirre
On Fri, Jun 12, 2009 at 5:17 AM, Matthijs Kooijman
Hi Ciro,
How do I solve the problem then? You should probably just install the luatex package (IIRC you were running Ubuntu, which should ship it, Debian does at least).
Gr.
Matthijs
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkoyHSEACgkQz0nQ5oovr7wHeQCfQXfqBPTydHiM1/+/Gqg8itue 8YAAoNbHtVHYKpGyeIXpPnqbZKGCeChn =ctFN -----END PGP SIGNATURE-----
still something missing (the fonts script), and the cnf file
Any advice?
http://wiki.contextgarden.net/ConTeXt_Minimals Best, Maurício
I just installed the minimals from the link given by Mauricio, and followed
instructions for the linux installation.
I still get:
%sudo mtxrun -script fonts --list
MtxRun | error unable to identify cnf file
MtxRun | error unable to identify cnf file
MtxRun | no cnf files found (TEXMFCNF may not be set/known)
MtxRun | unknown script: fonts
BTW, I have the folliwng environment variables related to tex:
% env
TEXMFOS=/home/ciro/context/tex/texmf-linux
TEXMFCACHE=/home/ciro/context/tex/texmf-cache
SHELL=/bin/bash
TEXMFLOCAL=/usr/share/texmf-local
PATH=/home/ciro/context/tex/texmf-linux/bin:/home/ciro/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lib/jvm/java-1.5.0-sun-1.5.0.13/bin/
CTXMINIMAL=yes
TEXMFFONTS=/usr/share/texmf-fonts
TEXMFCNF=/usr/share/texmf/web2c
TEXMFMAIN=/usr/share/texmf
thank you,
Ciro
-- Links of your interest:
http://www-personal.engin.umd.umich.edu/~cirosoto/
http://www.TheGuitarMakerExploration.com
http://www.myspace.com/sotoaguirre
On Fri, Jun 12, 2009 at 5:58 PM, Maurício
still something missing (the fonts script), and the cnf file
Any advice?
http://wiki.contextgarden.net/ConTeXt_Minimals
Best, Maurício
___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net
___________________________________________________________________________________
I am getting closer to the solution. This is my new environment:
% env | grep -i tex
TEXMFOS=/home/ciro/context/tex/texmf-linux
TEXMFCACHE=/home/ciro/context/tex/texmf-cache
TEXMFPROJECT=/home/ciro/context/tex/texmf-project
TEXMFLOCAL=/home/ciro/context/tex/texmf-local
PATH=/home/ciro/context/tex/texmf-linux/bin:/home/ciro/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lib/jvm/java-1.5.0-sun-1.5.0.13/bin/
PWD=/home/ciro/context/tex
TEXMFCONTEXT=/home/ciro/context/tex/texmf-context
TEXFORMATS=/home/ciro/context/tex/texmf-linux/web2c
TEXMFDBS=/home/ciro/context/tex/texmf
TEXMFEXTRA=/home/ciro/context/tex/texmf-extra
MPMEMS=/home/ciro/context/tex/texmf-linux/web2c
HOMETEXMF=/nonexist
TEXMF=/home/ciro/context/tex/texmf
TEXMFFONTS=/home/ciro/context/tex/texmf-fonts
RUBYLIB=/home/ciro/context/tex/texmf-context/scripts/context/ruby:
TEXMFCNF=/home/ciro/context/tex/texmf/web2c
TEXMFMAIN=/home/ciro/context/tex/texmf
OLDPWD=/home/ciro/context
but running the mtxrun I get:
% mtxrun --script fonts --list
MtxRun | unknown script 'fonts.lua' or 'mtx-fonts.lua'
any suggestion?
thank you
Ciro
-- Links of your interest:
http://www-personal.engin.umd.umich.edu/~cirosoto/
http://www.TheGuitarMakerExploration.com
http://www.myspace.com/sotoaguirre
On Fri, Jun 12, 2009 at 5:58 PM, Maurício
still something missing (the fonts script), and the cnf file
Any advice?
http://wiki.contextgarden.net/ConTeXt_Minimals
Best, Maurício
___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net
___________________________________________________________________________________
Ciro Soto wrote:
I am getting closer to the solution. This is my new environment:
% env | grep -i tex TEXMFOS=/home/ciro/context/tex/texmf-linux TEXMFCACHE=/home/ciro/context/tex/texmf-cache TEXMFPROJECT=/home/ciro/context/tex/texmf-project TEXMFLOCAL=/home/ciro/context/tex/texmf-local PATH=/home/ciro/context/tex/texmf-linux/bin:/home/ciro/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lib/jvm/java-1.5.0-sun-1.5.0.13/bin/ PWD=/home/ciro/context/tex TEXMFCONTEXT=/home/ciro/context/tex/texmf-context TEXFORMATS=/home/ciro/context/tex/texmf-linux/web2c TEXMFDBS=/home/ciro/context/tex/texmf TEXMFEXTRA=/home/ciro/context/tex/texmf-extra MPMEMS=/home/ciro/context/tex/texmf-linux/web2c HOMETEXMF=/nonexist TEXMF=/home/ciro/context/tex/texmf TEXMFFONTS=/home/ciro/context/tex/texmf-fonts RUBYLIB=/home/ciro/context/tex/texmf-context/scripts/context/ruby: TEXMFCNF=/home/ciro/context/tex/texmf/web2c TEXMFMAIN=/home/ciro/context/tex/texmf OLDPWD=/home/ciro/context
but running the mtxrun I get:
% mtxrun --script fonts --list MtxRun | unknown script 'fonts.lua' or 'mtx-fonts.lua'
any suggestion?
thank you Ciro
-- Links of your interest: http://www-personal.engin.umd.umich.edu/~cirosoto/ http://www.TheGuitarMakerExploration.com http://www.myspace.com/sotoaguirre
On Fri, Jun 12, 2009 at 5:58 PM, Maurício
wrote: still something missing (the fonts script), and the cnf file
Any advice?
have you run luatools --generate what does luatools --verbose --generate mtxrun --verbose --script fonts --list report ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
I did run luatools --generate. I get:*
luatools --verbose --generate
*LuaTools | version 1.2.2 - 2006+ - PRAGMA ADE / CONTEXT
LuaTools | variable SELFAUTOLOC set to
/home/ciro/context/tex/texmf-linux/bin
LuaTools | variable SELFAUTODIR set to /home/ciro/context/tex/texmf-linux
LuaTools | variable SELFAUTOPARENT set to /home/ciro/context/tex
LuaTools | variable TEXMFCNF set to /home/ciro/context/tex/texmf/web2c
LuaTools | loading configuration file
/home/ciro/context/tex/texmf/web2c/texmfcnf.lua
LuaTools | loading /home/ciro/context/tex/texmf/web2c/texmf.cnf
LuaTools | preparing configuration for /home/ciro/context/tex/texmf/web2c
LuaTools | configuration saved in
/home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/2f8879b44d23456e76a2b13e4fc4fa9b.lua
LuaTools | configuration compiled to
/home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/2f8879b44d23456e76a2b13e4fc4fa9b.luc
LuaTools | locating list of /home/ciro/context/tex/texmf
LuaTools | scanning path /home/ciro/context/tex/texmf
LuaTools | 2888 files found on 94 directories with 64 uppercase remappings
LuaTools | preparing files for /home/ciro/context/tex/texmf
LuaTools | files saved in
/home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/fef1be4e394a17a934e9d3021bf5aabc.lua
LuaTools | files compiled to
/home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/fef1be4e394a17a934e9d3021bf5aabc.luc
LuaTools |
LuaTools | runtime: 0.165 seconds
*
mtxrun --verbose --script fonts --list*
MtxRun | variable SELFAUTOLOC set to /home/ciro/context/tex/texmf-linux/bin
MtxRun | variable SELFAUTODIR set to /home/ciro/context/tex/texmf-linux
MtxRun | variable SELFAUTOPARENT set to /home/ciro/context/tex
MtxRun | variable TEXMFCNF set to /home/ciro/context/tex/texmf/web2c
MtxRun | loading configuration file
/home/ciro/context/tex/texmf/web2c/texmfcnf.lua
MtxRun | loading configuration for /home/ciro/context/tex/texmf/web2c from
/home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/2f8879b44d23456e76a2b13e4fc4fa9b
MtxRun | locating list of /home/ciro/context/tex/texmf
MtxRun | loading files for /home/ciro/context/tex/texmf from
/home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/fef1be4e394a17a934e9d3021bf5aabc
MtxRun | unknown script 'fonts.lua' or 'mtx-fonts.lua'
Thank you Hans,
Ciro
-- Links of your interest:
http://www-personal.engin.umd.umich.edu/~cirosoto/
http://www.TheGuitarMakerExploration.com
http://www.myspace.com/sotoaguirre
On Sat, Jun 13, 2009 at 3:45 AM, Hans Hagen
Ciro Soto wrote:
I am getting closer to the solution. This is my new environment:
% env | grep -i tex TEXMFOS=/home/ciro/context/tex/texmf-linux TEXMFCACHE=/home/ciro/context/tex/texmf-cache TEXMFPROJECT=/home/ciro/context/tex/texmf-project TEXMFLOCAL=/home/ciro/context/tex/texmf-local
PATH=/home/ciro/context/tex/texmf-linux/bin:/home/ciro/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lib/jvm/java-1.5.0-sun-1.5.0.13/bin/ PWD=/home/ciro/context/tex TEXMFCONTEXT=/home/ciro/context/tex/texmf-context TEXFORMATS=/home/ciro/context/tex/texmf-linux/web2c TEXMFDBS=/home/ciro/context/tex/texmf TEXMFEXTRA=/home/ciro/context/tex/texmf-extra MPMEMS=/home/ciro/context/tex/texmf-linux/web2c HOMETEXMF=/nonexist TEXMF=/home/ciro/context/tex/texmf TEXMFFONTS=/home/ciro/context/tex/texmf-fonts RUBYLIB=/home/ciro/context/tex/texmf-context/scripts/context/ruby: TEXMFCNF=/home/ciro/context/tex/texmf/web2c TEXMFMAIN=/home/ciro/context/tex/texmf OLDPWD=/home/ciro/context
but running the mtxrun I get:
% mtxrun --script fonts --list MtxRun | unknown script 'fonts.lua' or 'mtx-fonts.lua'
any suggestion?
thank you Ciro
-- Links of your interest: http://www-personal.engin.umd.umich.edu/~cirosoto/http://www-personal.engin.umd.umich.edu/%7Ecirosoto/ http://www.TheGuitarMakerExploration.com http://www.myspace.com/sotoaguirre
On Fri, Jun 12, 2009 at 5:58 PM, Maurício
wrote: still something missing (the fonts script), and the cnf file
Any advice?
have you run
luatools --generate
what does
luatools --verbose --generate
mtxrun --verbose --script fonts --list
report
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Getting closer:
I ran *mktexlsr* and got:
mktexlsr: Done.
the I ran:
*% mtxrun --verbose --script fonts --info*
MtxRun | variable SELFAUTOLOC set to /home/ciro/context/tex/texmf-linux/bin
MtxRun | variable SELFAUTODIR set to /home/ciro/context/tex/texmf-linux
MtxRun | variable SELFAUTOPARENT set to /home/ciro/context/tex
MtxRun | variable TEXMFCNF set to /home/ciro/context/tex/texmf/web2c
MtxRun | loading configuration file
/home/ciro/context/tex/texmf/web2c/texmfcnf.lua
MtxRun | loading configuration for /home/ciro/context/tex/texmf/web2c from
/home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/2f8879b44d23456e76a2b13e4fc4fa9b
MtxRun | locating list of /home/ciro/context/tex/texmf
MtxRun | loading files for /home/ciro/context/tex/texmf from
/home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/fef1be4e394a17a934e9d3021bf5aabc
MtxRun | using script: mtx-fonts.lua
cannot open : No such file or directory
what else could I do to get the list of fonts available?
thank you
Ciro
-- Links of your interest:
http://www-personal.engin.umd.umich.edu/~cirosoto/
http://www.TheGuitarMakerExploration.com
http://www.myspace.com/sotoaguirre
On Sat, Jun 13, 2009 at 10:05 AM, Ciro Soto
I did run luatools --generate. I get:*
luatools --verbose --generate *LuaTools | version 1.2.2 - 2006+ - PRAGMA ADE / CONTEXT
LuaTools | variable SELFAUTOLOC set to /home/ciro/context/tex/texmf-linux/bin LuaTools | variable SELFAUTODIR set to /home/ciro/context/tex/texmf-linux LuaTools | variable SELFAUTOPARENT set to /home/ciro/context/tex LuaTools | variable TEXMFCNF set to /home/ciro/context/tex/texmf/web2c LuaTools | loading configuration file /home/ciro/context/tex/texmf/web2c/texmfcnf.lua LuaTools | loading /home/ciro/context/tex/texmf/web2c/texmf.cnf LuaTools | preparing configuration for /home/ciro/context/tex/texmf/web2c LuaTools | configuration saved in /home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/2f8879b44d23456e76a2b13e4fc4fa9b.lua LuaTools | configuration compiled to /home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/2f8879b44d23456e76a2b13e4fc4fa9b.luc LuaTools | locating list of /home/ciro/context/tex/texmf LuaTools | scanning path /home/ciro/context/tex/texmf LuaTools | 2888 files found on 94 directories with 64 uppercase remappings LuaTools | preparing files for /home/ciro/context/tex/texmf LuaTools | files saved in /home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/fef1be4e394a17a934e9d3021bf5aabc.lua LuaTools | files compiled to /home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/fef1be4e394a17a934e9d3021bf5aabc.luc LuaTools | LuaTools | runtime: 0.165 seconds *
mtxrun --verbose --script fonts --list* MtxRun | variable SELFAUTOLOC set to /home/ciro/context/tex/texmf-linux/bin MtxRun | variable SELFAUTODIR set to /home/ciro/context/tex/texmf-linux MtxRun | variable SELFAUTOPARENT set to /home/ciro/context/tex MtxRun | variable TEXMFCNF set to /home/ciro/context/tex/texmf/web2c MtxRun | loading configuration file /home/ciro/context/tex/texmf/web2c/texmfcnf.lua MtxRun | loading configuration for /home/ciro/context/tex/texmf/web2c from /home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/2f8879b44d23456e76a2b13e4fc4fa9b MtxRun | locating list of /home/ciro/context/tex/texmf MtxRun | loading files for /home/ciro/context/tex/texmf from /home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/fef1be4e394a17a934e9d3021bf5aabc MtxRun | unknown script 'fonts.lua' or 'mtx-fonts.lua'
Thank you Hans,
Ciro
-- Links of your interest: http://www-personal.engin.umd.umich.edu/~cirosoto/http://www-personal.engin.umd.umich.edu/%7Ecirosoto/ http://www.TheGuitarMakerExploration.com http://www.myspace.com/sotoaguirre
On Sat, Jun 13, 2009 at 3:45 AM, Hans Hagen
wrote: Ciro Soto wrote:
I am getting closer to the solution. This is my new environment:
% env | grep -i tex TEXMFOS=/home/ciro/context/tex/texmf-linux TEXMFCACHE=/home/ciro/context/tex/texmf-cache TEXMFPROJECT=/home/ciro/context/tex/texmf-project TEXMFLOCAL=/home/ciro/context/tex/texmf-local
PATH=/home/ciro/context/tex/texmf-linux/bin:/home/ciro/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lib/jvm/java-1.5.0-sun-1.5.0.13/bin/ PWD=/home/ciro/context/tex TEXMFCONTEXT=/home/ciro/context/tex/texmf-context TEXFORMATS=/home/ciro/context/tex/texmf-linux/web2c TEXMFDBS=/home/ciro/context/tex/texmf TEXMFEXTRA=/home/ciro/context/tex/texmf-extra MPMEMS=/home/ciro/context/tex/texmf-linux/web2c HOMETEXMF=/nonexist TEXMF=/home/ciro/context/tex/texmf TEXMFFONTS=/home/ciro/context/tex/texmf-fonts RUBYLIB=/home/ciro/context/tex/texmf-context/scripts/context/ruby: TEXMFCNF=/home/ciro/context/tex/texmf/web2c TEXMFMAIN=/home/ciro/context/tex/texmf OLDPWD=/home/ciro/context
but running the mtxrun I get:
% mtxrun --script fonts --list MtxRun | unknown script 'fonts.lua' or 'mtx-fonts.lua'
any suggestion?
thank you Ciro
-- Links of your interest: http://www-personal.engin.umd.umich.edu/~cirosoto/http://www-personal.engin.umd.umich.edu/%7Ecirosoto/ http://www.TheGuitarMakerExploration.com http://www.myspace.com/sotoaguirre
On Fri, Jun 12, 2009 at 5:58 PM, Maurício
wrote: still something missing (the fonts script), and the cnf file
Any advice?
have you run
luatools --generate
what does
luatools --verbose --generate
mtxrun --verbose --script fonts --list
report
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
another try:
*mtxrun --script mtx-fonts --list
*./mtx-fonts.lua:11: attempt to index global 'resolvers' (a nil value)
also:
*
mtxrun --script fonts --list*
./fonts.lua:11: attempt to index global 'resolvers' (a nil value)
worst of all, my current book is not working now:
*texexec --pdf rg_wrap.tex*
TeXExec | processing document 'rg_wrap.tex'
TeXExec | no ctx file found
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file rg_wrap.top
TeXExec | using randomseed 16
TeXExec | tex engine: pdftex
TeXExec | tex format: cont-en
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
%&-line parsing enabled.
(/usr/local/share/texmf/web2c/natural.tcx)
entering extended mode
(./rg_wrap.tex
ConTeXt ver: 2008.05.21 15:21 MKII fmt: 2009.6.12 int: english/english
language : language en is active
system : cont-new loaded
(/usr/local/share/texmf/tex/context/base/cont-new.tex
FatalError : Your format does not match the base files!
FormatVersion : 2008.05.21 15:21 MKII
FilesVersion : 2009.05.29 23:34
TeXUtil | unable to locate rg_wrap.tui
TeXUtil | shortcuts : 0
TeXUtil | expansions: 0
TeXUtil | reductions: 0
TeXUtil | divisions : 0
TeXUtil | loaded files: 0
TeXUtil | temporary files: 0
TeXUtil | commands: 0
TeXUtil | programs: 0
TeXUtil | tuo file saved
TeXExec | runtime: 0.134492
please advise what to do.
thank you
Ciro
On Sat, Jun 13, 2009 at 3:10 PM, Ciro Soto
Getting closer: I ran *mktexlsr* and got: mktexlsr: Done.
the I ran:
*% mtxrun --verbose --script fonts --info* MtxRun | variable SELFAUTOLOC set to /home/ciro/context/tex/texmf-linux/bin MtxRun | variable SELFAUTODIR set to /home/ciro/context/tex/texmf-linux MtxRun | variable SELFAUTOPARENT set to /home/ciro/context/tex MtxRun | variable TEXMFCNF set to /home/ciro/context/tex/texmf/web2c MtxRun | loading configuration file /home/ciro/context/tex/texmf/web2c/texmfcnf.lua MtxRun | loading configuration for /home/ciro/context/tex/texmf/web2c from /home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/2f8879b44d23456e76a2b13e4fc4fa9b MtxRun | locating list of /home/ciro/context/tex/texmf MtxRun | loading files for /home/ciro/context/tex/texmf from /home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/fef1be4e394a17a934e9d3021bf5aabc MtxRun | using script: mtx-fonts.lua
cannot open : No such file or directory
what else could I do to get the list of fonts available?
thank you Ciro
-- Links of your interest: http://www-personal.engin.umd.umich.edu/~cirosoto/http://www-personal.engin.umd.umich.edu/%7Ecirosoto/ http://www.TheGuitarMakerExploration.com http://www.myspace.com/sotoaguirre
On Sat, Jun 13, 2009 at 10:05 AM, Ciro Soto
wrote: I did run luatools --generate. I get:*
luatools --verbose --generate *LuaTools | version 1.2.2 - 2006+ - PRAGMA ADE / CONTEXT
LuaTools | variable SELFAUTOLOC set to /home/ciro/context/tex/texmf-linux/bin LuaTools | variable SELFAUTODIR set to /home/ciro/context/tex/texmf-linux LuaTools | variable SELFAUTOPARENT set to /home/ciro/context/tex LuaTools | variable TEXMFCNF set to /home/ciro/context/tex/texmf/web2c LuaTools | loading configuration file /home/ciro/context/tex/texmf/web2c/texmfcnf.lua LuaTools | loading /home/ciro/context/tex/texmf/web2c/texmf.cnf LuaTools | preparing configuration for /home/ciro/context/tex/texmf/web2c LuaTools | configuration saved in /home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/2f8879b44d23456e76a2b13e4fc4fa9b.lua LuaTools | configuration compiled to /home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/2f8879b44d23456e76a2b13e4fc4fa9b.luc LuaTools | locating list of /home/ciro/context/tex/texmf LuaTools | scanning path /home/ciro/context/tex/texmf LuaTools | 2888 files found on 94 directories with 64 uppercase remappings LuaTools | preparing files for /home/ciro/context/tex/texmf LuaTools | files saved in /home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/fef1be4e394a17a934e9d3021bf5aabc.lua LuaTools | files compiled to /home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/fef1be4e394a17a934e9d3021bf5aabc.luc LuaTools | LuaTools | runtime: 0.165 seconds *
mtxrun --verbose --script fonts --list* MtxRun | variable SELFAUTOLOC set to /home/ciro/context/tex/texmf-linux/bin MtxRun | variable SELFAUTODIR set to /home/ciro/context/tex/texmf-linux MtxRun | variable SELFAUTOPARENT set to /home/ciro/context/tex MtxRun | variable TEXMFCNF set to /home/ciro/context/tex/texmf/web2c MtxRun | loading configuration file /home/ciro/context/tex/texmf/web2c/texmfcnf.lua MtxRun | loading configuration for /home/ciro/context/tex/texmf/web2c from /home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/2f8879b44d23456e76a2b13e4fc4fa9b MtxRun | locating list of /home/ciro/context/tex/texmf MtxRun | loading files for /home/ciro/context/tex/texmf from /home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/fef1be4e394a17a934e9d3021bf5aabc MtxRun | unknown script 'fonts.lua' or 'mtx-fonts.lua'
Thank you Hans,
Ciro
-- Links of your interest: http://www-personal.engin.umd.umich.edu/~cirosoto/http://www-personal.engin.umd.umich.edu/%7Ecirosoto/ http://www.TheGuitarMakerExploration.com http://www.myspace.com/sotoaguirre
On Sat, Jun 13, 2009 at 3:45 AM, Hans Hagen
wrote: Ciro Soto wrote:
I am getting closer to the solution. This is my new environment:
% env | grep -i tex TEXMFOS=/home/ciro/context/tex/texmf-linux TEXMFCACHE=/home/ciro/context/tex/texmf-cache TEXMFPROJECT=/home/ciro/context/tex/texmf-project TEXMFLOCAL=/home/ciro/context/tex/texmf-local
PATH=/home/ciro/context/tex/texmf-linux/bin:/home/ciro/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lib/jvm/java-1.5.0-sun-1.5.0.13/bin/ PWD=/home/ciro/context/tex TEXMFCONTEXT=/home/ciro/context/tex/texmf-context TEXFORMATS=/home/ciro/context/tex/texmf-linux/web2c TEXMFDBS=/home/ciro/context/tex/texmf TEXMFEXTRA=/home/ciro/context/tex/texmf-extra MPMEMS=/home/ciro/context/tex/texmf-linux/web2c HOMETEXMF=/nonexist TEXMF=/home/ciro/context/tex/texmf TEXMFFONTS=/home/ciro/context/tex/texmf-fonts RUBYLIB=/home/ciro/context/tex/texmf-context/scripts/context/ruby: TEXMFCNF=/home/ciro/context/tex/texmf/web2c TEXMFMAIN=/home/ciro/context/tex/texmf OLDPWD=/home/ciro/context
but running the mtxrun I get:
% mtxrun --script fonts --list MtxRun | unknown script 'fonts.lua' or 'mtx-fonts.lua'
any suggestion?
thank you Ciro
-- Links of your interest: http://www-personal.engin.umd.umich.edu/~cirosoto/http://www-personal.engin.umd.umich.edu/%7Ecirosoto/ http://www.TheGuitarMakerExploration.com http://www.myspace.com/sotoaguirre
On Fri, Jun 12, 2009 at 5:58 PM, Maurício
wrote: still something missing (the fonts script), and the cnf file
Any advice?
have you run
luatools --generate
what does
luatools --verbose --generate
mtxrun --verbose --script fonts --list
report
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Ciro Soto wrote:
another try:
*mtxrun --script mtx-fonts --list *./mtx-fonts.lua:11: attempt to index global 'resolvers' (a nil value)
do you run an older copy of mtxrun or luatools? if so, try mtxrun --selfupdate luatools --selfupdate or copy the scripts from script/context/lua to you bin path maybe some older tex in your bin path?
also: * mtxrun --script fonts --list* ../fonts.lua:11: attempt to index global 'resolvers' (a nil value)
what is fonts.lua ?
worst of all, my current book is not working now:
there must be something completely wrong with your system if you install the minimals and then run the setuptex script the minimals should work in complete isolation and well ... work Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Sorry for the long email.
I ran the selfupdate:
**
*% mtxrun --selfupdate --verbose
*MtxRun | variable SELFAUTOLOC set to /home/ciro/context/tex/texmf-linux/bin
MtxRun | variable SELFAUTODIR set to /home/ciro/context/tex/texmf-linux
MtxRun | variable SELFAUTOPARENT set to /home/ciro/context/tex
MtxRun | variable TEXMFCNF set to /home/ciro/context/tex/texmf/web2c
MtxRun | loading configuration file
/home/ciro/context/tex/texmf/web2c/texmfcnf.lua
MtxRun | loading configuration for /home/ciro/context/tex/texmf/web2c from
/home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/2f8879b44d23456e76a2b13e4fc4fa9b
MtxRun | locating list of /home/ciro/context/tex/texmf
MtxRun | loading files for /home/ciro/context/tex/texmf from
/home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/fef1be4e394a17a934e9d3021bf5aabc
MtxRun | to be replaced old script
/home/ciro/context/tex/texmf-linux/bin/mtxrun
MtxRun | *unable to locate new script*
*% luatools --selfupdate --verbose*
LuaTools | version 1.2.2 - 2006+ - PRAGMA ADE / CONTEXT
LuaTools | variable SELFAUTOLOC set to
/home/ciro/context/tex/texmf-linux/bin
LuaTools | variable SELFAUTODIR set to /home/ciro/context/tex/texmf-linux
LuaTools | variable SELFAUTOPARENT set to /home/ciro/context/tex
LuaTools | variable TEXMFCNF set to /home/ciro/context/tex/texmf/web2c
LuaTools | loading configuration file
/home/ciro/context/tex/texmf/web2c/texmfcnf.lua
LuaTools | loading configuration for /home/ciro/context/tex/texmf/web2c from
/home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/2f8879b44d23456e76a2b13e4fc4fa9b
LuaTools | locating list of /home/ciro/context/tex/texmf
LuaTools | loading files for /home/ciro/context/tex/texmf from
/home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/fef1be4e394a17a934e9d3021bf5aabc
LuaTools | to be replaced old script
/home/ciro/context/tex/texmf-linux/bin/luatools
LuaTools | *unable to locate new script*
LuaTools |
LuaTools | runtime: 0.033 seconds
I added script/context/lua to my path:
*
% echo $PATH
*
/home/ciro/context/tex/texmf-linux/bin:/home/ciro/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:
*/home/ciro//context/tex/texmf-context/scripts/context/lua*
:/usr/lib/jvm/java-1.5.0-sun-1.5.0.13/bin/
*% mtxrun --scripts mtx-fonts --list*
mtx-fonts.lua:11: attempt to index global 'resolvers' (a nil value)
mtxrun --verbose --scripts mtx-fonts --list
MtxRun | variable SELFAUTOLOC set to /home/ciro/context/tex/texmf-linux/bin
MtxRun | variable SELFAUTODIR set to /home/ciro/context/tex/texmf-linux
MtxRun | variable SELFAUTOPARENT set to /home/ciro/context/tex
MtxRun | variable TEXMFCNF set to /home/ciro/context/tex/texmf/web2c
MtxRun | loading configuration file
/home/ciro/context/tex/texmf/web2c/texmfcnf.lua
MtxRun | loading configuration for /home/ciro/context/tex/texmf/web2c from
/home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/2f8879b44d23456e76a2b13e4fc4fa9b
MtxRun | locating list of /home/ciro/context/tex/texmf
MtxRun | loading files for /home/ciro/context/tex/texmf from
/home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/fef1be4e394a17a934e9d3021bf5aabc
MtxRun |
MtxRun | executing: luatex --luaonly mtx-fonts.lua --list
MtxRun |
mtx-fonts.lua:11: *attempt to index global 'resolvers' (a nil value)*
Some information about my system:
*% ll /home/ciro//context/tex/texmf-context/scripts/context/lua*
total 740
-rwxr-xr-x 1 ciro ciro 12565 2008-12-14 18:42 x-ldx.lua*
-rwxr-xr-x 1 ciro ciro 25310 2008-12-14 18:42 scite-ctx.lua*
-rwxr-xr-x 1 ciro ciro 11110 2008-12-14 18:42 mtx-watch.lua*
-rwxr-xr-x 1 ciro ciro 10395 2008-12-14 18:42 mtx-server.lua*
-rwxr-xr-x 1 ciro ciro 132 2008-12-14 18:42 mtxrun.rme*
-rwxr-xr-x 1 ciro ciro 14652 2008-12-14 18:42 mtx-patterns.lua*
-rwxr-xr-x 1 ciro ciro 4560 2008-12-14 18:42 mtx-mptopdf.lua*
-rwxr-xr-x 1 ciro ciro 10715 2008-12-14 18:42 mtx-interface.lua*
-rwxr-xr-x 1 ciro ciro 2751 2008-12-14 18:42 mtx-grep.lua*
-rwxr-xr-x 1 ciro ciro 6149 2008-12-14 18:42 mtx-fonts.lua*
-rwxr-xr-x 1 ciro ciro 3929 2008-12-14 18:42 mtx-convert.lua*
-rwxr-xr-x 1 ciro ciro 35233 2008-12-14 18:42 mtx-context.lua*
-rwxr-xr-x 1 ciro ciro 5157 2008-12-14 18:42 mtx-check.lua*
-rwxr-xr-x 1 ciro ciro 7581 2008-12-14 18:42 mtx-chars.lua*
-rwxr-xr-x 1 ciro ciro 3131 2008-12-14 18:42 mtx-cache.lua*
-rwxr-xr-x 1 ciro ciro 10963 2008-12-14 18:42 mtx-babel.lua*
-rwxr-xr-x 1 ciro ciro 140 2008-12-14 18:42 luatools.rme*
-rwxr-xr-x 1 ciro ciro 227804 2008-12-14 18:42 luatools.lua*
-rwxr-xr-x 1 ciro ciro 18722 2008-12-27 06:38 mtx-update.lua*
-rwxr-xr-x 1 ciro ciro 295393 2008-12-27 06:38 mtxrun.lua*
*% which tex*
/usr/bin/tex
*% env | grep -i tex*
TEXMFOS=/home/ciro/context/tex/texmf-linux
TEXMFCACHE=/home/ciro/context/tex/texmf-cache
TEXMFPROJECT=/home/ciro/context/tex/texmf-project
TEXMFLOCAL=/home/ciro/context/tex/texmf-local
PATH=/home/ciro/context/tex/texmf-linux/bin:/home/ciro/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/ciro//context/tex/texmf-context/scripts/context/lua:/usr/lib/jvm/java-1.5.0-sun-1.5.0.13/bin/
TEXMFCONTEXT=/home/ciro/context/tex/texmf-context
TEXFORMATS=/home/ciro/context/tex/texmf-linux/web2c
TEXMFDBS=/home/ciro/context/tex/texmf
TEXMFEXTRA=/home/ciro/context/tex/texmf-extra
MPMEMS=/home/ciro/context/tex/texmf-linux/web2c
HOMETEXMF=/nonexist
TEXMF=/home/ciro/context/tex/texmf
TEXMFFONTS=/home/ciro/context/tex/texmf-fonts
RUBYLIB=/home/ciro/context/tex/texmf-context/scripts/context/ruby:
TEXMFCNF=/home/ciro/context/tex/texmf/web2c
TEXMFMAIN=/home/ciro/context/tex/texmf
I uncommented some lines in setuptex:*
cat setuptex*
# Example setup file for ConTeXt distribution
#
# Author: Hans Hagen
# Patches: Arthur R. & Mojca M.
#
# Usage:
# . setuptex [texroot]
#
# On the first run also execute:
# mktexlsr
# texexec --make --alone
#
# PLATFORM
#
# we will try to guess the platform first
# (needs to be kept in sync with first-setup.sh and mtxrun)
# if yours is missing, let us know
system=`uname -s`
cpu=`uname -m`
case "$system" in
# linux
Linux)
case "$cpu" in
i*86) platform="linux" ;;
x86_64|ia64) platform="linux-64" ;;
ppc) platform="linux-ppc" ;;
*) platform="unknown" ;;
esac ;;
# Mac OS X
Darwin)
case "$cpu" in
ppc*|powerpc|power*|Power*) platform="osx-ppc" ;;
i*86) platform="osx-intel" ;;
*) platform="unknown" ;;
esac ;;
# FreeBSD
FreeBSD|freebsd)
case "$cpu" in
i*86) platform="freebsd" ;;
x86_64) platform="freebsd" ;;
amd64) platform="freebsd-amd64" ;;
*) platform="unknown" ;;
esac ;;
# SunOS/Solaris
SunOS)
case "$cpu" in
sparc) platform="solaris-sparc" ;;
i86pc) platform="solaris-intel" ;;
*) platform="unknown" ;;
esac ;;
*) platform="unknown"
esac
if test "$platform" = "unknown" ; then
echo "Error: your system \"$system $cpu\" is not supported yet."
echo "Please report to the ConTeXt mailing-list (ntg-context@ntg.nl)"
fi
#
# PATH
#
# this resolves to path of the setuptex script
# We use $0 for determine the path to the script, except for bash where $0
# always is bash; here we use BASH_SOURCE
# Thanks to Vasile Gaburici for reporting this (see
# http://www.ntg.nl/pipermail/ntg-context/2008/033953.html ff.)
if [ z"$BASH_SOURCE" != z ]; then
SCRIPTPATH="$BASH_SOURCE"
else
SCRIPTPATH="$0"
fi
OWNPATH=$(cd -P -- "$(dirname -- "$SCRIPTPATH")" && pwd -P)
# but one can also call
# . setuptex path-to-tree
TEXROOT=""
# first check if any path has been provided in the argument, and try to use
that one
if [ $# -ne 0 ] ; then
# TODO: resolve any errors
ARGPATH=$(cd -P -- "$(dirname -- "$1")" && pwd -P) &&
ARGPATH=$ARGPATH/$(basename -- "$1")
if test -f "$ARGPATH/texmf/tex/plain/base/plain.tex" ; then
TEXROOT="$ARGPATH"
echo "Setting \"$TEXROOT\" as TEXROOT."
else
echo "The argument \"$ARGPATH\" is not a valid TEXROOT path."
echo "There is no file \"$ARGPATH/texmf/tex/plain/base/plain.tex\""
if [ -f "$OWNPATH/texmf/tex/plain/base/plain.tex" ]; then
TEXROOT="$OWNPATH"
echo "Setting \"$TEXROOT\" as TEXROOT instead."
fi
fi
else
if [ -f "$OWNPATH/texmf/tex/plain/base/plain.tex" ]; then
TEXROOT="$OWNPATH"
echo "Setting \"$TEXROOT\" as TEXROOT."
else
echo "\"$OWNPATH\" is not a valid TEXROOT path."
echo "There is no file \"$OWNPATH/texmf/tex/plain/base/plain.tex\""
fi
fi
if [ "$TEXROOT" != "" ]; then
# export TEXROOT
# binaries & formats
TEXMFOS=$TEXROOT/texmf-$platform
export TEXMFOS
# base TeX files & fonts
export TEXMFMAIN=$TEXROOT/texmf
# ConTeXt
export TEXMFCONTEXT=$TEXROOT/texmf-context
# cache for LuaTeX
TEXMFCACHE=$TEXROOT/texmf-cache
export TEXMFCACHE
# user additions or modifications
export TEXMFLOCAL=$TEXROOT/texmf-local
# optional (by/for Hans)
export TEXMFFONTS=$TEXROOT/texmf-fonts
export TEXMFEXTRA=$TEXROOT/texmf-extra
export TEXMFPROJECT=$TEXROOT/texmf-project
# the next lines fail on dec alpha os's, so there you need
# to comment them (bug traced down by kees van marle/martin
# corrino)
export HOMETEXMF=/nonexist
export TEXMFCNF=$TEXROOT/texmf{-local,-context,}/web2c
export
TEXMF={$TEXMFPROJECT,$TEXMFFONTS,$TEXMFLOCAL,$TEXMFOS,$TEXMFCONTEXT,$TEXMFEXTRA,$TEXMFMAIN}
export TEXMFDBS=$TEXMF
export TEXFORMATS=$TEXMFOS/web2c{/$engine,}
export MPMEMS=$TEXFORMATS
unset TEXINPUTS MPINPUTS MFINPUTS
PATH=$TEXMFOS/bin:$PATH
export PATH
# TODO: OSFONTDIR
export RUBYLIB=$TEXMFCONTEXT/scripts/context/ruby:$RUBYLIB
# just to make sure that the binaries are executable
if ( (test -w "$TEXMFOS/bin/texmfstart") && (! test -x
"$TEXMFOS/bin/texmfstart") ) ; then
chmod 755 $TEXMFOS/bin/*
fi
export CTXMINIMAL=yes
else
echo "provide a proper tex root (like '. setuptex /something/tex')" ;
fi
--------------------------------------------------------------------------------------------------------
-- Links of your interest:
http://www-personal.engin.umd.umich.edu/~cirosoto/
http://www.TheGuitarMakerExploration.com
http://www.myspace.com/sotoaguirre
On Sun, Jun 14, 2009 at 6:22 AM, Hans Hagen
Ciro Soto wrote:
another try:
*mtxrun --script mtx-fonts --list *./mtx-fonts.lua:11: attempt to index global 'resolvers' (a nil value)
do you run an older copy of mtxrun or luatools? if so, try
mtxrun --selfupdate luatools --selfupdate
or copy the scripts from script/context/lua to you bin path
maybe some older tex in your bin path?
also: * mtxrun --script fonts --list* ../fonts.lua:11: attempt to index global 'resolvers' (a nil value)
what is fonts.lua ?
worst of all, my current book is not working now:
there must be something completely wrong with your system
if you install the minimals and then run the setuptex script the minimals should work in complete isolation and well ... work
Hans
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Ciro Soto wrote:
I ran the selfupdate:
/home/ciro/context/tex/texmf-linux/bin/mtxrun MtxRun | *unable to locate new script*
ok, so that point in th edirection of a path problem
I added script/context/lua to my path:
better do a cp mtxrun.lua ...binpath.../mtxrun cp luatools.lua ...binpath.../luatools (no suffix on unix) ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
the mtxrun file and the luatools file in the bin path are the same as the
ones in the lua directory.
I ran diff and got nothing. For instance:
% *diff ~/context/tex/texmf-context/scripts/context/lua/luatools.lua
~/context/tex/texmf-linux/bin/luatools*
I copied them anyways:
*%cp mtxrun.lua ~/context/tex/texmf-linux/bin/mtxrun
% cp luatools.lua ~/context/tex/texmf-linux/bin/luatools
*
and:
*%which mtxrun*
/home/ciro/context/tex/texmf-linux/bin/mtxrun
*
*then:
*
**%mtxrun --verbose --scripts mtx-fonts --list
*MtxRun | variable SELFAUTOLOC set to /home/ciro/context/tex/texmf-linux/bin
MtxRun | variable SELFAUTODIR set to /home/ciro/context/tex/texmf-linux
MtxRun | variable SELFAUTOPARENT set to /home/ciro/context/tex
MtxRun | variable TEXMFCNF set to /home/ciro/context/tex/texmf/web2c
MtxRun | loading configuration file
/home/ciro/context/tex/texmf/web2c/texmfcnf.lua
MtxRun | loading configuration for /home/ciro/context/tex/texmf/web2c from
/home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/2f8879b44d23456e76a2b13e4fc4fa9b
MtxRun | locating list of /home/ciro/context/tex/texmf
MtxRun | loading files for /home/ciro/context/tex/texmf from
/home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/fef1be4e394a17a934e9d3021bf5aabc
MtxRun |
MtxRun | executing: luatex --luaonly mtx-fonts.lua --list
MtxRun |
mtx-fonts.lua:11: *attempt to index global 'resolvers' (a nil value)*
Ciro
On Sun, Jun 14, 2009 at 1:14 PM, Hans Hagen
Ciro Soto wrote:
I ran the selfupdate:
/home/ciro/context/tex/texmf-linux/bin/mtxrun
MtxRun | *unable to locate new script*
ok, so that point in th edirection of a path problem
I added script/context/lua to my path:
better do a
cp mtxrun.lua ...binpath.../mtxrun cp luatools.lua ...binpath.../luatools
(no suffix on unix)
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
trying other commands, I got:
%*texexec --verbose --make --alone*
/home/ciro/context/tex/texmf-linux/bin/mtxrun:8707: attempt to concatenate a
nil value
fyi:
%*env | grep -i tex*
TEXMFOS=/home/ciro/context/tex/texmf-linux
TEXMFCACHE=/home/ciro/context/tex/texmf-cache
TEXMFPROJECT=/home/ciro/context/tex/texmf-project
TEXMFLOCAL=/home/ciro/context/tex/texmf-local
PATH=/home/ciro/context/tex/texmf-linux/bin:/home/ciro/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/ciro/context/tex/texmf-context/scripts/context/lua:/usr/lib/jvm/java-1.5.0-sun-1.5.0.13/bin/:/home/ciro:/usr/lib/jvm/java-1.5.0-sun-1.5.0.13/bin/
TEXMFCONTEXT=/home/ciro/context/tex/texmf-context
TEXFORMATS=$TEXMFOS/web2c{/$engine,}
TEXMFDBS={$TEXMFPROJECT,$TEXMFFONTS,$TEXMFLOCAL,$TEXMFOS,$TEXMFCONTEXT,$TEXMFEXTRA,!!$TEXMFMAIN}
TEXMFEXTRA=/home/ciro/context/tex/texmf-extra
MPMEMS=$TEXMFOS/web2c{/$engine,}
HOMETEXMF=/nonexist
TEXMF={$TEXMFPROJECT,$TEXMFFONTS,$TEXMFLOCAL,$TEXMFOS,$TEXMFCONTEXT,$TEXMFEXTRA,!!$TEXMFMAIN}
TEXMFFONTS=/home/ciro/context/tex/texmf-fonts
RUBYLIB=/home/ciro/context/tex/texmf-context/scripts/context/ruby:
TEXMFCNF=/home/ciro/context/tex/texmf/web2c
TEXMFMAIN=/home/ciro/context/tex/texmf
Ciro
-- Links of your interest:
http://www-personal.engin.umd.umich.edu/~cirosoto/
http://www.TheGuitarMakerExploration.com
http://www.myspace.com/sotoaguirre
On Sun, Jun 14, 2009 at 2:14 PM, Ciro Soto
the mtxrun file and the luatools file in the bin path are the same as the ones in the lua directory. I ran diff and got nothing. For instance:
% *diff ~/context/tex/texmf-context/scripts/context/lua/luatools.lua ~/context/tex/texmf-linux/bin/luatools*
I copied them anyways: *%cp mtxrun.lua ~/context/tex/texmf-linux/bin/mtxrun % cp luatools.lua ~/context/tex/texmf-linux/bin/luatools * and:
*%which mtxrun* /home/ciro/context/tex/texmf-linux/bin/mtxrun * * then: * **%mtxrun --verbose --scripts mtx-fonts --list *MtxRun | variable SELFAUTOLOC set to /home/ciro/context/tex/texmf-linux/bin MtxRun | variable SELFAUTODIR set to /home/ciro/context/tex/texmf-linux MtxRun | variable SELFAUTOPARENT set to /home/ciro/context/tex MtxRun | variable TEXMFCNF set to /home/ciro/context/tex/texmf/web2c MtxRun | loading configuration file /home/ciro/context/tex/texmf/web2c/texmfcnf.lua MtxRun | loading configuration for /home/ciro/context/tex/texmf/web2c from /home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/2f8879b44d23456e76a2b13e4fc4fa9b MtxRun | locating list of /home/ciro/context/tex/texmf MtxRun | loading files for /home/ciro/context/tex/texmf from /home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/fef1be4e394a17a934e9d3021bf5aabc MtxRun | MtxRun | executing: luatex --luaonly mtx-fonts.lua --list MtxRun |
mtx-fonts.lua:11: *attempt to index global 'resolvers' (a nil value)*
Ciro
On Sun, Jun 14, 2009 at 1:14 PM, Hans Hagen
wrote: Ciro Soto wrote:
I ran the selfupdate:
/home/ciro/context/tex/texmf-linux/bin/mtxrun
MtxRun | *unable to locate new script*
ok, so that point in th edirection of a path problem
I added script/context/lua to my path:
better do a
cp mtxrun.lua ...binpath.../mtxrun cp luatools.lua ...binpath.../luatools
(no suffix on unix)
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (5)
-
Ciro Soto
-
Hans Hagen
-
Khaled Hosny
-
Matthijs Kooijman
-
Maurício