Added formats in document.tex

Now we can view graphics..