This repository provides a full featured template for writing a thesis dissertation using Pandoc, http://pandoc.org. Based on an “extended Markdown” sources, this template can deal with many outputs dialect basically supported by Pandoc
pdf: (preferred) output generated from (pdf/lua)LaTeX;html: single (based solely on Pandoc) and multi (based on Jekyll) HTML 5 file, e.g. for web-publications;epub: EPUB v3 ebook;docbook5: XML/DocBook (v5) and HTML chunked files (currently with limited support);odt: LibreOffice/OpenOffice OpenDocument;docx: Microsoft Word; etc.The proposed workflow allows to:
make build process, etc.Note: Now as a wiki; and documentation have started with a Github-page.
Install or check if the following prerequires are available:
make build system: all the template build workflow relies on the use of a Makefile. Thus, you should have a suitable make software.Recommanded packages:
ImageMagick : for image conversion between the different target.
Inkscape : to convert SVG images to other image format
SVG is the recommanded input format for images/pictures of the dissertation contents. It will be then converted/optimized with respect to the considered output target.
NPM : for complementary packages (eg. [Bootstrap], JQuery, MathJax, SVGO, etc…) mainly to deal with the HTML target.
SASS to facilate the writting of CSS for web-publications. Required if you want to compile CSS for html, epub and docbook targets.
Optionally look for the following optional packages:
BUILD_HTML_FORMAT=htmlmulti (e.g. for web-publishing)
Clone the repository on Github in the proper place on your machine, e.g.:
$ git clone https://github.com/dfolio/pandoc-df-thesis-template.git
Edit the Makefile (optional), and the _data/variables.yml (advised).
Note: the basis metadata (title, authors,...) are defined in
_data/variables.yml!
Once you have written some elements in the sources directory: _md/, with your preferred Markdown editor (e.g. Atom, Sublime…), from the root repository of your dissertation just try running:
$ make <target>
where <target> is one of the above output dialect (i.e. pdf, html, epub…).
Further information about the relevant targets can be shown with the help rule:
$ make help
provides some help on the other targets.
Further informations on the directories organization are given in the wiki How To? page. The template documentations have started with a Github pages.
Feel free (under the CC-By-4.0 terms) to modify/adapt this template for your own purpose (I will appreciate some feedback :+1:). To this aim you can:
git checkout -b my-new-feature)git commit -am 'Add some feature')git push origin my-new-feature)For any troubleshooting read, and (eventually) create an issue on pandoc-df-thesis-template GitHub repository.