20 Mar
2011
20 Mar
'11
5:15 p.m.
Hi Hans, there is a typo in lpdf-mis.lua local function pagespecification() local pageheight = tex.pdfpageheight local box = pdfarray { -- can be cached boxvalue(leftoffset), boxvalue(pageheight-topoffset-height), ^^ should be "+" boxvalue(width-leftoffset), boxvalue(pageheight-topoffset), } lpdf.addtopageattributes("CropBox",box) -- mandate for rendering lpdf.addtopageattributes("TrimBox",box) -- mandate for pdf/x -- lpdf.addtopageattributes("BleedBox",box) -- lpdf.addtopageattributes("ArtBox",box) end I hate to use Acrobat for the pdf boxes, because it 'ruins' the PDF :-) Regards, Peter