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