28 lines
540 B
Bash
Executable File
28 lines
540 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
FILES='
|
|
intro/index.md
|
|
intro/diary_language.md
|
|
intro/CHANGELOG.md
|
|
|
|
01_phonology/index.md
|
|
|
|
02_typology/index.md
|
|
02_typology/word_order.md
|
|
02_typology/typology.md
|
|
|
|
03_nouns_verbs/index.md
|
|
03_nouns_verbs/colors.md
|
|
|
|
04_sentence/index.md
|
|
|
|
dictionary.md
|
|
'
|
|
|
|
set -x
|
|
pandoc -o ../book/lewa.epub --epub-chapter-level=2 --resource-path=. title.md $FILES
|
|
pandoc -o ../book/lewa.pdf --include-in-header sectionpagebreak.tex --variable=subparagraph --toc --toc-depth=2 --pdf-engine xelatex --resource-path=. title.md $FILES
|
|
|