An example template of using pweave and pandoc to create book/article like documents suitable for starting a thesis. Supports writing using (pandoc) markdown and Pweave to weave literate coding examples into documents. Workflow first transforms the pweave markdown (.pmd) into a standard markdown file (.md). Then we use pandoc, with its support for latex output and latex header material, to generate a latex .tex file. This is then suitable for compilation with latex/pdflatex, and can include a bibtex bibliography for references.