Skip to content

Commit

Permalink
Some work on epub
Browse files Browse the repository at this point in the history
  • Loading branch information
isovector committed Jan 17, 2022
1 parent e7bd558 commit 9ef19ee
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ $(sources): build/tex/%.tex: prose/metadata.markdown prose/%.markdown $(prose) f
sed -i 's/\CommentTok{{-}{-} .via \([^}]\+\)}/reducevia{\1}/g' $@
sed -i 's/\(\\KeywordTok{law} \\StringTok\){"\([^"]\+\)"}/\1{\\lawname{\2}}/g' $@

build/epub.epub: build/%.epub: prose/metadata.markdown prose/%.markdown $(prose) theme/* prose/bib.bib $(IMAGES) format/epub.css
build/epub.epub: build/%.epub: prose/metadata.markdown prose/%.markdown $(prose) theme/* bib.bib $(IMAGES) format/epub.css
pandoc $(PANDOC_OPTS) --epub-embed-font=Katibeh.ttf -t epub -o $@ $(filter %.markdown,$^)

.PHONY: clean clean-images very-clean all $(RULES) epub lp sketches
Expand Down
Empty file added format/epub.css
Empty file.
9 changes: 9 additions & 0 deletions prose/epub.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
classoption:
- oneside
wants-cover: true
wants-cover: false
geometry:
- paperwidth=6.25in
- paperheight=9.25in
...

0 comments on commit 9ef19ee

Please sign in to comment.