Markup software with images and conversion to .doc and .pdf

view full story

http://askubuntu.com – I need a simple markup that would allow me to include chunks of code and images, and be able to produce .doc and .pdf documents. A bit (or maybe a lot) like the StackExchange markup, but with conversion to PDF and Word documents. I am producing a lot of documentation for the statistical analyses I am doing, and this documentation is then passed on to scientists who work predominantly with Word. Requirements: basic markup (document structure, bold, italic) chunks of code or preformatted text (syntax highlighting a plus) including external images in the viewer export to PDF and Word DOC (HTML (HowTos)