--backend=xetex \
--xsl-user=data/user_param.xsl \
--xsl-user=data/xetex_param.xsl \
- -p data/pdf.xsl \
- --param=lingua=nb
+ -p data/pdf.xsl
DBTOEPUB = dbtoepub
%.html: %.xml $(IMAGES)
xmlto html-nochunks $<
+%.txt: %.xml $(IMAGES)
+ xmlto txt $<
+
%.epub: %.xml, $(IMAGES)
$(DBTOEPUB) $^ $<
wget -O $@ http://upload.wikimedia.org/wikipedia/commons/9/97/CC_some_rights_reserved_new_2.svg
images/cc.png: images/cc.svg
- convert -adaptive-resize 500x200 $^ $@
+ inkscape -z -D --export-height=200 -D --export-png=$(shell pwd)/$@ $^