Detecting content out of print/page area ?
Dear all, I was wondering if there were any sort of tool (beyond manual eye inspection) in general sense, either printing some warning in log file, or visually in output document, or even reading pdf file, that would help determining if for a some page there is content that is typeset outside (partially or even worse totally) the print/page area. If not, could the approach of using a lua function to inspect nodes after shipouts task could possibly work (although not very easy to implement maybe) : local report_check = logs.reporter("user", "check") function userdata.page_check(head) local realpage = tex.getcount('realpageno') report_check('Page ' .. realpage) -- TODO: code to check stuff is inside print area return head, false end tasks.appendaction("shipouts", "after", "userdata.page_check") tasks.enableaction("shipouts", "userdata.page_check") Many thanks Best regards Joseph Canedo
participants (1)
-
josephcanedo@gmail.com