lewa/book/src/build.sh

46 lines
1.0 KiB
Bash
Raw Normal View History

2020-05-06 11:22:27 +00:00
#!/bin/sh
2020-05-06 11:55:37 +00:00
set -e
2020-05-06 11:22:27 +00:00
FILES='
intro/index.md
2020-05-06 11:55:37 +00:00
intro/diary_language.md
intro/CHANGELOG.md
2020-05-08 12:13:03 +00:00
01_phonology/index.md
01_phonology/phonology.md
01_phonology/romanization.md
01_phonology/phonotactics.md
01_phonology/writing.md
2020-05-15 17:29:23 +00:00
02_typology/index.md
02_typology/word_order.md
02_typology/typology.md
2020-05-15 21:17:57 +00:00
03_nouns_verbs/index.md
03_nouns_verbs/other_noun_things.md
03_nouns_verbs/pronouns.md
03_nouns_verbs/numbers.md
03_nouns_verbs/negation.md
03_nouns_verbs/verb-forms.md
03_nouns_verbs/modality.md
03_nouns_verbs/explicitly-ending-noun-phrases.md
2020-05-19 00:11:21 +00:00
03_nouns_verbs/colors.md
04_sentence/index.md
04_sentence/independent-clause-structure.md
04_sentence/questions.md
2020-05-18 11:53:10 +00:00
2020-05-23 01:21:38 +00:00
05_lexicon/index.md
05_lexicon/distinctions.md
05_lexicon/family.md
05_lexicon/idioms.md
2020-05-18 11:53:10 +00:00
dictionary.md
2020-05-06 11:22:27 +00:00
'
set -x
2020-05-06 11:55:37 +00:00
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
2020-05-06 11:22:27 +00:00