In the late 1780s the librarian at the Bohemian castle of Dux, fifty miles from Prague, was trying to finish his autobiography. His employer, Count Joseph Karl von Waldstein, chamberlain to the Emperor, was an amiable man, but in his absence his jealous major- domo Feldkirchner made the librarian’s life a misery. The servants disregarded his orders, the cook served him cold, inedible meals, dogs were encouraged to bark outside his room at night, and during the day a hunting horn with a peculiarly unpleasant tone was sounded at intervals. Everyone in the castle was encouraged to laugh at the elderly man’s over-meticulous manners and old-fashioned dress. All in all, it was remarkable that Giacomo Casanova succeeded in completing his masterpiece – though despite its enormous length it still ends so abruptly that there might have been a few more pages to come.