Exception with 'double.sided' set to 1 for PDF output