Properly escape special characters for latex
PDF export: Never include version control page in web or book pdfs. Also added check for primary repo to those two exports instead of hardcoding it to english.