Skip to content

Commit

Permalink
Merge remote branch 'robduncan/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
Karl Seguin committed Apr 11, 2011
2 parents a9bf550 + ef00fd3 commit 28b25c3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
en/mongodb.epub: en/title.txt en/mongodb.markdown
pandoc -o $@ $^

en/mongodb.mobi: en/mongodb.epub
kindleGen $^
2 changes: 2 additions & 0 deletions en/title.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
% The Little MongoDB Book
% Karl Seguin
4 changes: 3 additions & 1 deletion readme.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ The book is written in [markdown](http://daringfireball.net/projects/markdown/)

The LaTex template makes use of [Lena Herrmann's JavaScript highlighter](http://lenaherrmann.net/2010/05/20/javascript-syntax-highlighting-in-the-latex-listings-package).

Kindle and ePub format provided using [PanDoc](http://johnmacfarlane.net/pandoc/). Run make en/mongodb.mobi to generate.

## Generating the PDF ##
I use a variation of <https://github.com/claes/pandoc-templates> to generate the pdf:

Expand Down Expand Up @@ -40,4 +42,4 @@ I use a variation of <https://github.com/claes/pandoc-templates> to generate the
-V toc=$toc --listings en/mongodb.markdown -o mongodb.pdf

## Title Image ##
A PSD of the title image is included. The font used is [Comfortaa](http://www.dafont.com/comfortaa.font).
A PSD of the title image is included. The font used is [Comfortaa](http://www.dafont.com/comfortaa.font).

0 comments on commit 28b25c3

Please sign in to comment.