Don't generate formula PNGs from MathML in implnote.html.
authorCameron McCormack <cam@mcc.id.au>
Thu, 28 Mar 2013 10:18:32 +1100
changeset 462 e40bbde73515
parent 461 facfe7f2dd4d
child 463 ec61a1f78357
Don't generate formula PNGs from MathML in implnote.html.
Makefile
master/images/implnote/arcs/Makefile
master/images/implnote/arcs/cx.png
master/images/implnote/arcs/cxcyrxrypsitheta.png
master/images/implnote/arcs/cy.png
master/images/implnote/arcs/delta-theta.png
master/images/implnote/arcs/equal.png
master/images/implnote/arcs/fa.png
master/images/implnote/arcs/fs.png
master/images/implnote/arcs/image004.png
master/images/implnote/arcs/image006.png
master/images/implnote/arcs/image008.png
master/images/implnote/arcs/image010.png
master/images/implnote/arcs/image012.png
master/images/implnote/arcs/image014.png
master/images/implnote/arcs/image016.png
master/images/implnote/arcs/image018.png
master/images/implnote/arcs/image020.png
master/images/implnote/arcs/image022.png
master/images/implnote/arcs/image024.png
master/images/implnote/arcs/image026.png
master/images/implnote/arcs/image028.png
master/images/implnote/arcs/notequal.png
master/images/implnote/arcs/plus.png
master/images/implnote/arcs/psi.png
master/images/implnote/arcs/rx.png
master/images/implnote/arcs/ry.png
master/images/implnote/arcs/theta.png
master/images/implnote/arcs/theta1.png
master/images/implnote/arcs/theta2.png
master/images/implnote/arcs/x1.png
master/images/implnote/arcs/x1y1x2y2fafs.png
master/images/implnote/arcs/x2.png
master/images/implnote/arcs/y1.png
master/images/implnote/arcs/y2.png
--- a/Makefile	Thu Mar 28 09:35:32 2013 +1100
+++ b/Makefile	Thu Mar 28 10:18:32 2013 +1100
@@ -6,7 +6,6 @@
 	@bash -c "REMOTE_REV=$$(hg id -i http://svgwg.org/hg/svg2-tools); [ \$$? = 0 -o \"\$$REMOTE_REV\" != \"\" ] || exit 0; LOCAL_REV=$$(hg id -i ../svg2-tools); [ \"\$$LOCAL_REV\" = \"\$$REMOTE_REV\" -o \"\$$LOCAL_REV\" = \"\$$REMOTE_REV\"+ ] || (echo \"You must update your svg2-tools repository! (Remote repository has revision \$$REMOTE_REV, but you are at \$$LOCAL_REV.)\"; exit 1)"
 
 all :
-	[ -f /usr/bin/cygpath.exe ] || $(MAKE) -C master/images/implnote/arcs/
 	@../svg2-tools/build.py
 
 pdf : all
@@ -30,6 +29,5 @@
 	rm -rf build/publish/$(ZIPDIR)
 
 clean :
-	$(MAKE) -C master/images/implnote/arcs/ clean
 	@../svg2-tools/build.py -c
 
--- a/master/images/implnote/arcs/Makefile	Thu Mar 28 09:35:32 2013 +1100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-# Makefile for generating SVGs and PNGs from the MathML documents in this directory.
-
-THISDIR=$(abspath .)
-TARGETDIR=$(abspath ../../../../build/publish/images/implnote/arcs)
-TOOLSDIR=$(abspath ../../../../../svg2-tools)
-
-SVG2PNG=java -jar $(TOOLSDIR)/batik/batik-rasterizer.jar
-
-MML_FILES=$(wildcard *.mml)
-
-all : $(MML_FILES:%.mml=$(TARGETDIR)/%.png)
-
-$(TARGETDIR)/%.svg : %.mml
-	mkdir -p $(TARGETDIR)
-	cd $(TOOLSDIR)/math && ./math2svg.py -o [email protected] $(THISDIR)/$<
-
-$(TARGETDIR)/%.png : $(TARGETDIR)/%.svg
-	$(SVG2PNG) -cssUser 'data:text/css,svg{text-rendering:geometricPrecision}' -d [email protected] $<
-clean :
-	rm -f $(MML_FILES:%.mml=$(TARGETDIR)/%.png) $(MML_FILES:%.mml=$(TARGETDIR)/%.svg)
-
-.PRECIOUS : $(TARGETDIR)/%.svg
-.PHONY : all clean
Binary file master/images/implnote/arcs/cx.png has changed
Binary file master/images/implnote/arcs/cxcyrxrypsitheta.png has changed
Binary file master/images/implnote/arcs/cy.png has changed
Binary file master/images/implnote/arcs/delta-theta.png has changed
Binary file master/images/implnote/arcs/equal.png has changed
Binary file master/images/implnote/arcs/fa.png has changed
Binary file master/images/implnote/arcs/fs.png has changed
Binary file master/images/implnote/arcs/image004.png has changed
Binary file master/images/implnote/arcs/image006.png has changed
Binary file master/images/implnote/arcs/image008.png has changed
Binary file master/images/implnote/arcs/image010.png has changed
Binary file master/images/implnote/arcs/image012.png has changed
Binary file master/images/implnote/arcs/image014.png has changed
Binary file master/images/implnote/arcs/image016.png has changed
Binary file master/images/implnote/arcs/image018.png has changed
Binary file master/images/implnote/arcs/image020.png has changed
Binary file master/images/implnote/arcs/image022.png has changed
Binary file master/images/implnote/arcs/image024.png has changed
Binary file master/images/implnote/arcs/image026.png has changed
Binary file master/images/implnote/arcs/image028.png has changed
Binary file master/images/implnote/arcs/notequal.png has changed
Binary file master/images/implnote/arcs/plus.png has changed
Binary file master/images/implnote/arcs/psi.png has changed
Binary file master/images/implnote/arcs/rx.png has changed
Binary file master/images/implnote/arcs/ry.png has changed
Binary file master/images/implnote/arcs/theta.png has changed
Binary file master/images/implnote/arcs/theta1.png has changed
Binary file master/images/implnote/arcs/theta2.png has changed
Binary file master/images/implnote/arcs/x1.png has changed
Binary file master/images/implnote/arcs/x1y1x2y2fafs.png has changed
Binary file master/images/implnote/arcs/x2.png has changed
Binary file master/images/implnote/arcs/y1.png has changed
Binary file master/images/implnote/arcs/y2.png has changed