ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [Linux] font name database
@ 2008-09-20 18:04 Alan Stone
  2008-09-21 16:04 ` Hans Hagen
  2008-09-21 20:23 ` Piotr Kopszak
  0 siblings, 2 replies; 10+ messages in thread
From: Alan Stone @ 2008-09-20 18:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

I'm trying to get the list of currently known fonts through

mtxrun --script fonts --list

under SciTE/Ubuntu and get the following message

...text/tex/texmf-context/tex/context/base/font-syn.lua:278: attempt
to index field 'data' (a nil value)

What's that ?

-- 
Best,
Alan

> Ubuntu 8.04 Hardy
    * ConTeXt  ver: 2008.09.16 19:49 MKIV  fmt: 2008.9.20  int: english/english
    * texexec --lua foo
> Windows XP Home SP3
    * ConTeXt  ver: 2008.09.16 19:49 MKIV fmt: 2008.9.20  int: english/english
    * texmfstart texexec --lua foo
___________________________________________________________________________________
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] 10+ messages in thread

* Re: [Linux] font name database
  2008-09-20 18:04 [Linux] font name database Alan Stone
@ 2008-09-21 16:04 ` Hans Hagen
  2008-09-21 20:43   ` Alan Stone
  2008-09-21 20:23 ` Piotr Kopszak
  1 sibling, 1 reply; 10+ messages in thread
From: Hans Hagen @ 2008-09-21 16:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Alan Stone wrote:
> Hi,
> 
> I'm trying to get the list of currently known fonts through
> 
> mtxrun --script fonts --list
> 
> under SciTE/Ubuntu and get the following message
> 
> ....text/tex/texmf-context/tex/context/base/font-syn.lua:278: attempt
> to index field 'data' (a nil value)
> 
> What's that ?

probably a failure to either save or load the database; could be 
anything; is there a names.tma in the cache?

i'll add an error message


-----------------------------------------------------------------
                                           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] 10+ messages in thread

* Re: [Linux] font name database
  2008-09-20 18:04 [Linux] font name database Alan Stone
  2008-09-21 16:04 ` Hans Hagen
@ 2008-09-21 20:23 ` Piotr Kopszak
  1 sibling, 0 replies; 10+ messages in thread
From: Piotr Kopszak @ 2008-09-21 20:23 UTC (permalink / raw)
  To: ntg-context

On Sat, Sep 20, 2008 at 08:04:46PM +0200, Alan Stone wrote:
> Hi,
> 
> I'm trying to get the list of currently known fonts through
> 
> mtxrun --script fonts --list
> 
> under SciTE/Ubuntu and get the following message
> 
> ..text/tex/texmf-context/tex/context/base/font-syn.lua:278: attempt
> to index field 'data' (a nil value)
> 
> What's that ?
> 
> -- 
> Best,
> Alan

Are you using Minimals or Ubuntu installation of ConTeXt?

Piotr
-- 

   Piotr Kopszak, Ph.D.
   Polish Art Gallery, National Museum in Warsaw
   kle --------------------------->  http://okle.pl
   http://www.magnatune.com/artists/altri_stromenti

___________________________________________________________________________________
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] 10+ messages in thread

* Re: [Linux] font name database
  2008-09-21 16:04 ` Hans Hagen
@ 2008-09-21 20:43   ` Alan Stone
  2008-09-21 20:49     ` Hans Hagen
  2008-09-21 21:03     ` Alan Stone
  0 siblings, 2 replies; 10+ messages in thread
From: Alan Stone @ 2008-09-21 20:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sun, Sep 21, 2008 at 6:04 PM, Hans Hagen <pragma@wxs.nl> wrote:
> Alan Stone wrote:
>> Hi,
>>
>> I'm trying to get the list of currently known fonts through
>>
>> mtxrun --script fonts --list
>>
>> under SciTE/Ubuntu and get the following message
>>
>> ....text/tex/texmf-context/tex/context/base/font-syn.lua:278: attempt
>> to index field 'data' (a nil value)
>>
>> What's that ?
>
> probably a failure to either save or load the database; could be
> anything; is there a names.tma in the cache?
>
> i'll add an error message

no *.tma files in /opt/context

-- 
Best,
Alan

> Ubuntu 8.04 Hardy Desktop
   * ConTeXt  ver: 2008.09.16 19:49 MKIV  fmt: 2008.9.20  int:
english/english  (ConTeXt minimals installation)
   * texexec --lua foo
> Windows XP Home SP3
   * ConTeXt  ver: 2008.09.16 19:49 MKIV fmt: 2008.9.20  int:
english/english (ConTeXt minimals installation)
   * texmfstart texexec --lua foo
___________________________________________________________________________________
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] 10+ messages in thread

* Re: [Linux] font name database
  2008-09-21 20:43   ` Alan Stone
@ 2008-09-21 20:49     ` Hans Hagen
  2008-09-22  5:38       ` Alan Stone
  2008-09-21 21:03     ` Alan Stone
  1 sibling, 1 reply; 10+ messages in thread
From: Hans Hagen @ 2008-09-21 20:49 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Alan Stone wrote:
> On Sun, Sep 21, 2008 at 6:04 PM, Hans Hagen <pragma@wxs.nl> wrote:
>> Alan Stone wrote:
>>> Hi,
>>>
>>> I'm trying to get the list of currently known fonts through
>>>
>>> mtxrun --script fonts --list
>>>
>>> under SciTE/Ubuntu and get the following message
>>>
>>> ....text/tex/texmf-context/tex/context/base/font-syn.lua:278: attempt
>>> to index field 'data' (a nil value)
>>>
>>> What's that ?
>> probably a failure to either save or load the database; could be
>> anything; is there a names.tma in the cache?
>>
>> i'll add an error message
> 
> no *.tma files in /opt/context

should be in the cache path, for instance on my machine ...

  Directory of 
c:\temp\luatex-cache\context\3addaf6083634dad22ef3141c83e8289\fonts\data

17-09-2008  15:31    <DIR>          .
17-09-2008  15:31    <DIR>          ..
17-09-2008  15:31           241.315 names.tma
17-09-2008  15:31           268.061 names.tmc

you can locate the cach epath woth

luatools --verbose --generate



-----------------------------------------------------------------
                                           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] 10+ messages in thread

* Re: [Linux] font name database
  2008-09-21 20:43   ` Alan Stone
  2008-09-21 20:49     ` Hans Hagen
@ 2008-09-21 21:03     ` Alan Stone
  1 sibling, 0 replies; 10+ messages in thread
From: Alan Stone @ 2008-09-21 21:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users

correction: no *.tma files in /opt/context subfolders

-- 
Best,
Alan

> Ubuntu 8.04 Hardy Heron (Desktop)
 * ConTeXt ver: 2008.09.16 19:49 MKIV fmt: 2008.9.20 int:
english/english (ConTeXt minimals installation)
 * texexec --lua foo
> Windows XP Home SP3
 * ConTeXt ver: 2008.09.16 19:49 MKIV fmt: 2008.9.20 int:
english/english (ConTeXt minimals installation)
 * texmfstart texexec --lua foo
___________________________________________________________________________________
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] 10+ messages in thread

* Re: [Linux] font name database
  2008-09-21 20:49     ` Hans Hagen
@ 2008-09-22  5:38       ` Alan Stone
  2008-09-22 13:25         ` Alan Stone
  0 siblings, 1 reply; 10+ messages in thread
From: Alan Stone @ 2008-09-22  5:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sun, Sep 21, 2008 at 10:49 PM, Hans Hagen <pragma@wxs.nl> wrote:
>> no *.tma files in /opt/context
>
> should be in the cache path, for instance on my machine ...
>
>  Directory of
> c:\temp\luatex-cache\context\3addaf6083634dad22ef3141c83e8289\fonts\data
>
> 17-09-2008  15:31    <DIR>          .
> 17-09-2008  15:31    <DIR>          ..
> 17-09-2008  15:31           241.315 names.tma
> 17-09-2008  15:31           268.061 names.tmc
>
> you can locate the cach epath woth
>
> luatools --verbose --generate

Did luatools --verbose --generate, then searched for *.tma, then names
in /opt/context and the only one found was contextnames.txt

Then ran mtxrun --script fonts --list again and now there's names.tma
and names.tmc.

Thanks.

-- 
Best,
Alan

> Ubuntu 8.04 Hardy Heron (Desktop)
 * ConTeXt ver: 2008.09.16 19:49 MKIV fmt: 2008.9.20 int:
english/english (ConTeXt minimals installation)
 * texexec --lua foo
> Windows XP Home SP3
 * ConTeXt ver: 2008.09.16 19:49 MKIV fmt: 2008.9.20 int:
english/english (ConTeXt minimals installation)
 * texmfstart texexec --lua foo
___________________________________________________________________________________
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] 10+ messages in thread

* Re: [Linux] font name database
  2008-09-22  5:38       ` Alan Stone
@ 2008-09-22 13:25         ` Alan Stone
  2008-09-22 15:04           ` Hans Hagen
  0 siblings, 1 reply; 10+ messages in thread
From: Alan Stone @ 2008-09-22 13:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users

I copied some Windows ttf fonts to

/opt/context/tex/texmf/fonts/truetype

then did

context --generate
context --make
mtxrun --script fonts --list

and the ttf fonts don't appear in the fonts db list.

What's missing ?

By the way, what's the difference between...

- context --generate      generate file database etc.
- luatools --generate     generate file database

--
Best,
Alan

* Ubuntu 8.04 Hardy Heron (Desktop)
* ConTeXt ver: 2008.09.16 19:49 MKIV fmt: 2008.9.20 int:
english/english (ConTeXt minimals installation)
* texexec --lua foo
___________________________________________________________________________________
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] 10+ messages in thread

* Re: [Linux] font name database
  2008-09-22 13:25         ` Alan Stone
@ 2008-09-22 15:04           ` Hans Hagen
  2008-09-22 16:14             ` Alan Stone
  0 siblings, 1 reply; 10+ messages in thread
From: Hans Hagen @ 2008-09-22 15:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Alan Stone wrote:

mtxrun --script fonts --reload

> mtxrun --script fonts --list

-----------------------------------------------------------------
                                           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] 10+ messages in thread

* Re: [Linux] font name database
  2008-09-22 15:04           ` Hans Hagen
@ 2008-09-22 16:14             ` Alan Stone
  0 siblings, 0 replies; 10+ messages in thread
From: Alan Stone @ 2008-09-22 16:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

On Mon, Sep 22, 2008 at 5:04 PM, Hans Hagen <pragma@wxs.nl> wrote:
> Alan Stone wrote:
>
> mtxrun --script fonts --reload

Thanks Hans.

I misunderstood what's mentioned in
http://wiki.contextgarden.net/Running_Mark_IV#Font_name_database

-- 
Best,
Alan

> Ubuntu 8.04 Hardy Heron (Desktop)
* ConTeXt ver: 2008.09.16 19:49 MKIV fmt: 2008.9.20 int: english/english
(ConTeXt minimals installation)
* texexec --lua foo

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

[-- Attachment #2: Type: text/plain, Size: 487 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2008-09-22 16:14 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-20 18:04 [Linux] font name database Alan Stone
2008-09-21 16:04 ` Hans Hagen
2008-09-21 20:43   ` Alan Stone
2008-09-21 20:49     ` Hans Hagen
2008-09-22  5:38       ` Alan Stone
2008-09-22 13:25         ` Alan Stone
2008-09-22 15:04           ` Hans Hagen
2008-09-22 16:14             ` Alan Stone
2008-09-21 21:03     ` Alan Stone
2008-09-21 20:23 ` Piotr Kopszak

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