forked from rrthomas/hpmor
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update hp-intro.tex Update test.tex Create make_6_pdfs.cmd translatorsnote: Buchholz-Hydra ebook scripts: add source reference restructuring image source
- Loading branch information
Showing
12 changed files
with
45 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,33 @@ | ||
#!/bin/sh | ||
|
||
# based on work by yeKcim | ||
# https://github.com/yeKcim/hpmor/tree/master/ebook | ||
|
||
echo === 7. HTML -\> epub,mobi, doc === | ||
|
||
source_file="hpmor.html" | ||
target_file="hpmor.epub" | ||
|
||
# echo ==== pandoc: html -\> epub==== | ||
# echo ==== 7.1 pandoc: html -\> epub==== | ||
# for some reason pandoc looses the css style of the html, so so trying calibre instead... | ||
|
||
# pandoc --standalone --from=html $source_file -o $target_file | ||
|
||
# pandoc --standalone --from=html $source_file -o $target_file --epub-embed-font="./fonts/automobile_contest/Automobile Contest.ttf" --epub-embed-font="./fonts/graphe/Graphe_Alpha_alt.ttf" --epub-embed-font="./fonts/Parseltongue/Parseltongue.ttf" --epub-embed-font="./fonts/graphe/Graphe_Alpha_alt.ttf" --epub-embed-font="./fonts/gabriele_bad_ah/gabriele-bad.ttf" | ||
#--css "./ebook/epub.css" | ||
|
||
|
||
echo ==== 7.1 calibre: html -\> epub ==== | ||
echo ==== 7.2 calibre: html -\> epub ==== | ||
ebook-convert $source_file $target_file --language de-DE --no-default-epub-cover --cover "ebook/tmp/title.jpg" --book-producer "Torben Menke" | ||
# --no-default-epub-cover --cover tmp/title-en.jpg --authors "Eliezer Yudkowsky" --title "Harry Potter and the Methods of Rationality" --book-producer "Torben Menke" --pubdate 2015-03-14 --language en-US | ||
|
||
|
||
source_file="hpmor.epub" | ||
echo ==== 7.2 calibre: epub -\> mobi ==== | ||
echo ==== 7.3 calibre: epub -\> mobi ==== | ||
target_file="hpmor.mobi" | ||
ebook-convert $source_file $target_file | ||
|
||
echo ==== 7.3 epub -\> docx ==== | ||
echo ==== 7.4 epub -\> docx ==== | ||
target_file="hpmor.docx" | ||
ebook-convert $source_file $target_file | ||
# pandoc --standalone $source_file -o $target_file |
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
start /B "" latexmk hpmor-1 | ||
start /B "" latexmk hpmor-2 | ||
start /B "" latexmk hpmor-3 | ||
start /B "" latexmk hpmor-4 | ||
start /B "" latexmk hpmor-5 | ||
start /B "" latexmk hpmor-6 |