pdf: adding substitution for quote problems in pdfs