I like the 'cat > statement.tex' approach here. These guys dream macros.