]> matita.cs.unibo.it Git - helm.git/commitdiff
fix some non tex symbols
authorEnrico Tassi <enrico.tassi@inria.fr>
Mon, 24 Nov 2008 10:45:13 +0000 (10:45 +0000)
committerEnrico Tassi <enrico.tassi@inria.fr>
Mon, 24 Nov 2008 10:45:13 +0000 (10:45 +0000)
helm/software/matita/help/C/Makefile
helm/software/matita/help/C/scripts/fix-symbols.sh [new file with mode: 0755]

index 684d6fabf0413d09fc8fc88175c210206ea8b194..37df4f3e481e28829aef0c8450edb70b78202d1e 100644 (file)
@@ -28,11 +28,11 @@ pdf-stamp: $(patsubst %.xml,%.pdf,$(MAIN))
        touch $@
 
 %.pdf: %.xml
-       dblatex -tpdf $<
+       dblatex -rscripts/fix-symbols.sh -tpdf $<
 %.dvi: %.xml
-       dblatex -tdvi $<
+       dblatex -rscripts/fix-symbols.sh -tdvi $<
 %.ps: %.xml
-       dblatex -tps $<
+       dblatex -rscripts/fix-symbols.sh -tps $<
 
 install: install-html
 install-html: html-stamp pdf-stamp
diff --git a/helm/software/matita/help/C/scripts/fix-symbols.sh b/helm/software/matita/help/C/scripts/fix-symbols.sh
new file mode 100755 (executable)
index 0000000..ed45fce
--- /dev/null
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+sed -i 's/\\&\\#x225d;/:=/g' $1
+sed -i 's/\\&\\#x3a9;/\\ensuremath{\\Omega}/g' $1