Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

This branch is 0 commits ahead and 0 commits behind master

Fetching latest commit…

Cannot retrieve the latest commit at this time

readme.md

About

The Little Redis Book is a free book introducing Redis.

The book was written by Karl Seguin, with Perry Neal's assistance.

If you liked this book, maybe you'll also like The Little MongoDB Book.

License

The book is freely distributed under the Attribution-NonCommercial 3.0 Unported license.

Formats

The book is written in markdown and converted to PDF using PanDoc. A few LaTex specific commands have been placed in the markdown file to help with pdf-generation (namely for the title page and to create page breaks between chapters).

Kindle and ePub format provided using PanDoc.

Generating the PDF

I use a variation of https://github.com/claes/pandoc-templates to generate the pdf:

#!/bin/sh
paper=a4paper
hmargin=3cm
vmargin=3cm
fontsize=11pt

mainfont=Verdana
sansfont=Tahoma
monofont="Courier New"
columns=onecolumn
geometry=portrait
nohyphenation=true


markdown2pdf --xetex --template=template/xetex.template \
-V paper=$paper -V hmargin=$hmargin -V vmargin=$vmargin \
-V mainfont="$mainfont" -V sansfont="$sansfont" -V monofont="$monofont" \
-V geometry=$geometry -V columns=$columns -V fontsize=$fontsize \
-V nohyphenation=$nohyphenation en/redis.md -o redis.pdf 

Title Image

A PSD of the title image is included. The font used is Comfortaa.

Something went wrong with that request. Please try again.