From 03e172581072389796cbc1d3e2d7b16956b95c8a Mon Sep 17 00:00:00 2001 From: Ferruccio Guidi Date: Tue, 22 Sep 2009 18:42:18 +0000 Subject: [PATCH] we improved the stylesheets and we generated the static HTML pages --- helm/software/lambda-delta/Makefile | 22 +++-- .../lambda-delta/xml/ld-html-entry.xsl | 11 +++ .../lambda-delta/xml/ld-html-library.xsl | 94 ++++++++++++++++--- .../lambda-delta/xml/ld-html-root.xsl | 11 +++ .../lambda-delta/xml/ld-html-term.xsl | 15 ++- helm/software/lambda-delta/xml/ld-html.xsl | 13 ++- 6 files changed, 146 insertions(+), 20 deletions(-) diff --git a/helm/software/lambda-delta/Makefile b/helm/software/lambda-delta/Makefile index a561cdd9f..74154e099 100644 --- a/helm/software/lambda-delta/Makefile +++ b/helm/software/lambda-delta/Makefile @@ -36,11 +36,6 @@ xml-si: $(MAIN).opt @echo " HELENA -u -x $(INPUT)" $(H)./$(MAIN).opt -u -x -s 2 -S 1 $(INPUT) > log.txt -html: LDS = $(shell cat $<) - -html: xml/index.txt - @$(MAKE) --no-print-directory $(LDS:ld:/%=%) - %.ld: BASEURL = --stringparam baseurl $(STATIC) %.ld: @@ -48,5 +43,18 @@ html: xml/index.txt $(H)mkdir -p static/$(@D) $(H)$(XSLT) -o static/$@.html $(BASEURL) xml/ld-html.xsl xml/$@.xml -index: - find xml -name "*.ld.xml" | sed s/.xml//g | sed s/xml/ld:/g > xml/index.txt +make-html.sh xml/index.txt index: + @echo " GENERATING INDEXES" + $(H)find xml -name "*.ld.xml" | sed s/.xml//g | sed s/xml/ld:/g > xml/index.txt + $(H)sed "s/^/make --no-print-directory /" xml/index.txt | sed s.ld:/.. > make-html.sh + +html: make-html.sh + @echo " MAKE */*.ld" + $(H). $< + +test-html: + @$(MAKE) --no-print-directory $(XMLS:xml/%.xml=%) grundlagen/l/someapp.ld + +install-html: + @echo " CP -r static/* /projects/helm/public_html/lambda-delta/static/" + $(H)cp -r static/* /projects/helm/public_html/lambda-delta/static/ diff --git a/helm/software/lambda-delta/xml/ld-html-entry.xsl b/helm/software/lambda-delta/xml/ld-html-entry.xsl index d6dbedd45..c80119f79 100644 --- a/helm/software/lambda-delta/xml/ld-html-entry.xsl +++ b/helm/software/lambda-delta/xml/ld-html-entry.xsl @@ -1,5 +1,16 @@ + + diff --git a/helm/software/lambda-delta/xml/ld-html-library.xsl b/helm/software/lambda-delta/xml/ld-html-library.xsl index 9e09b447b..b640b0b0d 100644 --- a/helm/software/lambda-delta/xml/ld-html-library.xsl +++ b/helm/software/lambda-delta/xml/ld-html-library.xsl @@ -1,13 +1,33 @@ + + +color: rgb(128, 0, 255); +color: rgb(255, 0, 0); +color: rgb(0, 160, 0); +color: rgb(0, 0, 255); + + + / + + - . + .​ @@ -19,31 +39,45 @@ - < + + < + - > + + > + - : + + : + - = + + = + - &lambda; + + &lambda; + - &delta; + + &delta; + - &chi; + + &chi; + @@ -58,19 +92,57 @@ .html - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + diff --git a/helm/software/lambda-delta/xml/ld-html-root.xsl b/helm/software/lambda-delta/xml/ld-html-root.xsl index 3a8cf88a2..8ee5ebcae 100644 --- a/helm/software/lambda-delta/xml/ld-html-root.xsl +++ b/helm/software/lambda-delta/xml/ld-html-root.xsl @@ -1,5 +1,16 @@ + + diff --git a/helm/software/lambda-delta/xml/ld-html-term.xsl b/helm/software/lambda-delta/xml/ld-html-term.xsl index a83c08088..083e7290f 100644 --- a/helm/software/lambda-delta/xml/ld-html-term.xsl +++ b/helm/software/lambda-delta/xml/ld-html-term.xsl @@ -1,11 +1,24 @@ + + - + + + diff --git a/helm/software/lambda-delta/xml/ld-html.xsl b/helm/software/lambda-delta/xml/ld-html.xsl index b66dd6f52..f166025db 100644 --- a/helm/software/lambda-delta/xml/ld-html.xsl +++ b/helm/software/lambda-delta/xml/ld-html.xsl @@ -1,5 +1,16 @@ + + @@ -11,7 +22,7 @@