Tuesday, September 6, 2011

PDF Generation Updated

Last week, we released an update to our PDF generation code.  The update was coded as part of the College Open Textbook project.  The update moved some special PDF features that were only in the Collaborative Statistics PDF to all PDFs. 

The two main visible PDF changes are:
  • The numbering of Exercises and Examples inside of a section now take the section number as part of their numbering.  For example, if a group of 3 Exercises are in section 2.4, the Exercises will be numbered 2.4.1, 2.4.2 and 2.4.3.  Previously, the Excercises would have been numbered 2.1, 2.2 and 2.3.
  •  Sections marked as Homework now have a page break before them.  This allows the user to print out the Homework without any of the text of the book being printed.  There is a side effect of adding more pages to some collections.

Existing PDFs were not updated to use this new formatting.  They will be updated as they are republished by the authors.  If you enjoy browsing LaTeX, feel free to check out the new code.