beamer

My rare use of Latex

Compiling
I sometimes use Latex. I would like to use it more often, but I guess I belong to the Wysiwyg generation. In fact I use it so rarely that I even forget how to compile a document. The following is therefore just a reminder for myself; the filename is doc.tex:
latex doc
bibtex doc
latex doc
latex doc
dvips -Ppdf doc.dvi
tex4ht doc.tex
mk4ht oolatex doc.tex

This creates a PDF file and an OpenOffice file out of the Latex file.