From: Petter Reinholdtsen Date: Mon, 6 Aug 2012 09:57:12 +0000 (+0200) Subject: Make sure html.xsl is used when building HTML version. X-Git-Tag: edition-2015-10-10~1827 X-Git-Url: https://pere.pagekite.me/gitweb/text-free-culture-lessig.git/commitdiff_plain/ac89337fe4987b2ad9ecce3c4f407247c1c47787 Make sure html.xsl is used when building HTML version. --- diff --git a/Makefile b/Makefile index cdbc9bd..8c146f3 100644 --- a/Makefile +++ b/Makefile @@ -59,7 +59,10 @@ html: freeculture.html freeculture.nb.html fop -c data/fop-params.xconf -fo myfile.fo -pdf $@ %.html: %.xml $(IMAGES) - xmlto html-nochunks $< + xmlto \ + -x data/stylesheet-html.xsl \ + html-nochunks \ + $< %.txt: %.xml $(IMAGES) xmlto txt $< diff --git a/data/html.xsl b/data/html.xsl index 3ab0534..43cd579 100644 --- a/data/html.xsl +++ b/data/html.xsl @@ -1,8 +1,6 @@ - - + + 0 1 1 diff --git a/data/stylesheet-fo.xsl b/data/stylesheet-fo.xsl index dcfd54f..7f35945 100644 --- a/data/stylesheet-fo.xsl +++ b/data/stylesheet-fo.xsl @@ -1,7 +1,7 @@ - - + + + diff --git a/data/stylesheet-html.xsl b/data/stylesheet-html.xsl new file mode 100644 index 0000000..af173af --- /dev/null +++ b/data/stylesheet-html.xsl @@ -0,0 +1,8 @@ + + + + + + + +