Adjusted pdf output for docs. [ci skip]