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
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 -----------------------------------------------------------------
On Sun, Sep 21, 2008 at 6:04 PM, Hans Hagenwrote: > 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
Alan Stone wrote:
On Sun, Sep 21, 2008 at 6:04 PM, Hans Hagen
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 ?
Alan Stone wrote: 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 -----------------------------------------------------------------
On Sun, Sep 21, 2008 at 10:49 PM, Hans Hagenwrote: >> 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 . > 17-09-2008 15:31 .. > 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
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
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 -----------------------------------------------------------------
On Mon, Sep 22, 2008 at 5:04 PM, Hans Hagenwrote: > 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
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
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
participants (3)
-
Alan Stone
-
Hans Hagen
-
Piotr Kopszak