fixed latex figure handling, added latex example
Merge pull request #17 from wildart/tex

fixed latex figure handling, added latex example
fixed latex example
Merge pull request #18 from wildart/tex

fixed latex example