Re: [NTG-context] Intermediate format
On 11/24/2013 8:32 PM, Jan Tosovsky wrote:
Dear All,
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.
In e.g. XSL-FO processors it is provided in the XML based formats:
http://www.renderx.com/reference.html#IntermediateFormatSpecification http://xmlgraphics.apache.org/fop/1.1/intermediate.html
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.
Is DVI way to go? How can I get it in MkIV?
old feature ... \starttext we are here: \setposition{crap}(\MPx{crap},\MPy{crap}) \stoptext ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
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
participants (2)
-
Hans Hagen
-
Jan Tosovsky