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