Skip to content
This repository has been archived by the owner on Feb 14, 2022. It is now read-only.

Commit

Permalink
fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
le0pard committed Feb 22, 2018
1 parent cb2d84c commit 262b68a
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,14 @@

Book about [Chef (DevOps tool)](http://www.getchef.com/chef/).

## Generate HTML

pandoc -s -S --toc --latexmathml --highlight-style pygments -t html5 -s chef.tex -o index.html

## Generate Epub
## Pdf and html5 builds

pandoc --smart -t epub3 -s chef.tex -o chef.epub --epub-cover-image=cover/cover.jpg --epub-chapter-level=3
[Latest releases](https://github.com/le0pard/chef_book/releases)

If you want to see in the output were normal quotes (`U+00ab` «, `U+00bb` »), you need to put them first hand because pandoc until it is able to (https://github.com/jgm/pandoc/issues/84). For example, by using vim:

vim -e - $(find . -name "*.tex") << EOF
:bufdo %s/<</\\=nr2char("0x00ab")/ge | %s/>>/\\=nr2char("0x00bb")/ge | update
EOF
## Generate HTML

pdf2htmlEX --zoom 1.3 --embed CFIJO chef.pdf

## Mobi
## License

http://www.epub2mobi.com/
<a rel="license" href="http://creativecommons.org/licenses/by-nc/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc/4.0/88x31.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc/4.0/">Creative Commons Attribution-NonCommercial 4.0 International License</a>.

0 comments on commit 262b68a

Please sign in to comment.