zotero/zotero — pull request #105 by gracile-fr (2012-04-28 23:19:30+00:00)
Title: Add an option for page breaks between items in report

The patch adds a checkbox in the report.html file, generated by Zotero.
When checked, the report is printed (not automatically: the user has still to click print/ ctrl-p) with page breaks.
The checkbox and its message are not printed (css: "display:none").

I've added the function into the generateHTMLDetails function since I don't know how to do it differently. As I've compressed the code, you may consider that this is not enough human readable despite the explicit comment (?).

@simonster: I took inspiration from this script: http://www.javascriptkit.com/dhtmltutors/pagebreak.shtml .

---
Old trac ticket: https://www.zotero.org/trac/ticket/1608
Zotero forum: http://forums.zotero.org/discussion/9452/