From: Stefano Zacchiroli Date: Mon, 29 May 2006 11:56:28 +0000 (+0000) Subject: added (TODO) section on tacticals) X-Git-Tag: 0.4.95@7852~1415 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=ca36893566761107700f095cc2f53ae88c87a5c6;p=helm.git added (TODO) section on tacticals) --- diff --git a/matita/help/C/Makefile b/matita/help/C/Makefile index dccc62ed6..b370567de 100644 --- a/matita/help/C/Makefile +++ b/matita/help/C/Makefile @@ -1,10 +1,21 @@ XSLTPROC=xsltproc XHTML_XSL=matita-xhtml.xsl FO_XSL=matita-fo.xsl +TEX_XSL=matita-tex.xsl MAIN=matita.xml +# one of "fop", "pdflatex" +PDF_METHOD=pdflatex + all: html txt +clean: + rm -f *.html *.fo *.pdf + rm -rf $(filter-out version.txt,$(wildcard *.txt)) + rm -f *-stamp + rm -f matita.out matita.log matita.glo matita.dvi matita.idx + rm -f matita.aux matita.tex + # XHTMLs generation .PHONY: html @@ -29,12 +40,17 @@ txt-stamp: html-stamp pdf: pdf-stamp pdf-stamp: $(patsubst %.xml,%.pdf,$(MAIN)) touch $@ + %.fo: %.xml xsltproc $(FO_XSL) $< | xmllint --format - > $@ +%.tex: %.xml + xsltproc $(TEX_XSL) $< > $@ + +ifeq ($(PDF_METHOD),fop) %.pdf: %.fo fop $< $@ -clean: - rm -f *.html *.fo *.pdf - rm -rf $(filter-out version.txt,$(wildcard *.txt)) - rm -f *-stamp +else ifeq ($(PDF_METHOD),pdflatex) +%.pdf: %.tex + pdflatex $< +endif diff --git a/matita/help/C/matita-tex.xsl b/matita/help/C/matita-tex.xsl new file mode 100644 index 000000000..94129a312 --- /dev/null +++ b/matita/help/C/matita-tex.xsl @@ -0,0 +1,9 @@ + + + + + + + /usr/share/xml/docbook/stylesheet/db2latex/latex/figures + + diff --git a/matita/help/C/sec_tacticals.xml b/matita/help/C/sec_tacticals.xml new file mode 100644 index 000000000..870feed7c --- /dev/null +++ b/matita/help/C/sec_tacticals.xml @@ -0,0 +1,7 @@ + + + + Tacticals + &TODO; + +