prettifying
LaTeX writer now scale image according to attributes
prelimiary support for figures and x-refs (still broken in some areas)