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
On Sun, Jun 9, 2013 at 1:25 PM, 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?
mtxrun --script fonts --reload is ok here
-- luigi
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
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
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
On Sun, Jun 9, 2013 at 5:57 PM, 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.
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
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 -----------------------------------------------------------------
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
participants (4)
-
Aditya Mahajan
-
Hans Hagen
-
luigi scarso
-
Pablo Rodríguez