mirror of
https://github.com/sdiehl/write-you-a-haskell.git
synced 2024-08-16 15:11:06 +03:00
Adding support for generating epub-kindle format.
This commit is contained in:
parent
67f118ef68
commit
fa51ab827d
2
Makefile
2
Makefile
@ -42,7 +42,7 @@ pdf: $(FILTER)
|
||||
$(PANDOC) --filter ${FILTER} -f $(IFORMAT) --template $(TEMPLATE_TEX) --latex-engine=xelatex $(FLAGS) -o WYAH.pdf title.md $(SRC)
|
||||
|
||||
epub: $(FILTER)
|
||||
$(PANDOC) --filter ${FILTER} -f $(IFORMAT) $(FLAGS) -o WYAH.epub 0*.md
|
||||
$(PANDOC) --filter ${FILTER} -f $(IFORMAT) $(FLAGS) --epub-cover-image=img/cover-kindle.jpg -o WYAH.epub title.md 0*.md
|
||||
|
||||
top: $(FILTER)
|
||||
$(PANDOC) -c $(STYLE) --filter ${FILTER} --template $(TEMPLATE_HTML) -s -f $(IFORMAT) -t html $(FLAGS) -o tutorial.html index.md
|
||||
|
BIN
img/cover-kindle.jpg
Normal file
BIN
img/cover-kindle.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
Loading…
Reference in New Issue
Block a user