Added latex_filter to publish_to_latex
Added plot_samples function and added that to demo_simplefem
Added do_publish with latex_filter plus extra preamble.tex
Brushed up the styling of the published latex output (mainly by using lstlistings)