update to use calibre
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Cadey Ratio 2020-11-12 12:52:13 -05:00
parent b211cf9040
commit f3a7a87064
4 changed files with 3 additions and 2 deletions

View File

@ -9,8 +9,8 @@ let
texlive.combine { inherit (texlive) scheme-medium bitter titlesec; };
in pkgs.mkShell {
buildInputs = with pkgs; [
calibre
dyson
kindlegen
kubectl
kubectx
mdbook

BIN
src/Tulpanomicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 KiB

View File

@ -104,7 +104,7 @@ set -x
pandoc -o tulpanomicon.epub --epub-chapter-level=2 --resource-path=. title.md $FILES
pandoc -o test.tex -s --include-in-header sectionpagebreak.tex --variable=subparagraph --toc --toc-depth=2 --resource-path=. title.md $FILES
pandoc -o tulpanomicon.pdf --include-in-header sectionpagebreak.tex --variable=subparagraph --toc --toc-depth=2 --pdf-engine xelatex --resource-path=. title.md $FILES || exit
kindlegen tulpanomicon.epub
ebook-convert tulpanomicon.epub tulpanomicon.mobi
mkdir -p ../book
cp -vrf tulpanomicon.mobi ../book/
cp -vrf tulpanomicon.epub ../book/

View File

@ -6,6 +6,7 @@ language: en-US
creator:
- role: collector
text: Within
cover-image: ./Tulpanomicon.png
# pandoc LaTeX crud
documentclass: book