Generative Models For Synthetic Documents And Embedded Figures