Made detailed the function pdf:rotate-pages().