title: How would I make a webpage that would use user input to generate a .doc(x)/.pdf document /w footnotes?
body: <p>I want to create a website/webapp to aid users in making translations of foreign texts. The user would upload/copy &amp; paste a text in one collumn, type in a translation on a second collumn. There would be a feature for the user to add notes about certain words, in such a way that when they hover over the word a popup appears with their notes.  <br/>The thing is, I want them to be able to download what they have done to some sort of word document, (doc, docx, odt, pdf) in such a way that they see the text on one side, the translation on the other, and notes appear as footnotes on the pages the text appears.  <br/>
  So I just need some guidance. I have experiance with html, css, javascript, php. I think I can get everything figured out myself, I just need to know if the 'generate word document' part is plausible?</p>