[NTG-context] rebuild font cache

2013-06-09 Thread Pablo Rodríguez
Hi there,

after installing a new beta this morning, I'm afraid that ConTeXt isn't
able to find the installed fonts on my system (path is added to setuptex).

It isn't the first time I experience this. I solved this in the past
rebuilding the font cache.

But now it doesn't work.

mtxrun --script fonts --reload

fonts   | names | warnings are disabled (tracker
'fonts.warnings').../ctxbeta/tex/texmf-context/tex/context/base/font-syn.lua:723:
attempt to index field 'treatments' (a nil value)

How can I force the font cache to be rebuild?

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] rebuild font cache

2013-06-09 Thread luigi scarso
On Sun, Jun 9, 2013 at 1:25 PM, Pablo Rodríguez oi...@web.de wrote:

 Hi there,

 after installing a new beta this morning, I'm afraid that ConTeXt isn't
 able to find the installed fonts on my system (path is added to setuptex).

 It isn't the first time I experience this. I solved this in the past
 rebuilding the font cache.

 But now it doesn't work.

 mtxrun --script fonts --reload

 fonts   | names | warnings are disabled (tracker

 'fonts.warnings').../ctxbeta/tex/texmf-context/tex/context/base/font-syn.lua:723:
 attempt to index field 'treatments' (a nil value)

 How can I force the font cache to be rebuild?

 mtxrun --script fonts --reload
is ok here

-- 
luigi
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] rebuild font cache

2013-06-09 Thread Pablo Rodríguez
On 09/06/13 15:29, luigi scarso wrote:
 On Sun, Jun 9, 2013 at 1:25 PM, Pablo Rodríguez wrote:
 mtxrun --script fonts --reload
 
 fonts   | names | warnings are disabled (tracker
 
 'fonts.warnings').../ctxbeta/tex/texmf-context/tex/context/base/font-syn.lua:723:
 attempt to index field 'treatments' (a nil value)
 
 How can I force the font cache to be rebuilt?
 
 mtxrun --script fonts --reload
 is ok here

After reinstalling ConTeXt Standalone, system installed fonts don't work
either.

If I try to rebuild the font cache, here is what I get:

$ mtxrun --script fonts --reload
cannot open : No such file or directory

This happens after changing in tex/texmf/web2c/texmfcnf.lua:

TEXMFCACHE  = /var/cache/ctxbeta/texmf-cache,

And if I try to compile a document with luajittext I get the following
error:

mtx-context   | error, no format found with name: cont-en, aborting

In the meantime, I have a single user installation that does the job, Is
there no way to fix my system-wide installation?

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] rebuild font cache

2013-06-09 Thread luigi scarso
On Sun, Jun 9, 2013 at 5:57 PM, Pablo Rodríguez oi...@web.de wrote:

 On 09/06/13 15:29, luigi scarso wrote:
  On Sun, Jun 9, 2013 at 1:25 PM, Pablo Rodríguez wrote:
  mtxrun --script fonts --reload
 
  fonts   | names | warnings are disabled (tracker
 
 'fonts.warnings').../ctxbeta/tex/texmf-context/tex/context/base/font-syn.lua:723:
  attempt to index field 'treatments' (a nil value)
 
  How can I force the font cache to be rebuilt?
 
  mtxrun --script fonts --reload
  is ok here

 After reinstalling ConTeXt Standalone, system installed fonts don't work
 either.

  http://wiki.contextgarden.net/Fonts_in_LuaTeX#Building_the_font_database


If I try to rebuild the font cache, here is what I get:

 $ mtxrun --script fonts --reload
 cannot open : No such file or directory

 This happens after changing in tex/texmf/web2c/texmfcnf.lua:

 TEXMFCACHE  = /var/cache/ctxbeta/texmf-cache,

 And if I try to compile a document with luajittext I get the following
 error:

 mtx-context   | error, no format found with name: cont-en, aborting

 In the meantime, I have a single user installation that does the job, Is
 there no way to fix my system-wide installation?

 why don't you use /opt and put all under /opt/context
without modifying anything ?


-- 
luigi
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] rebuild font cache

2013-06-09 Thread Aditya Mahajan

On Sun, 9 Jun 2013, Pablo Rodríguez wrote:


On 09/06/13 15:29, luigi scarso wrote:

On Sun, Jun 9, 2013 at 1:25 PM, Pablo Rodríguez wrote:
mtxrun --script fonts --reload

fonts   | names | warnings are disabled (tracker

'fonts.warnings').../ctxbeta/tex/texmf-context/tex/context/base/font-syn.lua:723:
attempt to index field 'treatments' (a nil value)

How can I force the font cache to be rebuilt?

mtxrun --script fonts --reload
is ok here


After reinstalling ConTeXt Standalone, system installed fonts don't work
either.

If I try to rebuild the font cache, here is what I get:

   $ mtxrun --script fonts --reload
   cannot open : No such file or directory

This happens after changing in tex/texmf/web2c/texmfcnf.lua:

   TEXMFCACHE  = /var/cache/ctxbeta/texmf-cache,

And if I try to compile a document with luajittext I get the following
error:

   mtx-context   | error, no format found with name: cont-en, aborting

In the meantime, I have a single user installation that does the job, Is
there no way to fix my system-wide installation?


Try running

 mtxrun --generate

and then repeat the above steps.

Aditya___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] rebuild font cache

2013-06-09 Thread Aditya Mahajan

On Sun, 9 Jun 2013, luigi scarso wrote:


why don't you use /opt and put all under /opt/context

without modifying anything ?


One needs write permission in TEXMFCACHE.

Aditya
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] rebuild font cache

2013-06-09 Thread Hans Hagen

On 6/9/2013 1:25 PM, Pablo Rodríguez wrote:

Hi there,

after installing a new beta this morning, I'm afraid that ConTeXt isn't
able to find the installed fonts on my system (path is added to setuptex).

It isn't the first time I experience this. I solved this in the past
rebuilding the font cache.

But now it doesn't work.

mtxrun --script fonts --reload

fonts   | names | warnings are disabled (tracker
'fonts.warnings').../ctxbeta/tex/texmf-context/tex/context/base/font-syn.lua:723:
attempt to index field 'treatments' (a nil value)


looks like you mix of old and new code

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] rebuild font cache

2013-06-09 Thread Pablo Rodríguez
On 09/06/13 18:15, Aditya Mahajan wrote:
 This happens after changing in tex/texmf/web2c/texmfcnf.lua:

TEXMFCACHE  = /var/cache/ctxbeta/texmf-cache,
 
 Try running
 
   mtxrun --generate
 
 and then repeat the above steps.

Many thanks for your reply, Aditya.

If I rebuild the font cache as root, I get:

# mtxrun --script fonts --reload

fonts   | names | warnings are disabled (tracker
'fonts.warnings').../ctxbeta/tex/texmf-context/tex/context
/base/font-syn.lua:723: attempt to index field 'treatments' (a nil
value)

If I rebuild the font cache as user, I get:

$ mtxrun --script fonts --reload

fonts   | names | unable to access database cache
fonts   | names | accessing the data table failed

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] rebuild font cache

2013-06-09 Thread Pablo Rodríguez
On 09/06/13 18:39, Hans Hagen wrote:
 On 6/9/2013 1:25 PM, Pablo Rodríguez wrote:
 But now it doesn't work.

 mtxrun --script fonts --reload

 fonts   | names | warnings are disabled (tracker
 'fonts.warnings').../ctxbeta/tex/texmf-context/tex/context/base/font-syn.lua:723:
 attempt to index field 'treatments' (a nil value)
 
 looks like you mix of old and new code

Many thanks for your reply, Hans.

I suspected that too, but I didn't find luatex-cache at /home.

Fonts are found fine now, but I cannot rebuild the font cache (as I
replied to Aditya).

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___