Support for previewing TeX-documents