makeebooks: assign default values of titles

Assign default values to figure_title, book_title, authors and
comments. To prevent variables from being 'nil' or previous values.
makeebooks: remove duplication
Merge pull request #354 from southly/fix-makeebooks

Fix makeebooks