Fix LaTeX and BibTeX typesetting