include preface

main
vitrinekast 9 months ago
parent 2a30445564
commit 07897c739c

@ -100,7 +100,7 @@ print("Output the files");
with open("/home/xpub/www/html/tl-dr/book.html", "w") as f: with open("/home/xpub/www/html/tl-dr/book.html", "w") as f:
print(output, file=f) print(output, file=f)
print("execute the bash script now to create the books"); print("execute the bash script now to create the books");
subprocess.run(["pandoc", "/home/xpub/www/html/tl-dr/book.html", subprocess.run(["pandoc", "/home/xpub/www/html/tl-dr/preface.html", "/home/xpub/www/html/tl-dr/book.html",
"-o", "/home/xpub/www/html/tl-dr/logged_book.epub", "-o", "/home/xpub/www/html/tl-dr/logged_book.epub",
"-c", "print.css", "--metadata", "-c", "print.css", "--metadata",
"title="+log_file_name, "title="+log_file_name,

Loading…
Cancel
Save