honor the --title option to set the document title