* pdfboxes (mkiv)
@ 2011-03-20 17:15 Peter Rolf
0 siblings, 0 replies; only message in thread
From: Peter Rolf @ 2011-03-20 17:15 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-03-20 17:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-20 17:15 pdfboxes (mkiv) Peter Rolf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).