Skip to content

Commit bc4d936

Browse files
author
Andrew Kondratovich
committed
Update readme.md
1 parent 66be690 commit bc4d936

File tree

1 file changed

+13
-38
lines changed

1 file changed

+13
-38
lines changed

readme.md

+13-38
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,16 @@
1-
Форк исходных текстов книги "The Little Redis Book" для перевода на русский язык.
1+
This repository is a fork of "The Little Redis Book" for translation to russian.
2+
3+
## About ##
4+
The Little Redis Book is a free book introducing Redis.
5+
6+
The book was written by [Karl Seguin](http://openmymind.net), with [Perry Neal](http://twitter.com/perryneal)'s assistance.
7+
8+
If you liked this book, maybe you'll also like [The Little MongoDB Book](http://openmymind.net/2011/3/28/The-Little-MongoDB-Book/).
9+
10+
## License ##
11+
The book is freely distributed under the [Attribution-NonCommercial 3.0 Unported license](<http://creativecommons.org/licenses/by-nc/3.0/legalcode>).
12+
13+
## Russian Info ##
214

315
В папке ru лежит копия английской версии для редактирования. Желающие помочь — присылайте пулл реквесты. Гитхаб позволяет редактировать документ прямо с веб-страницы.
416

@@ -14,43 +26,6 @@ The Little Redis Book - это бесплатная книга про Redis.
1426
## Форматы ##
1527
Книга написана с пощью [markdown](http://daringfireball.net/projects/markdown/) и сконвертирована в PDF при помощи [PanDoc](http://johnmacfarlane.net/pandoc/). Несколько комманд LaTeX были добавлены для генерации PDF (для титульной страницы и для создания разрывов страниц между главами).
1628

17-
Kindle и ePub форматы можно сгенерировать с помощью [PanDoc](http://johnmacfarlane.net/pandoc/).
18-
1929
## Generating the PDF ##
2030

2131
В связи с тем, что генерация исходных текстов, содержащих кирилицу вызвала некоторые проблемы, в папке 'ru' лежит скрипт генерации для Windows и готовая версия книги.
22-
23-
pandoc includes markdown2pdf to generate the PDF using a variation of <https://github.com/claes/pandoc-templates>:
24-
25-
#!/bin/sh
26-
paper=a4paper
27-
hmargin=3cm
28-
vmargin=3cm
29-
fontsize=11pt
30-
31-
mainfont=Verdana
32-
sansfont=Tahoma
33-
monofont="Courier New"
34-
columns=onecolumn
35-
geometry=portrait
36-
nohyphenation=true
37-
38-
39-
markdown2pdf --xetex --template=template/xetex.template \
40-
-V paper=$paper -V hmargin=$hmargin -V vmargin=$vmargin \
41-
-V mainfont="$mainfont" -V sansfont="$sansfont" -V monofont="$monofont" \
42-
-V geometry=$geometry -V columns=$columns -V fontsize=$fontsize \
43-
-V nohyphenation=$nohyphenation en/redis.md -o redis.pdf
44-
45-
## Generating the EPUB ##
46-
Use the following command (modified from the one found at <http://news.ycombinator.com/item?id=3502033>) to generate the EPUB:
47-
48-
pandoc -f markdown -t epub --epub-metadata=en/metadata.xml \
49-
--template=template/xetex.template -V paper=$paper \
50-
-V hmargin=$hmargin -V vmargin=$vmargin -V mainfont="$mainfont" \
51-
-V sansfont="$sansfont" -V monofont="$monofont" -V geometry=$geometry \
52-
-V columns=$columns -V fontsize=$fontsize -V nohyphenation=$nohyphenation \
53-
en/redis.md -o redis.epub
54-
55-
## Title Image ##
56-
A PSD of the title image is included. The font used is [Comfortaa](http://www.dafont.com/comfortaa.font).

0 commit comments

Comments
 (0)