From: Petter Reinholdtsen Date: Mon, 21 Sep 2020 22:18:21 +0000 (+0200) Subject: Use formatting rules in epub too. X-Git-Tag: published-en-nb-2021-07-17~28 X-Git-Url: https://pere.pagekite.me/gitweb/text-mekanikerord.git/commitdiff_plain/6f024dc94d27ecd51887ed1f1dbff2f3637dc4e7?ds=sidebyside Use formatting rules in epub too. --- diff --git a/Makefile b/Makefile index 2a05994..e8123be 100644 --- a/Makefile +++ b/Makefile @@ -40,7 +40,7 @@ mekaniker-ordbok-nb.pdf: $(SOURCE_NB) dblatex $(DBLATEX_OPTS) -o $@ book.xml mekaniker-ordbok-nb.epub: $(SOURCE_NB) - dbtoepub book.xml -o $@ + dbtoepub -s epub.xsl book.xml -o $@ mekaniker-ordbok-nb.html: $(SOURCE_NB) xmlto -m pdf.xsl html-nochunks book.xml @@ -54,7 +54,7 @@ mekaniker-ordbok-sme.pdf: $(SOURCE_SME) dblatex $(DBLATEX_OPTS) -o $@ book-sme.xml mekaniker-ordbok-sme.epub: $(SOURCE_SME) - dbtoepub book-sme.xml -o $@ + dbtoepub -s epub.xsl book-sme.xml -o $@ mekaniker-ordbok-sme.html: $(SOURCE_SME) xmlto -m pdf.xsl html-nochunks book-sme.xml diff --git a/epub.xsl b/epub.xsl new file mode 100644 index 0000000..2e00256 --- /dev/null +++ b/epub.xsl @@ -0,0 +1,5 @@ + + + + +