karlseguin/the-little-redis-book — pull request #7 by sillygwailo (2012-01-24 20:02:49+00:00)
Title: metadata.xml

Adding metadata.xml as per http://johnmacfarlane.net/pandoc/README.html

Using the following command, modified from the one at http://news.ycombinator.com/item?id=3502033 we can generate an ePub file with proper attribution (title, author and creator):

pandoc -f markdown -t epub --epub-metadata=en/metadata.xml --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.epub