[luatex] PDF outlines in Lua mode

Hans Hagen j.hagen at xs4all.nl
Sun Oct 21 12:37:41 CEST 2018


On 10/20/2018 8:27 PM, Patrick Gundlach wrote:

> I was starting with a PDF destination set with a whatsit node:
> 
> d = node.new("whatsit","pdf_dest")
> d.named_id = 0
> d.dest_type = 0
> d.dest_id = 1234
> node.write(d)

the same as on the tex end

foo = pdf.reserveobj()

d.objnum = foo

> this writes, if I remember correctly, a destination object such as "[3 0 R/XYZ 133.768 707.016 null]"
-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the luatex mailing list