add specific LaTeX processing exception
use new exception for LaTeX
make general process.py test, instead of by format
flake8 formatting update
reformat exception msg, flake8