Skip to content

Commit

Permalink
fix: set ebook language en-US
Browse files Browse the repository at this point in the history
  • Loading branch information
entorb committed Feb 26, 2023
1 parent 7a502e3 commit 494440f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/ebook/7.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ target_file="hpmor.epub"

echo ==== 7.1b calibre: html -\> epub ====
# calibre is a bit better in ebook generation than pandoc and the result can be converted to mobi and docx
ebook-convert $source_file $target_file --language de-DE --no-default-epub-cover --cover "tmp/title.jpg" --book-producer "Torben Menke" --level1-toc "//h:h1" --level2-toc "//h:h2" --level3-toc "//h:h3"
ebook-convert $source_file $target_file --language en-US --no-default-epub-cover --cover "tmp/title.jpg" --book-producer "Torben Menke" --level1-toc "//h:h1" --level2-toc "//h:h2" --level3-toc "//h:h3"

source_file="hpmor.epub"
echo ==== 7.2 calibre: epub -\> mobi ====
Expand Down

0 comments on commit 494440f

Please sign in to comment.