sed -i \
-e 's%article%book%g' \
-e 's%<title>[0-9]*</title>%<title></title>%g' \
- -e 's%^ <blockquote>% <partintro><blockquote>%g' \
- -e 's%^ </blockquote>% </blockquote></partintro>%g' \
+ -e 's%^ <blockquote>% <partintro><blockquote>%g' \
+ -e 's%^ </blockquote>% </blockquote></partintro>%g' \
-e 's%“%<quote>%g' \
-e 's%”%</quote>%g' $@
.xml.epub:
dbtoepub -s epub.xsl $^ -o $@
+.xml.html:
+ xmlto html-nochunks $^
+
clean:
$(RM) *~