update to use calibre
This commit is contained in:
parent
b211cf9040
commit
f3a7a87064
@ -9,8 +9,8 @@ let
|
|||||||
texlive.combine { inherit (texlive) scheme-medium bitter titlesec; };
|
texlive.combine { inherit (texlive) scheme-medium bitter titlesec; };
|
||||||
in pkgs.mkShell {
|
in pkgs.mkShell {
|
||||||
buildInputs = with pkgs; [
|
buildInputs = with pkgs; [
|
||||||
|
calibre
|
||||||
dyson
|
dyson
|
||||||
kindlegen
|
|
||||||
kubectl
|
kubectl
|
||||||
kubectx
|
kubectx
|
||||||
mdbook
|
mdbook
|
||||||
|
BIN
src/Tulpanomicon.png
Normal file
BIN
src/Tulpanomicon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 116 KiB |
@ -104,7 +104,7 @@ set -x
|
|||||||
pandoc -o tulpanomicon.epub --epub-chapter-level=2 --resource-path=. title.md $FILES
|
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 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
|
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
|
mkdir -p ../book
|
||||||
cp -vrf tulpanomicon.mobi ../book/
|
cp -vrf tulpanomicon.mobi ../book/
|
||||||
cp -vrf tulpanomicon.epub ../book/
|
cp -vrf tulpanomicon.epub ../book/
|
||||||
|
@ -6,6 +6,7 @@ language: en-US
|
|||||||
creator:
|
creator:
|
||||||
- role: collector
|
- role: collector
|
||||||
text: Within
|
text: Within
|
||||||
|
cover-image: ./Tulpanomicon.png
|
||||||
|
|
||||||
# pandoc LaTeX crud
|
# pandoc LaTeX crud
|
||||||
documentclass: book
|
documentclass: book
|
||||||
|
Loading…
x
Reference in New Issue
Block a user