Added rules to generate pdf in cr.tex.