Skip to content

Commit 0ab7fa4

Browse files
committed
Use pandoc for building epubs
1 parent 5b4bae8 commit 0ab7fa4

4 files changed

Lines changed: 19 additions & 3 deletions

File tree

.gitignore

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1-
// Latex
1+
# Latex
22
*.aux
33
*.log
44
*.gz
55
*.out
6-
*.pdf
76
*.toc
7+
8+
# Releases
9+
*.pdf
10+
*.epub

Makefile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
BUILD = build
2+
3+
clean: rm -rf $(BUILD)
4+
5+
epub:
6+
pandoc -o full-speed-python.epub \
7+
full-speed-python.tex \
8+
chapters/installation.tex \
9+
chapters/basic-datatypes.tex \
10+
chapters/functions.tex \
11+
chapters/loops.tex \
12+
chapters/dictionaries.tex \
13+
chapters/classes.tex \

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ These exercises have been used extensively in my web development and distributed
66

77
This book is made available in github (https://github.com/joaoventura/full-speed-python) so I appreciate any pull requests to correct misspellings or to suggest new exercises or clarification of the current content.
88

9-
The released pdfs can be found at https://github.com/joaoventura/full-speed-python/releases/.
9+
The generated files (pdf and epub) can be found at https://github.com/joaoventura/full-speed-python/releases/.
File renamed without changes.

0 commit comments

Comments
 (0)