Skip to content

Commit

Permalink
Optimized command
Browse files Browse the repository at this point in the history
  • Loading branch information
John Paul Ada authored and John Paul Ada committed Jun 28, 2017
1 parent a8d574b commit 562b913
Show file tree
Hide file tree
Showing 23 changed files with 17 additions and 725 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ brew install pandoc
2. Replace contents of `title.txt`, `contents.markdown`, and `cover.jpg` with your own content.
3. Create your book with the following syntax:
```bash
pandoc -S --epub-embed-font='oswald-opensans/opensans/OpenSans-*.ttf' --epub-embed-font='oswald-opensans/oswald/Oswald-*.ttf' --epub-stylesheet='epub.css' --epub-cover-image='cover.jpg' -o book.epub title.txt contents.markdown
pandoc -S --epub-embed-font='fonts/*.ttf' -o book.epub metadata.txt contents.markdown
```
Your book will be exported as `book.epub`.
Binary file modified book.epub
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
16 changes: 16 additions & 0 deletions metadata.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
title:
- type: main
text: The Fifth Agreement
- type: subtitle
text: A Practical Guide to Self-Mastery
creator:
- role: author
text: Don Miguel Ruiz
- role: author
text: Don Jose Ruiz
rights: Commercial
language: en-US
stylesheet: epub.css
cover-image: cover.jpg
...
202 changes: 0 additions & 202 deletions oswald-opensans/opensans/COPYRIGHT.txt

This file was deleted.

Loading

0 comments on commit 562b913

Please sign in to comment.