On Mon, 25 Nov 2013, Jan Tosovsky wrote:
On 2013-11-25 Hans Hagen wrote:
On 11/24/2013 8:32 PM, Jan Tosovsky wrote:
is it possible to get the complete representation of the layout that
is processed in the luatex PDF generator?
I mean coordinations of individual text boxes, their dimensions etc.
Actually, I'd like to retrieve the page number and vertical position
of my object with a specific id (reference) to be able to perform PDF
post-processing.
\starttext
we are here: \setposition{crap}(\MPx{crap},\MPy{crap})
\stoptext
Thanks! Looks promising, Actually I'd like to print it into a log or
somewhere else, not into the document itself. But I need also the page
number. Every record should be ideally in the form: ID;page-number;Y-coord.
\setposition{id}
\message{id:\MPp{id};\MPy{id};\MPx{id}}
should work (untested). Then you can parse the log file.
Aditya
___________________________________________________________________________________
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
___________________________________________________________________________________