How to export generated images
I think we should add a documentation how export the generated images (png, pdf, ...). The best solution is adding a Makefile like the following:
SVG := $(wildcard *.svg)
PNG := $(SVG:%.svg=%.png)
PDF := $(SVG:%.svg=%.pdf)
.PHONY: all clean png pdf
all: $(PNG) $(PDF)
png: $(PNG)
pdf: $(PDF)
%.png: %.svg
%.png: %.svg
$(PNG): $(SVG)
inkscape --export-png=$@ $(@:%.png=%.svg)
@# rsvg --format png $< > $@
$(PDF): $(SVG)
inkscape --export-pdf=$@ $(@:%.pdf=%.svg)
@# rsvg --format pdf $< > $@
clean:
rm -rf $(PNG) $(PDF)
But I don't know how to export .pdf_tex
files... And do we need .jpg
files?