ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* rebuild font cache
@ 2013-06-09 11:25 Pablo Rodríguez
  2013-06-09 13:29 ` luigi scarso
  2013-06-09 16:39 ` Hans Hagen
  0 siblings, 2 replies; 9+ messages in thread
From: Pablo Rodríguez @ 2013-06-09 11:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


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

* Re: rebuild font cache
  2013-06-09 11:25 rebuild font cache Pablo Rodríguez
@ 2013-06-09 13:29 ` luigi scarso
  2013-06-09 15:57   ` Pablo Rodríguez
  2013-06-09 16:39 ` Hans Hagen
  1 sibling, 1 reply; 9+ messages in thread
From: luigi scarso @ 2013-06-09 13:29 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 735 bytes --]

On Sun, Jun 9, 2013 at 1:25 PM, Pablo Rodríguez <oinos@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

[-- Attachment #1.2: Type: text/html, Size: 1166 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

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

* Re: rebuild font cache
  2013-06-09 13:29 ` luigi scarso
@ 2013-06-09 15:57   ` Pablo Rodríguez
  2013-06-09 16:15     ` Aditya Mahajan
  2013-06-09 16:15     ` luigi scarso
  0 siblings, 2 replies; 9+ messages in thread
From: Pablo Rodríguez @ 2013-06-09 15:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


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

* Re: rebuild font cache
  2013-06-09 15:57   ` Pablo Rodríguez
@ 2013-06-09 16:15     ` Aditya Mahajan
  2013-06-09 16:57       ` Pablo Rodríguez
  2013-06-09 16:15     ` luigi scarso
  1 sibling, 1 reply; 9+ messages in thread
From: Aditya Mahajan @ 2013-06-09 16:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1260 bytes --]

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

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

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

* Re: rebuild font cache
  2013-06-09 15:57   ` Pablo Rodríguez
  2013-06-09 16:15     ` Aditya Mahajan
@ 2013-06-09 16:15     ` luigi scarso
  2013-06-09 16:19       ` Aditya Mahajan
  1 sibling, 1 reply; 9+ messages in thread
From: luigi scarso @ 2013-06-09 16:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1406 bytes --]

On Sun, Jun 9, 2013 at 5:57 PM, Pablo Rodríguez <oinos@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

[-- Attachment #1.2: Type: text/html, Size: 2260 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

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

* Re: rebuild font cache
  2013-06-09 16:15     ` luigi scarso
@ 2013-06-09 16:19       ` Aditya Mahajan
  0 siblings, 0 replies; 9+ messages in thread
From: Aditya Mahajan @ 2013-06-09 16:19 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


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

* Re: rebuild font cache
  2013-06-09 11:25 rebuild font cache Pablo Rodríguez
  2013-06-09 13:29 ` luigi scarso
@ 2013-06-09 16:39 ` Hans Hagen
  2013-06-09 17:07   ` Pablo Rodríguez
  1 sibling, 1 reply; 9+ messages in thread
From: Hans Hagen @ 2013-06-09 16:39 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________


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

* Re: rebuild font cache
  2013-06-09 16:15     ` Aditya Mahajan
@ 2013-06-09 16:57       ` Pablo Rodríguez
  0 siblings, 0 replies; 9+ messages in thread
From: Pablo Rodríguez @ 2013-06-09 16:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


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

* Re: rebuild font cache
  2013-06-09 16:39 ` Hans Hagen
@ 2013-06-09 17:07   ` Pablo Rodríguez
  0 siblings, 0 replies; 9+ messages in thread
From: Pablo Rodríguez @ 2013-06-09 17:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


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

end of thread, other threads:[~2013-06-09 17:07 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-09 11:25 rebuild font cache Pablo Rodríguez
2013-06-09 13:29 ` luigi scarso
2013-06-09 15:57   ` Pablo Rodríguez
2013-06-09 16:15     ` Aditya Mahajan
2013-06-09 16:57       ` Pablo Rodríguez
2013-06-09 16:15     ` luigi scarso
2013-06-09 16:19       ` Aditya Mahajan
2013-06-09 16:39 ` Hans Hagen
2013-06-09 17:07   ` Pablo Rodríguez

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