overwrite common functions with no functions to do nothing
move writeTeXsrc to main script to be not optional
move writeTeXsrc to main script to be not optional