Skip to content

Commit 6405366

Browse files
Merge pull request #5 from DahlitzFlorian/feat/improve-generation-script
feat: update generation script to run latexmk too
2 parents 59dc61b + 201d9ca commit 6405366

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

ebook/generate.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1-
pandoc --toc $1.tex -o $1.epub
2-
ebook-convert $1.epub $1.mobi
1+
NAME=$(basename -s .tex "$1")
2+
latexmk "$1"
3+
pandoc --toc $NAME.tex -o $NAME.epub
4+
ebook-convert $NAME.epub $NAME.mobi

ebook/python-snippets.epub

-1 Bytes
Binary file not shown.

ebook/python-snippets.mobi

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)