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. > > Is DVI way to go? How can I get it in MkIV? I've found that luatex can optionally output DVI [1], but I cannot find any ConTeXt commandline switch to change the output format from PDF to something else... Thanks, Jan ___________ [1] http://tex.stackexchange.com/questions/42216/which-tex-programs-produce-dvi- output ___________________________________________________________________________________ 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 ___________________________________________________________________________________