Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (33 sloc) 1009 Bytes
---
title: 'Git to book documentation'
Subtitle: >
A simple way to generate
PDF, EPUB, MOBI, HTML,
using Markdown and git repositories.
Output formats are generated using Pandoc.
subject: Gittobook documentation
author:
- Dennis Bæk Iversen
keywords: ebooks, pandoc, pdf, html
rights: Creative Commons Non-Commercial Share Alike 3.0
language: en-US
tags: [pandoc, pdf, epub, mobi creation]
cover-image: "images/gittobook.png"
lang: en
# Note you will need quotes around dates
date: '2015-01-27'
stylesheet: epub.css
# pandoc format arguments
# because of security these options are limited
format-arguments:
pdf: >
-S
--toc
--number-sections
-V mainfont='Latin Modern Roman'
-V sansfont='Times New Roman'
-V monofont=Arial -V fontsize=12pt -V version=1.10
html: -S --toc-depth=3 --chapters --number-sections --toc
epub: -S --epub-embed-font=OpenSans-Regular.ttf --epub-chapter-level=3 --number-sections --toc
mobi: ok
...