2014-08-23T15:52 -- first version after fixing \ref for pdflatex and docx