tweaks to latex and pdf by CRL, fix to latex for repository layout