add readme, tests dir
format latex sections correctly
add test outputs for tex, html5
add html figure
define markdown figure consistently
calculate number of figures correctly
add test output for markdown, html
complete tests
update readme