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

___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to