Re: [NTG-context] Font table

2009-04-21 Thread Eythan Weg

Ulrike Fischer ne...@nililand.de
Mon, 20 Apr 2009 10:19:54 +0200

   Am Sun, 19 Apr 2009 13:37:26 -0400 schrieb Eythan Weg:
   
   luatools --show-path tex
   
   luatools --show-path lua

This is only for the lua path (with line breaks introduced)
   
   Why don't you trust Hans? He had probably a reason why he asked for
   the output of the path for tex. 

This is an oversight, I was too busy with bizarre
behavior of the lua extension.

   (In my case font-syn.lua was searched along the *tex*-path, and I
   found the error in my texmf.cnf by inspecting the output of
   kpsewhich --show-path=tex. I used kpsewhich because I'm more used to
   it and because it is independant from context, so problems there
   can't be the fault of the lua code).

True, but lua is quite unique to context at the
moment.  So search with other tools is not
particularly helpful for the fine details.
   
   -- 
   Ulrike Fischer 
   
Eytrhan

___
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
___


Re: [NTG-context] Font table

2009-04-20 Thread Hans Hagen

Ulrike Fischer wrote:

Am Sun, 19 Apr 2009 13:37:26 -0400 schrieb Eythan Weg:


   luatools --show-path tex
   
   luatools --show-path lua


This is only for the lua path (with line breaks introduced)


Why don't you trust Hans? He had probably a reason why he asked for
the output of the path for tex. 


(In my case font-syn.lua was searched along the *tex*-path, and I
found the error in my texmf.cnf by inspecting the output of
kpsewhich --show-path=tex. I used kpsewhich because I'm more used to
it and because it is independant from context, so problems there
can't be the fault of the lua code).


for plain users ... it is now possible to say

mtxrun --usekpse --script fonts --names

to make the names database for plain; beware: this is of no use for 
context that does not use kpse at all;


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
-
___
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
___


Re: [NTG-context] Font table

2009-04-20 Thread Hans Hagen

Wei-Wei Guo wrote:

Hans Hagen 写道:

Hi,

Here are my results with those two commands:



luatools --show-path tex



!!/etc/texmf/tex/context//:
!!/etc/texmf/tex/plain//:
!!/etc/texmf/tex/generic//:
!!/etc/texmf/tex///:
!!/var/lib/texmf/tex/context//:
!!/var/lib/texmf/tex/plain//:
!!/var/lib/texmf/tex/generic//:
!!/var/lib/texmf/tex///:
!!/usr/share/texmf/tex/context//:
!!/usr/share/texmf/tex/plain//:
!!/usr/share/texmf/tex/generic//:
!!/usr/share/texmf/tex///:
!!/usr/local/share/texmf/tex/context//:
!!/usr/local/share/texmf/tex/plain//:
!!/usr/local/share/texmf/tex/generic//:
!!/usr/local/share/texmf/tex///:
!!/usr/share/texmf-site/tex/context//:
!!/usr/share/texmf-site/tex/plain//:
!!/usr/share/texmf-site/tex/generic//:
!!/usr/share/texmf-site/tex///:
!!/usr/share/texmf-dist/tex/context//:
!!/usr/share/texmf-dist/tex/plain//:
!!/usr/share/texmf-dist/tex/generic//:
!!/usr/share/texmf-dist/tex///


luatools --show-path lua



/usr/lib/ocaml/ocamldoc:
!!/etc/texmf/scripts/luatex//:
!!/etc/texmf/scripts/context//:
!!/etc/texmf/scripts///:
!!/var/lib/texmf/scripts/luatex//:
!!/var/lib/texmf/scripts/context//:
!!/var/lib/texmf/scripts///:
!!/usr/share/texmf/scripts/luatex//:
!!/usr/share/texmf/scripts/context//:
!!/usr/share/texmf/scripts///:
!!/usr/local/share/texmf/scripts/luatex//:
!!/usr/local/share/texmf/scripts/context//:
!!/usr/local/share/texmf/scripts///:
!!/usr/share/texmf-site/scripts/luatex//:
!!/usr/share/texmf-site/scripts/context//:
!!/usr/share/texmf-site/scripts///:
!!/usr/share/texmf-dist/scripts/luatex//:
!!/usr/share/texmf-dist/scripts/context//:
!!/usr/share/texmf-dist/scripts///


Almost all the paths have exclamations before. Is is the reason?


(1) what happens if you replace : by ;
(2) also make the /// into //

-
  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
-
___
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
___


Re: [NTG-context] Font table

2009-04-20 Thread Wei-Wei Guo

Hans Hagen 写道:

Hi,

Here are my results with those two commands:



luatools --show-path tex



!!/etc/texmf/tex/context//:
!!/etc/texmf/tex/plain//:
!!/etc/texmf/tex/generic//:
!!/etc/texmf/tex///:
!!/var/lib/texmf/tex/context//:
!!/var/lib/texmf/tex/plain//:
!!/var/lib/texmf/tex/generic//:
!!/var/lib/texmf/tex///:
!!/usr/share/texmf/tex/context//:
!!/usr/share/texmf/tex/plain//:
!!/usr/share/texmf/tex/generic//:
!!/usr/share/texmf/tex///:
!!/usr/local/share/texmf/tex/context//:
!!/usr/local/share/texmf/tex/plain//:
!!/usr/local/share/texmf/tex/generic//:
!!/usr/local/share/texmf/tex///:
!!/usr/share/texmf-site/tex/context//:
!!/usr/share/texmf-site/tex/plain//:
!!/usr/share/texmf-site/tex/generic//:
!!/usr/share/texmf-site/tex///:
!!/usr/share/texmf-dist/tex/context//:
!!/usr/share/texmf-dist/tex/plain//:
!!/usr/share/texmf-dist/tex/generic//:
!!/usr/share/texmf-dist/tex///


luatools --show-path lua



/usr/lib/ocaml/ocamldoc:
!!/etc/texmf/scripts/luatex//:
!!/etc/texmf/scripts/context//:
!!/etc/texmf/scripts///:
!!/var/lib/texmf/scripts/luatex//:
!!/var/lib/texmf/scripts/context//:
!!/var/lib/texmf/scripts///:
!!/usr/share/texmf/scripts/luatex//:
!!/usr/share/texmf/scripts/context//:
!!/usr/share/texmf/scripts///:
!!/usr/local/share/texmf/scripts/luatex//:
!!/usr/local/share/texmf/scripts/context//:
!!/usr/local/share/texmf/scripts///:
!!/usr/share/texmf-site/scripts/luatex//:
!!/usr/share/texmf-site/scripts/context//:
!!/usr/share/texmf-site/scripts///:
!!/usr/share/texmf-dist/scripts/luatex//:
!!/usr/share/texmf-dist/scripts/context//:
!!/usr/share/texmf-dist/scripts///


Almost all the paths have exclamations before. Is is the reason?


Best wishes,
Wei-Wei
___
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
___


Re: [NTG-context] Font table

2009-04-20 Thread Wei-Wei Guo

Hans Hagen 写道:

luatools --show-path tex



!!/etc/texmf/tex/context//:
!!/etc/texmf/tex/plain//:
!!/etc/texmf/tex/generic//:
!!/etc/texmf/tex///:
!!/var/lib/texmf/tex/context//:
!!/var/lib/texmf/tex/plain//:
!!/var/lib/texmf/tex/generic//:
!!/var/lib/texmf/tex///:
!!/usr/share/texmf/tex/context//:
!!/usr/share/texmf/tex/plain//:
!!/usr/share/texmf/tex/generic//:
!!/usr/share/texmf/tex///:
!!/usr/local/share/texmf/tex/context//:
!!/usr/local/share/texmf/tex/plain//:
!!/usr/local/share/texmf/tex/generic//:
!!/usr/local/share/texmf/tex///:
!!/usr/share/texmf-site/tex/context//:
!!/usr/share/texmf-site/tex/plain//:
!!/usr/share/texmf-site/tex/generic//:
!!/usr/share/texmf-site/tex///:
!!/usr/share/texmf-dist/tex/context//:
!!/usr/share/texmf-dist/tex/plain//:
!!/usr/share/texmf-dist/tex/generic//:
!!/usr/share/texmf-dist/tex///


luatools --show-path lua



/usr/lib/ocaml/ocamldoc:
!!/etc/texmf/scripts/luatex//:
!!/etc/texmf/scripts/context//:
!!/etc/texmf/scripts///:
!!/var/lib/texmf/scripts/luatex//:
!!/var/lib/texmf/scripts/context//:
!!/var/lib/texmf/scripts///:
!!/usr/share/texmf/scripts/luatex//:
!!/usr/share/texmf/scripts/context//:
!!/usr/share/texmf/scripts///:
!!/usr/local/share/texmf/scripts/luatex//:
!!/usr/local/share/texmf/scripts/context//:
!!/usr/local/share/texmf/scripts///:
!!/usr/share/texmf-site/scripts/luatex//:
!!/usr/share/texmf-site/scripts/context//:
!!/usr/share/texmf-site/scripts///:
!!/usr/share/texmf-dist/scripts/luatex//:
!!/usr/share/texmf-dist/scripts/context//:
!!/usr/share/texmf-dist/scripts///


Almost all the paths have exclamations before. Is is the reason?


(1) what happens if you replace : by ;
(2) also make the /// into //



These : and /// are auto generated, I don't which file I need to change. I look
into texmf.cnf and find there is no /// and :. Paths are seperated by ; in 
texmf.cnf.


Wei-Wei

___
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
___


Re: [NTG-context] Font table

2009-04-20 Thread Eythan Weg

Hans Hagen pra...@wxs.nl
Sun, 19 Apr 2009 18:15:34 +0200

   Eythan Weg wrote:
Ulrike Fischer ne...@nililand.de
Sun, 19 Apr 2009 15:57:05 +0200
   
   Am Sun, 19 Apr 2009 09:17:06 -0400 schrieb Eythan Weg:
   I tried this
  mtxrun --verbose --reload --script fonts
   
but it fails with:
   
  MTXrun | using script: 
/usr/local/share/texmf/scripts/context/lua/mtx-fonts.lua
   
  cannot open : No such file or directory
  did you run luatools --generate to make a file database?
Yes.  And I find no errors in doing so.  I have
no problems using context with the standard fonts
defined otf-type.tex.  Note that
luatools font-syn.lua  shows nothing.
  I had this problem too. In my case it was an error in my
texmf.cnf.
   What does kpsewhich --show-path=tex return? And where exactly is
   font-syn.lua?   -- 
   Ulrike Fischer 
   
The file is in the base directory of context.  In
fact luatools cannot find any *.lua that I tried
in the base directory.  Other files are ok.
   
   luatools --show-path tex
   
   luatools --show-path lua

It appears that neglected the tex path.  Sorry...
Here is the complete listing:

w...@gauss:~/  luatools --show-path lua 
luatools --show-path lua 
.:.:/home/weg/.texmf-config/tex/context//:
/home/weg/.texmf-config/tex/generic//:
/home/weg/.texmf-config/tex///:
/home/weg/.texmf-var/tex/context//:
/home/weg/.texmf-var/tex/generic//:
/home/weg/.texmf-var/tex///:
/home/weg/texmf/tex/context//:
/home/weg/texmf/tex/generic//:
/home/weg/texmf/tex///:
/etc/texmf/tex/context//:
/etc/texmf/tex/generic//:
/etc/texmf/tex///:!!/var/lib/texmf/tex/context//:
!!/var/lib/texmf/tex/generic//:
!!/var/lib/texmf/tex///:
!!/usr/local/share/texmf/tex/context//:
!!/usr/local/share/texmf/tex/generic//:
!!/usr/local/share/texmf/tex///:
!!/usr/share/texmf/tex/context//:
!!/usr/share/texmf/tex/generic//:
!!/usr/share/texmf/tex///:!!
/usr/share/texmf-texlive/tex/context//:
!!/usr/share/texmf-texlive/tex/generic//:
!!/usr/share/texmf-texlive/tex///:
/home/weg/.texmf-config/scripts/luatex//:
/home/weg/.texmf-config/scripts/context//:
/home/weg/.texmf-config/scripts///:
/home/weg/.texmf-var/scripts/luatex//:
/home/weg/.texmf-var/scripts/context//:
/home/weg/.texmf-var/scripts///:
/home/weg/texmf/scripts/luatex//:
/home/weg/texmf/scripts/context//:
/home/weg/texmf/scripts///:
/etc/texmf/scripts/luatex//:
/etc/texmf/scripts/context//:
/etc/texmf/scripts///:
!!/var/lib/texmf/scripts/luatex//:
!!/var/lib/texmf/scripts/context//:
!!/var/lib/texmf/scripts///:
!!/usr/local/share/texmf/scripts/luatex//:
!!/usr/local/share/texmf/scripts/context//:
!!/usr/local/share/texmf/scripts///:
!!/usr/share/texmf/scripts/luatex//:
!!/usr/share/texmf/scripts/context//:
!!/usr/share/texmf/scripts///:
!!/usr/share/texmf-texlive/scripts/luatex//:
!!/usr/share/texmf-texlive/scripts/context//:
!!/usr/share/texmf-texlive/scripts///

w...@gauss:~/  luatools --show-path tex
luatools --show-path tex
.:/home/weg/.texmf-config/tex/context//:
/home/weg/.texmf-config/tex/plain//:
/home/weg/.texmf-config/tex/generic//:
/home/weg/.texmf-config/tex///:
/home/weg/.texmf-var/tex/context//:
/home/weg/.texmf-var/tex/plain//:
/home/weg/.texmf-var/tex/generic//:
/home/weg/.texmf-var/tex///:
/home/weg/texmf/tex/context//:
/home/weg/texmf/tex/plain//:
/home/weg/texmf/tex/generic//:
/home/weg/texmf/tex///:
/etc/texmf/tex/context//:
/etc/texmf/tex/plain//:
/etc/texmf/tex/generic//:
/etc/texmf/tex///:!!
/var/lib/texmf/tex/context//:!!/var/lib/texmf/tex/plain//:
!!/var/lib/texmf/tex/generic//:!!/var/lib/texmf/tex///:
!!/usr/local/share/texmf/tex/context//:
!!/usr/local/share/texmf/tex/plain//:
!!/usr/local/share/texmf/tex/generic//:
!!/usr/local/share/texmf/tex///:
!!/usr/share/texmf/tex/context//:
!!/usr/share/texmf/tex/plain//:
!!/usr/share/texmf/tex/generic//:
!!/usr/share/texmf/tex///:
!!/usr/share/texmf-texlive/tex/context//:
!!/usr/share/texmf-texlive/tex/plain//:
!!/usr/share/texmf-texlive/tex/generic//:
!!/usr/share/texmf-texlive/tex///


Eythan

___
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
___


Re: [NTG-context] Font table

2009-04-19 Thread Eythan Weg

Hans Hagen pra...@wxs.nl
Sat, 18 Apr 2009 21:21:37 +0200

   Eythan Weg wrote:
   
Hi,
   
I tried this 
   
  mtxrun --verbose --reload --script fonts
   
but it fails with:
   
  MTXrun | using script: 
/usr/local/share/texmf/scripts/context/lua/mtx-fonts.lua
   
  cannot open : No such file or directory
   
I think that this line in mtx-fonts.lua is the culprit:
 dofile(resolvers.find_file(font-syn.lua))
   
although this file:
font-syn.lua
   
exists.
   
Any hints
   
   it should just work ok
   
   did you run luatools --generate to make a file database?

Yes.  And I find no errors in doing so.  I have
no problems using context with the standard fonts
defined otf-type.tex.  

Note that 

   luatools font-syn.lua  

shows nothing.

Eythan 

___
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
___


Re: [NTG-context] Font table

2009-04-19 Thread Wei-Wei Guo

Eythan Weg 写道:

Hans Hagen pra...@wxs.nl
Sat, 18 Apr 2009 21:21:37 +0200

   Eythan Weg wrote:
   
Hi,
   
I tried this 
   

  mtxrun --verbose --reload --script fonts
   
but it fails with:
   
  MTXrun | using script: 
/usr/local/share/texmf/scripts/context/lua/mtx-fonts.lua
   
  cannot open : No such file or directory
   
I think that this line in mtx-fonts.lua is the culprit:
 dofile(resolvers.find_file(font-syn.lua))
   
although this file:
font-syn.lua
   
exists.
   
Any hints
   
   it should just work ok
   
   did you run luatools --generate to make a file database?


Yes.  And I find no errors in doing so.  I have
no problems using context with the standard fonts
defined otf-type.tex.  

Note that 

   luatools font-syn.lua  


shows nothing.

Eythan 



The same with Eythan here.

Wei-Wei
___
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
___


Re: [NTG-context] Font table

2009-04-19 Thread Ulrike Fischer
Am Sun, 19 Apr 2009 09:17:06 -0400 schrieb Eythan Weg:

 I tried this 

   mtxrun --verbose --reload --script fonts

 but it fails with:

   MTXrun | using script: 
 /usr/local/share/texmf/scripts/context/lua/mtx-fonts.lua

   cannot open : No such file or directory

did you run luatools --generate to make a file database?
 
 Yes.  And I find no errors in doing so.  I have
 no problems using context with the standard fonts
 defined otf-type.tex.  
 
 Note that 
 
luatools font-syn.lua  
 
 shows nothing.

I had this problem too. In my case it was an error in my texmf.cnf.
What does kpsewhich --show-path=tex return? And where exactly is
font-syn.lua? 

-- 
Ulrike Fischer 

___
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
___


Re: [NTG-context] Font table

2009-04-19 Thread Eythan Weg

Ulrike Fischer ne...@nililand.de
Sun, 19 Apr 2009 15:57:05 +0200

   Am Sun, 19 Apr 2009 09:17:06 -0400 schrieb Eythan Weg:
   
I tried this 
   
  mtxrun --verbose --reload --script fonts
   
but it fails with:
   
  MTXrun | using script: 
/usr/local/share/texmf/scripts/context/lua/mtx-fonts.lua
   
  cannot open : No such file or directory
   
   did you run luatools --generate to make a file database?

Yes.  And I find no errors in doing so.  I have
no problems using context with the standard fonts
defined otf-type.tex.  

Note that 

   luatools font-syn.lua  

shows nothing.
   
   I had this problem too. In my case it was an error in my texmf.cnf.
   What does kpsewhich --show-path=tex return? And where exactly is
   font-syn.lua? 
   
   -- 
   Ulrike Fischer 

The file is in the base directory of context.  In
fact luatools cannot find any *.lua that I tried
in the base directory.  Other files are ok.

Eythan 

___
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
___


Re: [NTG-context] Font table

2009-04-19 Thread Ulrike Fischer
Am Sun, 19 Apr 2009 11:00:54 -0400 schrieb Eythan Weg:

   I had this problem too. In my case it was an error in my texmf.cnf.
What does kpsewhich --show-path=tex return? And where exactly is
font-syn.lua? 

 The file is in the base directory of context.  In
 fact luatools cannot find any *.lua that I tried
 in the base directory.  Other files are ok.

What does 
 kpsewhich --show-path=tex 
return?

-- 
Ulrike Fischer 

___
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
___


Re: [NTG-context] Font table

2009-04-19 Thread Hans Hagen

Eythan Weg wrote:

Ulrike Fischer ne...@nililand.de
Sun, 19 Apr 2009 15:57:05 +0200

   Am Sun, 19 Apr 2009 09:17:06 -0400 schrieb Eythan Weg:
   
I tried this 
   

  mtxrun --verbose --reload --script fonts
   
but it fails with:
   
  MTXrun | using script: 
/usr/local/share/texmf/scripts/context/lua/mtx-fonts.lua
   
  cannot open : No such file or directory
   
   did you run luatools --generate to make a file database?

Yes.  And I find no errors in doing so.  I have

no problems using context with the standard fonts
defined otf-type.tex.  

Note that 

   luatools font-syn.lua  

shows nothing.
   
   I had this problem too. In my case it was an error in my texmf.cnf.

   What does kpsewhich --show-path=tex return? And where exactly is
   font-syn.lua? 
   
   -- 
   Ulrike Fischer 


The file is in the base directory of context.  In
fact luatools cannot find any *.lua that I tried
in the base directory.  Other files are ok.


luatools --show-path tex

luatools --show-path lua


-
  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
-
___
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
___


Re: [NTG-context] Font table

2009-04-19 Thread Eythan Weg

Ulrike Fischer ne...@nililand.de
Sun, 19 Apr 2009 18:02:45 +0200

   Am Sun, 19 Apr 2009 11:00:54 -0400 schrieb Eythan Weg:
   
  I had this problem too. In my case it was an error in my texmf.cnf.
   What does kpsewhich --show-path=tex return? And where exactly is
   font-syn.lua? 
   
The file is in the base directory of context.  In
fact luatools cannot find any *.lua that I tried
in the base directory.  Other files are ok.
   
   What does 
kpsewhich --show-path=tex 
   return?

What does it has to do with lua files?

   -- 
   Ulrike Fischer 

Eythan 

___
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
___


Re: [NTG-context] Font table

2009-04-19 Thread Eythan Weg

Hans Hagen pra...@wxs.nl
Sun, 19 Apr 2009 18:15:34 +0200

   Eythan Weg wrote:
Ulrike Fischer ne...@nililand.de
Sun, 19 Apr 2009 15:57:05 +0200
   
   Am Sun, 19 Apr 2009 09:17:06 -0400 schrieb Eythan Weg:
   I tried this
  mtxrun --verbose --reload --script fonts
   
but it fails with:
   
  MTXrun | using script: 
/usr/local/share/texmf/scripts/context/lua/mtx-fonts.lua
   
  cannot open : No such file or directory
  did you run luatools --generate to make a file database?
Yes.  And I find no errors in doing so.  I have
no problems using context with the standard fonts
defined otf-type.tex.  Note that
luatools font-syn.lua  shows nothing.
  I had this problem too. In my case it was an error in my
texmf.cnf.
   What does kpsewhich --show-path=tex return? And where exactly is
   font-syn.lua?   -- 
   Ulrike Fischer 
   
The file is in the base directory of context.  In
fact luatools cannot find any *.lua that I tried
in the base directory.  Other files are ok.
   
   luatools --show-path tex
   
   luatools --show-path lua

This is only for the lua path (with line breaks introduced)

.:.:/home/weg/.texmf-config/tex/context//:
/home/weg/.texmf-config/tex/generic//:/home/weg/.texmf-config/tex///:
/home/weg/.texmf-var/tex/context//:
/home/weg/.texmf-var/tex/generic//:
/home/weg/.texmf-var/tex///:
/home/weg/texmf/tex/context//:/home/weg/texmf/tex/generic//:
/home/weg/texmf/tex///:/etc/texmf/tex/context//:
/etc/texmf/tex/generic//:
/etc/texmf/tex///:!!/var/lib/texmf/tex/context//:!!/var/lib/texmf/tex/generic//:
!!/var/lib/texmf/tex///:!!/usr/local/share/texmf/tex/context//:
!!/usr/local/share/texmf/tex/generic//:!!/usr/local/share/texmf/tex///:
!!/usr/share/texmf/tex/context//:!!/usr/share/texmf/tex/generic//:
!!/usr/share/texmf/tex///:!!/usr/share/texmf-texlive/tex/context//:
!!/usr/share/texmf-texlive/tex/generic//:!!/usr/share/texmf-texlive/tex///
:/home/weg/.texmf-config/scripts/luatex//:/home/weg/.texmf-config/scripts/context//
:/home/weg/.texmf-config/scripts///:/home/weg/.texmf-var/scripts/luatex//:
/home/weg/.texmf-var/scripts/context//:/home/weg/.texmf-var/scripts///:
/home/weg/texmf/scripts/luatex//:/home/weg/texmf/scripts/context//:
/home/weg/texmf/scripts///:/etc/texmf/scripts/luatex//:
/etc/texmf/scripts/context//:/etc/texmf/scripts///:
!!/var/lib/texmf/scripts/luatex//:!!/var/lib/texmf/scripts/context//
:!!/var/lib/texmf/scripts///:!!/usr/local/share/texmf/scripts/luatex//:
!!/usr/local/share/texmf/scripts/context//:
!!/usr/local/share/texmf/scripts///:!!/usr/share/texmf/scripts/luatex//:
!!/usr/share/texmf/scripts/context//:!!/usr/share/texmf/scripts///:
!!/usr/share/texmf-texlive/scripts/luatex//:
!!/usr/share/texmf-texlive/scripts/context//:!!/usr/share/texmf-texlive/scripts///

It contains:
!!/usr/local/share/texmf/scripts/context//
and 
!!/usr/local/share/texmf/tex/context//

And the lua scripts in the first directories are
found but not in the second. 

I miss something...


Eythan

___
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
___


Re: [NTG-context] Font table

2009-04-18 Thread Hans Hagen

Eythan Weg wrote:


Hi,

I tried this 


  mtxrun --verbose --reload --script fonts

but it fails with:

  MTXrun | using script: 
/usr/local/share/texmf/scripts/context/lua/mtx-fonts.lua

  cannot open : No such file or directory

I think that this line in mtx-fonts.lua is the culprit:
  
   dofile(resolvers.find_file(font-syn.lua))


although this file:
  
  font-syn.lua


exists.

Any hints


it should just work ok

did you run luatools --generate to make a file database?


-
  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
-
___
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
___