Better doc pdf output