From 33cf2560332d4604382be34c632259ae7f264ac8 Mon Sep 17 00:00:00 2001 From: Stefano Zacchiroli Date: Mon, 29 May 2006 11:56:28 +0000 Subject: [PATCH] added (TODO) section on tacticals) --- helm/software/matita/help/C/Makefile | 24 +++++++++++++++---- helm/software/matita/help/C/matita-tex.xsl | 9 +++++++ helm/software/matita/help/C/sec_tacticals.xml | 7 ++++++ 3 files changed, 36 insertions(+), 4 deletions(-) create mode 100644 helm/software/matita/help/C/matita-tex.xsl create mode 100644 helm/software/matita/help/C/sec_tacticals.xml diff --git a/helm/software/matita/help/C/Makefile b/helm/software/matita/help/C/Makefile index dccc62ed6..b370567de 100644 --- a/helm/software/matita/help/C/Makefile +++ b/helm/software/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/helm/software/matita/help/C/matita-tex.xsl b/helm/software/matita/help/C/matita-tex.xsl new file mode 100644 index 000000000..94129a312 --- /dev/null +++ b/helm/software/matita/help/C/matita-tex.xsl @@ -0,0 +1,9 @@ + + + + + + + /usr/share/xml/docbook/stylesheet/db2latex/latex/figures + + diff --git a/helm/software/matita/help/C/sec_tacticals.xml b/helm/software/matita/help/C/sec_tacticals.xml new file mode 100644 index 000000000..870feed7c --- /dev/null +++ b/helm/software/matita/help/C/sec_tacticals.xml @@ -0,0 +1,7 @@ + + + + Tacticals + &TODO; + + -- 2.39.2