Added a change from Maram Hasanaim that makes the TOC and links clickable in the PDF.  Note that links are not colored in any way by default.  This is so that the PDF looks correct when printed.