ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [luatex-plain] call to undefined function in font-def.lua
@ 2012-12-08 12:27 Philipp Gesang
  2012-12-09 11:50 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Philipp Gesang @ 2012-12-08 12:27 UTC (permalink / raw)
  To: ConTeXt ML


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

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.


[-- Attachment #1.2: Type: application/pgp-signature, Size: 198 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] 2+ messages in thread

* Re: [luatex-plain] call to undefined function in font-def.lua
  2012-12-08 12:27 [luatex-plain] call to undefined function in font-def.lua Philipp Gesang
@ 2012-12-09 11:50 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2012-12-09 11:50 UTC (permalink / raw)
  To: ConTeXt ML

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
___________________________________________________________________________________


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

end of thread, other threads:[~2012-12-09 11:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-08 12:27 [luatex-plain] call to undefined function in font-def.lua Philipp Gesang
2012-12-09 11:50 ` Hans Hagen

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