fix failing deprecated test
fix remove math space
regen tex
fix latex base template :

wrap traceback in correct env,
add extract jpeg,
fix coalesce stream
add data_latex
fix write binary and non math $

remove write binary for normal write

forgott to append text when multiline dollars
regenerate tex references
remove debug statement
fix latex_transformer and add test