From ac89337fe4987b2ad9ecce3c4f407247c1c47787 Mon Sep 17 00:00:00 2001 From: Petter Reinholdtsen Date: Mon, 6 Aug 2012 11:57:12 +0200 Subject: [PATCH] Make sure html.xsl is used when building HTML version. --- Makefile | 5 ++++- data/html.xsl | 6 ++---- data/stylesheet-fo.xsl | 6 +++--- data/stylesheet-html.xsl | 8 ++++++++ 4 files changed, 17 insertions(+), 8 deletions(-) create mode 100644 data/stylesheet-html.xsl 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 @@ + + + + + + + + -- 2.51.0