Re: [NTG-context] [luatex-plain] call to undefined function in font-def.lua

2012-12-09 Thread Hans Hagen

On 12/8/2012 1:27 PM, Philipp Gesang wrote:

Hi Hans,

the plain format from context calls a non-existing function
fonts.goodies.filenames.resolve(). It appears that the format was
not updated to include the expected code from fonts-gds.lua. [1]
Terminal output below.


that code is context specific so we need

local resolvefile   = fontgoodies and fontgoodies.filenames and 
fontgoodies.filenames.resolve or function(s) return s end


no beta today (as i upgraded some low level file code which needs testing)

Hans

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


[NTG-context] [luatex-plain] call to undefined function in font-def.lua

2012-12-08 Thread Philipp Gesang
Hi Hans,

the plain format from context calls a non-existing function
fonts.goodies.filenames.resolve(). It appears that the format was
not updated to include the expected code from fonts-gds.lua. [1]
Terminal output below.

Regard
Philipp

[1] The code was introduced to font-def.lua on November 16:

http://repo.or.cz/w/context.git/commitdiff/4f08d2072378de7bac2c7992876b8f7012f7be78



$ luatex -fmt luatex-plain.fmt 
This is LuaTeX, Version beta-0.70.1-2011051923 (rev 4277) 
  \write18 enabled.
**\relax
(./luatex-basics.tex) (./luatex-fonts.tex push namespace ./luatex-fonts-merg
ed.lua(using cache: /home/laokoon/context/tex/texmf-cache/luatex-cache/generic
)
! LuaTeX error ./luatex-fonts-merged.lua:12701: attempt to index local 'fontgoo
dies' (a nil value)
stack traceback:
./luatex-fonts-merged.lua:12701: in main chunk
[C]: in function 'dofile'
./luatex-fonts.lua:107: in function 'loadmodule'
./luatex-fonts.lua:111: in main chunk
[C]: in function 'dofile'
\directlua :1: in main chunk.
l.136 }

? 
! Emergency stop.
l.136 }

!  == Fatal error occurred, no output PDF file produced!
Transcript written on luatex-basics.log.



pgpTIWeNZp0E9.pgp
Description: PGP signature
___
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
___