lhp-book-publishing-tools * Cover mocks: http://mockuphone.com/ * payment processor: * fonts used: * Chapter headings: Bodoni * Body: TisaPro, Bold, Italic * Headings (h2 $h3) Tradegothic LT CondEighteen * Code: Inconsolata --------------------------- * Pandoc settings for html: pandoc --toc --toc-depth=2 --smart --template=lib/template.html5 --include-before-body=lib/header.html -t html5 -o rwd.html Draft.txt * Prince settings for HTML -> PDF: prince rwd.html -o rwd.pdf --javascript * Pandoc settings for epub: pandoc -S -s --smart -t epub3 --include-before-body=lib/header.html --template=lib/template_epub.html --epub-metadata=lib/epub-metadata.xml --epub-stylesheet=lib/print-epub.css --epub-cover-image=lib/covers/cover-portrait.png --epub-embed-font=lib/TisaPro-Regular.otf --epub-embed-font=lib/TisaPro-Bold.otf --epub-embed-font=lib/TisaPro-Ita.otf --epub-embed-font=lib/TisaPro-BoldIta.otf --epub-embed-font=lib/bodoni-mt-condensed.otf --epub-embed-font=lib/InconsolataforPowerline.otf --epub-embed-font=lib/TradeGothicLTCondensed.otf --toc --toc-depth=2 -o rwd.epub Draft.txt * Pandoc settings for Kindle epub: pandoc -S -s --smart -t epub3 --include-before-body=lib/header.html --template=lib/template_epub.html --epub-metadata=lib/epub-metadata.xml --epub-stylesheet=lib/print-kindle.css --epub-cover-image=lib/covers/cover-portrait.png --toc --toc-depth=2 -o kindle.epub Draft.txt Then that gets run through the Kindlegen tool * Pandoc settings for Sample Chapter: pandoc --smart --template=lib/template.html5 --include-before-body=lib/header_simple.html -t html5 --email-obfuscation=none -o samplechapter.html SampleChapter.txt && prince samplechapter.html -o RWDSampleChapter.pdf --javascript ----------- helpful links: http://kindlegen.s3.amazonaws.com/AmazonKindlePublishingGuidelines.pdf http://puppetlabs.com/blog/automated-ebook-generation-convert-markdown-epub-mobi-pandoc-kindlegen