I'm looking to programmatically generate PDF documents using LaTeX, but at the same time, keep track of where the elements are getting rendered (i.e. the x,y coordinates of \image elements or the \section element etc. ) in each page of each document.
Is there any way that I can do this?
Thanks
zrefand itssaveposfeature, e.g.\zsavepos{myimage}and\zposx{myimage}and\zposy{myimage}, wheremyimageis a label name you can design yourself. (of course, only once). – Feb 03 '18 at 06:10in each page of each document. This is too broad. – Feb 03 '18 at 06:56saveposor whatever. – ShreevatsaR Feb 03 '18 at 18:55in each page of each document, I mean that I want the x,y cooridnates w.r.t to the page rather than w.r.t the entire document, if that makes any sense. – Samuel Bushi Feb 04 '18 at 19:43