Please note that pandoc has a -s parameter to indicate that you wish the resulting file to be a stand-alone one. I know this is relevant for html, not sure of docx. It would probably not hurt to include -s though. Fernando