*
10
build.sh
Normal file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
rm -f assembled.pdf
|
||||
convert media/cover.jpg cover.pdf
|
||||
~/Applications/pandoc --variable=geometry:a5paper wiktopher.md --pdf-engine=xelatex --from markdown+simple_tables+line_blocks+multiline_tables --toc -V toc-title:"Table of Contents" --toc-depth=2 --include-in-header=titlesec-conf.tex -o draft.pdf
|
||||
pdfunite cover.pdf draft.pdf wiktopher.pdf
|
||||
|
||||
|
||||
# # Build epub
|
||||
# ~/Applications/pandoc ch1.md --from markdown+simple_tables+line_blocks --toc -V toc-title:"Table of Contents" --toc-depth=2 --epub-metadata=metadata.yaml --epub-cover-image=media/cover.jpg --css epub.css -w epub -o assembled.epub
|
BIN
media/cover.jpg
Normal file
After Width: | Height: | Size: 380 KiB |
BIN
media/fauna.durdle.jpg
Normal file
After Width: | Height: | Size: 43 KiB |
BIN
media/fauna.floater.png
Normal file
After Width: | Height: | Size: 9.3 KiB |
BIN
media/fauna.hirudines.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
media/fauna.hyroo.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
media/fauna.ilk.png
Normal file
After Width: | Height: | Size: 9.2 KiB |
BIN
media/fauna.leafhound.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
media/fauna.papilion.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
media/fauna.passari.png
Normal file
After Width: | Height: | Size: 8.9 KiB |
BIN
media/fauna.pomparu.png
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
media/fauna.seshell.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
media/fauna.snakadil.png
Normal file
After Width: | Height: | Size: 9.5 KiB |
BIN
media/fauna.sootyagocet.png
Normal file
After Width: | Height: | Size: 7.8 KiB |
BIN
media/fauna.vennec.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
media/fauna.woth.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
media/flora.cactub.png
Normal file
After Width: | Height: | Size: 9.9 KiB |
BIN
media/flora.chloromyce.shroo.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
media/flora.conk.shroo.png
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
media/flora.licky.png
Normal file
After Width: | Height: | Size: 8.3 KiB |
BIN
media/flora.norcorn.png
Normal file
After Width: | Height: | Size: 8.2 KiB |
BIN
media/flora.waterlilly.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
media/hako.1.png
Normal file
After Width: | Height: | Size: 656 B |
BIN
media/hako.sonozai.png
Normal file
After Width: | Height: | Size: 7.4 KiB |
BIN
media/lupin.png
Normal file
After Width: | Height: | Size: 16 KiB |
16
media/metadata.yaml
Normal file
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
title:
|
||||
- type: main
|
||||
text: Wiktopher
|
||||
- type: subtitle
|
||||
text: Desert tales
|
||||
creator:
|
||||
- role: author
|
||||
text: Rekka Bellum
|
||||
publisher: Hundredrabbits
|
||||
lang: en-CA
|
||||
rights: © 2021 Hundredrabbits, CC BY-NC
|
||||
table-of-contents: true
|
||||
documentclass: book
|
||||
...
|
||||
|
7
titlesec-conf.tex
Normal file
|
@ -0,0 +1,7 @@
|
|||
\usepackage[bf,tiny,center]{titlesec}
|
||||
\titlespacing*{\chapter}
|
||||
{0pt}% left
|
||||
{1cm}% before
|
||||
{1.2em}% after
|
||||
|
||||
% \usepackage[bf,tiny,center]{titlesec}
|