Pdf images resizing

When reviewing #498 @mtbc pointed out that while my rescaling looked fine for the html pages, some of the screenshots were too big in the pdf, so this PR uses separate commands for the images so they are scaled appropriately for both formats (60 % one is reduced further than the others to get the placement right across the page breaks, I thought it was still large enough to be legible).