ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Font table
@ 2009-04-18 17:05 Eythan Weg
  2009-04-18 19:21 ` Hans Hagen
  0 siblings, 1 reply; 17+ messages in thread
From: Eythan Weg @ 2009-04-18 17:05 UTC (permalink / raw)
  To: ntg-context



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

Thank you, 
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Font table
  2009-04-18 17:05 Font table Eythan Weg
@ 2009-04-18 19:21 ` Hans Hagen
  2009-04-19 13:17   ` Eythan Weg
  0 siblings, 1 reply; 17+ messages in thread
From: Hans Hagen @ 2009-04-18 19:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Font table
  2009-04-18 19:21 ` Hans Hagen
@ 2009-04-19 13:17   ` Eythan Weg
  2009-04-19 13:57     ` Ulrike Fischer
  2009-04-19 13:59     ` Wei-Wei Guo
  0 siblings, 2 replies; 17+ messages in thread
From: Eythan Weg @ 2009-04-19 13:17 UTC (permalink / raw)
  To: ntg-context


Hans Hagen <pragma@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Font table
  2009-04-19 13:17   ` Eythan Weg
@ 2009-04-19 13:57     ` Ulrike Fischer
  2009-04-19 15:00       ` Eythan Weg
  2009-04-19 13:59     ` Wei-Wei Guo
  1 sibling, 1 reply; 17+ messages in thread
From: Ulrike Fischer @ 2009-04-19 13:57 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Font table
  2009-04-19 13:17   ` Eythan Weg
  2009-04-19 13:57     ` Ulrike Fischer
@ 2009-04-19 13:59     ` Wei-Wei Guo
  1 sibling, 0 replies; 17+ messages in thread
From: Wei-Wei Guo @ 2009-04-19 13:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Eythan Weg 写道:
> Hans Hagen <pragma@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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Font table
  2009-04-19 13:57     ` Ulrike Fischer
@ 2009-04-19 15:00       ` Eythan Weg
  2009-04-19 16:02         ` Ulrike Fischer
  2009-04-19 16:15         ` Hans Hagen
  0 siblings, 2 replies; 17+ messages in thread
From: Eythan Weg @ 2009-04-19 15:00 UTC (permalink / raw)
  To: ntg-context


Ulrike Fischer <news3@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Font table
  2009-04-19 15:00       ` Eythan Weg
@ 2009-04-19 16:02         ` Ulrike Fischer
  2009-04-19 17:11           ` Eythan Weg
  2009-04-19 16:15         ` Hans Hagen
  1 sibling, 1 reply; 17+ messages in thread
From: Ulrike Fischer @ 2009-04-19 16:02 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Font table
  2009-04-19 15:00       ` Eythan Weg
  2009-04-19 16:02         ` Ulrike Fischer
@ 2009-04-19 16:15         ` Hans Hagen
  2009-04-19 17:37           ` Eythan Weg
                             ` (2 more replies)
  1 sibling, 3 replies; 17+ messages in thread
From: Hans Hagen @ 2009-04-19 16:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Eythan Weg wrote:
> Ulrike Fischer <news3@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Font table
  2009-04-19 16:02         ` Ulrike Fischer
@ 2009-04-19 17:11           ` Eythan Weg
  0 siblings, 0 replies; 17+ messages in thread
From: Eythan Weg @ 2009-04-19 17:11 UTC (permalink / raw)
  To: ntg-context


Ulrike Fischer <news3@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Font table
  2009-04-19 16:15         ` Hans Hagen
@ 2009-04-19 17:37           ` Eythan Weg
  2009-04-20  8:19             ` Ulrike Fischer
  2009-04-20 10:20           ` Wei-Wei Guo
  2009-04-20 12:34           ` Eythan Weg
  2 siblings, 1 reply; 17+ messages in thread
From: Eythan Weg @ 2009-04-19 17:37 UTC (permalink / raw)
  To: ntg-context


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

   Eythan Weg wrote:
   > Ulrike Fischer <news3@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Font table
  2009-04-19 17:37           ` Eythan Weg
@ 2009-04-20  8:19             ` Ulrike Fischer
  2009-04-20  8:40               ` Hans Hagen
  2009-04-20 12:24               ` Eythan Weg
  0 siblings, 2 replies; 17+ messages in thread
From: Ulrike Fischer @ 2009-04-20  8:19 UTC (permalink / raw)
  To: ntg-context

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).


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


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Font table
  2009-04-20  8:19             ` Ulrike Fischer
@ 2009-04-20  8:40               ` Hans Hagen
  2009-04-20 12:24               ` Eythan Weg
  1 sibling, 0 replies; 17+ messages in thread
From: Hans Hagen @ 2009-04-20  8:40 UTC (permalink / raw)
  To: news3, mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Font table
  2009-04-20 10:20           ` Wei-Wei Guo
@ 2009-04-20 10:15             ` Hans Hagen
  2009-04-20 10:56               ` Wei-Wei Guo
  0 siblings, 1 reply; 17+ messages in thread
From: Hans Hagen @ 2009-04-20 10:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Font table
  2009-04-19 16:15         ` Hans Hagen
  2009-04-19 17:37           ` Eythan Weg
@ 2009-04-20 10:20           ` Wei-Wei Guo
  2009-04-20 10:15             ` Hans Hagen
  2009-04-20 12:34           ` Eythan Weg
  2 siblings, 1 reply; 17+ messages in thread
From: Wei-Wei Guo @ 2009-04-20 10:20 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Font table
  2009-04-20 10:15             ` Hans Hagen
@ 2009-04-20 10:56               ` Wei-Wei Guo
  0 siblings, 0 replies; 17+ messages in thread
From: Wei-Wei Guo @ 2009-04-20 10:56 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Font table
  2009-04-20  8:19             ` Ulrike Fischer
  2009-04-20  8:40               ` Hans Hagen
@ 2009-04-20 12:24               ` Eythan Weg
  1 sibling, 0 replies; 17+ messages in thread
From: Eythan Weg @ 2009-04-20 12:24 UTC (permalink / raw)
  To: news3; +Cc: mailing list for ConTeXt users


Ulrike Fischer <news3@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Font table
  2009-04-19 16:15         ` Hans Hagen
  2009-04-19 17:37           ` Eythan Weg
  2009-04-20 10:20           ` Wei-Wei Guo
@ 2009-04-20 12:34           ` Eythan Weg
  2 siblings, 0 replies; 17+ messages in thread
From: Eythan Weg @ 2009-04-20 12:34 UTC (permalink / raw)
  To: ntg-context


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

   Eythan Weg wrote:
   > Ulrike Fischer <news3@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:

weg@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///

weg@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2009-04-20 12:34 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-18 17:05 Font table Eythan Weg
2009-04-18 19:21 ` Hans Hagen
2009-04-19 13:17   ` Eythan Weg
2009-04-19 13:57     ` Ulrike Fischer
2009-04-19 15:00       ` Eythan Weg
2009-04-19 16:02         ` Ulrike Fischer
2009-04-19 17:11           ` Eythan Weg
2009-04-19 16:15         ` Hans Hagen
2009-04-19 17:37           ` Eythan Weg
2009-04-20  8:19             ` Ulrike Fischer
2009-04-20  8:40               ` Hans Hagen
2009-04-20 12:24               ` Eythan Weg
2009-04-20 10:20           ` Wei-Wei Guo
2009-04-20 10:15             ` Hans Hagen
2009-04-20 10:56               ` Wei-Wei Guo
2009-04-20 12:34           ` Eythan Weg
2009-04-19 13:59     ` Wei-Wei Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).