Bugfix: LatexGenerator creates captions for figures now.