Re: [NTG-context] object in use

2010-04-14 Thread Hartmut Henkel
On Mon, 22 Mar 2010, Hans van der Meer wrote:

 Any idea what can cause the following error? I never encountered such
 a thing so I don't know where to start hunting. The error is new in
 mkiv, did not occur in mkii.

 ! LuaTeX error ...beta/tex/texmf-context/tex/context/base/lpdf-ini.lua:534:
 pdf.immediateobj() object in use

rather likely this was a luatex bug, hopefully fixed in SVN 3617.

Regards, Hartmut
___
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] object in use

2010-03-22 Thread Hans van der Meer
Any idea what can cause the following error? I never encountered such  
a thing so I don't know where to start hunting. The error is new in  
mkiv, did not occur in mkii.


! LuaTeX error ...beta/tex/texmf-context/tex/context/base/lpdf-ini.lua: 
534: pdf.immediateobj() object in use

stack traceback:
[C]: in function 'pdfimmediateobj'
	...beta/tex/texmf-context/tex/context/base/lpdf-ini.lua:534: in  
function '?'
	...beta/tex/texmf-context/tex/context/base/lpdf-ini.lua:462: in  
function 'run'
	...beta/tex/texmf-context/tex/context/base/lpdf-ini.lua:485: in  
function 'finalizedocument'

main ctx instance:1: in main chunk.
inserted text ...einjections.finalizedocument()}

inserted text \the \everylastbackendshipout
  \flushtextdata
\actualshipout ...e \relax \the \everylastshipout
  \global  
\everylastshipout ...

\myshipout ...\@@ppmethod }\gobbleoneargument {#1}
  \setnextrealpageno  
\afters...

\dofinaloutput ...hbox {\vbox {\dopagebody #1#2}}}
  \the  
\everyaftershipout \a...

\finaloutput ...EAEAEA \dofinaloutput \fi \fi #1#2
   
\resetselectiepagina \incr...

...
l.41 \stopproduct

Hans van der Meer




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


Re: [NTG-context] object in use

2010-03-22 Thread Taco Hoekwater


Hans van der Meer wrote:
 Any idea what can cause the following error? I never encountered such a

The error is caused by line 534 in lpdf-ini.lua, which is called
from line 462, which is called from line 485 (the lpdf.finalizedocument
function). But that was in the traceback already.

I guess you will get this error if lpdf.finalizedocument is called
twice. How this can happen, I have no idea. As the author of the source
file resulting in this error, you are in a much better position to
figure this out than I am ;)

Best wishes,
Taco

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


Re: [NTG-context] object in use

2010-03-22 Thread Hans Hagen

On 22-3-2010 16:20, Hans van der Meer wrote:

Any idea what can cause the following error? I never encountered such a
thing so I don't know where to start hunting. The error is new in mkiv,
did not occur in mkii.


sure, as mkiv has a complete different backend

can you run with

\enabletrackers[backend.resources]

and see what gets flushed?


-
  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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___