ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jannik Voges <researchjavo@icloud.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: bug in \externalfigure
Date: Fri, 02 Aug 2013 22:08:54 +0200	[thread overview]
Message-ID: <D8B692A4-A5FD-4CC6-8B89-BAAE6C421997@icloud.com> (raw)
In-Reply-To: <51FC0F73.20806@wxs.nl>


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

'context --make' gives an error:

! LuaTeX error .../context/tex/texmf-context/tex/context/base/back-pdf.lua:86: attempt to index global 'nodepool' (a nil value)
stack traceback:
	.../context/tex/texmf-context/tex/context/base/back-pdf.lua:86: in function 'code'
	.../context/tex/texmf-context/tex/context/base/util-lua.lua:84: in function 'loadedluacode'
	.../context/tex/texmf-context/tex/context/base/luat-env.lua:104: in function 'luafilechunk'
	.../context/tex/texmf-context/tex/context/base/luat-cod.lua:45: in function 'registercode'
	[string "\directlua "]:1: in main chunk.

system          > tex > error on line 35 in file /usr/local/context/tex/texmf-context/tex/context/base/back-pdf.mkiv: LuaTeX error  ...

25     \registerctxluafile{lpdf-wid}{1.001}
26     \registerctxluafile{lpdf-fld}{1.001}
27     \registerctxluafile{lpdf-mov}{1.001}
28     \registerctxluafile{lpdf-u3d}{1.001}
29     \registerctxluafile{lpdf-swf}{1.001}
30     \registerctxluafile{lpdf-tag}{1.001}
31     \registerctxluafile{lpdf-fmt}{1.001}
32     \registerctxluafile{lpdf-epd}{1.001}
33     \registerctxluafile{lpdf-epa}{1.001}
34     
35 >>  \registerctxluafile{back-pdf}{1.001} % some code will move to lpdf-*
36     
37     \unprotect
38     
39     %D We will minimize the number of calls to \PDF\ specific primitives
40     %D and delegate all management and injection of code to the backend.
41     %D
42     %D Here we initialize some internal quantities. We also protect them.
43     
44     \pdfoutput  1         \let\pdfoutput \undefined \newcount\pdfoutput  \pdfoutput  1
45     \pdfhorigin 1 true in \let\pdfhorigin\undefined \newdimen\pdfhorigin \pdfhorigin 1 true in


\registerctxluafile ...ua.registercode("#1","#2")}
                                                  
l.35 \registerctxluafile{back-pdf}{1.001}
                                        % some code will move to lpdf-*
? 


Jannik

Am 02.08.2013 um 21:58 schrieb Hans Hagen <pragma@wxs.nl>:

> function nodepool.pdfsetmatrix(rx,sx,sy,ry,tx,ty)
>    local t = copy_node(pdfsetmatrix)
>    if type(rx) == "string" then
>        t.data = rx
>    else
>        t.data = formatters["%s %s %s %s"](rx or 1,sx or 0,sy or 0,ry or 1) -- todo: tx ty
>    end
>    return t
> end


[-- Attachment #1.2: Type: text/html, Size: 10529 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
___________________________________________________________________________________

  reply	other threads:[~2013-08-02 20:08 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-01 12:27 Jannik Voges
2013-08-01 13:08 ` Marco Patzer
2013-08-01 13:44   ` Jannik Voges
2013-08-01 13:56   ` Aditya Mahajan
2013-08-01 14:01     ` luigi scarso
2013-08-01 14:43       ` Alan BRASLAU
2013-08-01 14:54         ` luigi scarso
2013-08-01 14:55         ` Hans Hagen
2013-08-01 14:14     ` Marco Patzer
2013-08-01 13:51 ` Aditya Mahajan
2013-08-01 13:52 ` Peter Münster
2013-08-01 15:19   ` Jannik Voges
2013-08-01 20:34     ` Peter Münster
2013-08-01 21:32       ` Jannik Voges
2013-08-02  7:56         ` Peter Münster
2013-08-02 11:13     ` Hans Hagen
2013-08-02 18:36       ` Jannik Voges
2013-08-02 18:55         ` Hans Hagen
2013-08-02 19:05           ` Jannik Voges
2013-08-02 19:35             ` Hans Hagen
2013-08-02 19:49               ` Jannik Voges
2013-08-02 19:58                 ` Hans Hagen
2013-08-02 20:08                   ` Jannik Voges [this message]
2013-08-03 10:45                     ` Jannik Voges

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=D8B692A4-A5FD-4CC6-8B89-BAAE6C421997@icloud.com \
    --to=researchjavo@icloud.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).