1
0
mirror of https://github.com/funkypenguin/geek-cookbook/ synced 2025-12-13 17:56:26 +00:00

Update leanpub manuscript

This commit is contained in:
David Young
2019-05-10 21:57:23 +12:00
parent a80f4c553e
commit aff2adfc82
10 changed files with 22 additions and 26 deletions

View File

@@ -3,6 +3,6 @@
with open("Book.txt") as f:
print ('echo "Starting build of {book}.epub";'
"pandoc {files} " +
"+smart --table-of-contents --chapters -o {book}.epub;"
"--table-of-contents --top-level-division=chapter -o {book}.epub;"
'echo " {book}.epub created."'
).format(book="Book", files=f.read().replace("\n", " "))