Changing margin and paper size, and history with time stamps

Changing margin and paper size Yesterday I learned how to change the margin of the PDF file Pandoc generates. But I forgot about the paper size. I live in the Netherlands and A4 is the common format here. First, I wanted to know how to check the current paper size of a PDF file. This can be done on the macOS command line as follows: mdls freecodecamp.pdf | grep -i page This reports the number of…