I've updated the script in
post #11 again. I think it's a bit cleaner now, and two main improvements:
- It will use pdftk if available to set the author and title metadata of the PDF.
- It has another option, -S, equivalent to -s but with a higher priority. The stylesheet specified with -s is overriden (if there are conflicts) by the book-specific .css, if any. The stylesheet specified with -S will override anything (use !important to override the "author" styles, as usual).