[Dev-luatex] assigment to node fields ignored

Hans Hagen pragma at wxs.nl
Mon Dec 21 19:40:18 CET 2009


Paweł Jackowski wrote:
> Colleagues,
> 
> some luatex revisions ago I realised that assigments to pdf_refobj
> nodes are ignored. The following assertion fails:
> 
> \directlua{
> 
>   local ref = node.new(node.id "whatsit", node.subtype "pdf_refobj")
>   ref.objnum = 1
>   assert(ref.objnum)
> 
> }\end
> 
> By compiling and trying several revisions back, I found that it is so
> sice rev3229. Is the pdf_refobj whatsit intentionally not writable?

i can imagine that to be on purpose as there is no other safeguard

> By the way, due to the change of pdf metatable, assignments to pdf
> library table,
> 
>   pdf.whatever = true
>   assert(pdf.whatever)
> 
> are ignored since rev3206. That doesn't hurt, just wanted to be sure if 
> this is acknowledged.

that's a bug then as there is no reason not to assing to the pdf table 
(i probably do that anyway)

Hans

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


More information about the dev-luatex mailing list