Add new figures and force figures, tables and code listings
to remain in their sections using
http://tex.stackexchange.com/a/4667/6784
revise code listings