[luatex] Creating pdf_dest nodes
Andreas Matthias
andreas.matthias at gmail.com
Sat May 1 22:38:06 CEST 2021
In the following example I tried to create two pdf destinations,
the first one using /pdfextension, and the second one using the
node library. However only the first one is available, while
the second one is missing. What am I doing wrong?
\pdfvariable compresslevel = 0
\pdfextension dest name {aaa} xyz zoom 2000
\directlua{
d = node.new('whatsit', 'pdf_dest')
d.width = 100*65536
d.height = 100*65536
d.depth = 0
d.named_id = true
d.dest_id = 'bbb'
d.dest_type = 0
d.xyz_zoom = 2
node.write(d)
}
\bye
Andreas
More information about the luatex
mailing list.