]> matita.cs.unibo.it Git - helm.git/commitdiff
bug fix in xslt: missing ld namespace
authorFerruccio Guidi <ferruccio.guidi@unibo.it>
Mon, 12 Sep 2011 12:03:12 +0000 (12:03 +0000)
committerFerruccio Guidi <ferruccio.guidi@unibo.it>
Mon, 12 Sep 2011 12:03:12 +0000 (12:03 +0000)
helm/www/lambda_delta/Makefile
helm/www/lambda_delta/xslt/lddl_entity.xsl
helm/www/lambda_delta/xslt/lddl_library.xsl
helm/www/lambda_delta/xslt/lddl_root.xsl
helm/www/lambda_delta/xslt/lddl_term.xsl

index af82c9ba537936d70cefac8610c0b08c8a0c5145..206ee8efb14670cb6676a71e7d883d801b807675 100644 (file)
@@ -30,7 +30,7 @@ XMLS = brg_si/grundlagen/l/not.ld.xml \
        crg_si/grundlagen/l/e/st/eq/landau/n/rt/rp/r/c/8283/t234.ld.xml \
        crg_si/grundlagen/l/e/pairis1.ld.xml \
        crg_si/grundlagen/l/e/st/eq/landau/n/327/t25.ld.xml \
-#       brg_si/grundlagen/ccs.ldc.xml
+       brg_si/grundlagen/ccs.ldc.xml
 
 XMLLINT = xmllint --noout
 XSLT    = xsltproc
@@ -55,7 +55,7 @@ install-xml: $(XMLDIR)/index.txt
 test-html:
        @$(MAKE) --no-print-directory $(XMLS:%.xml=%)
 
-html: $(ETCDIR)/make-html.sh
+html: $(ETCDIR)/make_html.sh
        @echo "  MAKE */*.ld"
        $(H). $<
 
@@ -65,7 +65,7 @@ install-html: $(ETCDIR)/make_html.sh
 
 install-jed: $(SLS:%=$(JEDDIR)/%)
        @echo "  INSTALL $(SLS)"
-       $(H)scp $(SLS:%=$(JEDDIR)/%) $(DOWNDIR)
+       $(H)scp $^ $(DOWNDIR)
 
 install-bib: $(BIB:%=$(BIBDIR)/%)
        @echo "  INSTALL $(BIB)"
@@ -81,3 +81,5 @@ install-bib: $(BIB:%=$(BIBDIR)/%)
 
 %.ldc:
        @echo "  SKIP $@"
+
+.PHONY: $(TAGS)
index 676d37722f9fbbd426abf6a26b4ef51b12e73fe9..f9fca428f940ae84bc0fab52f4d174ef80fc5cad 100644 (file)
@@ -12,6 +12,7 @@
       V_______________________________________________________________ -->
 
 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                              xmlns:ld="http://lambda-delta.info"
                               xmlns="http://www.w3.org/1999/xhtml"
 >
 
    </div>
 </xsl:template>
 
-<xsl:template match="ABST">
+<xsl:template match="ld:ABST">
    <xsl:call-template name="ENTITY">
       <xsl:with-param name="kind">Declaration</xsl:with-param>
    </xsl:call-template>
 </xsl:template>
 
-<xsl:template match="ABBR">
+<xsl:template match="ld:ABBR">
    <xsl:call-template name="ENTITY">
       <xsl:with-param name="kind">Definition</xsl:with-param>
    </xsl:call-template>
index c7914ed643cda0a9e31b6e408a2757892a5f6aa2..8af7006a3647288519685d4dca01f2d248dec003 100644 (file)
@@ -12,6 +12,7 @@
       V_______________________________________________________________ -->
 
 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                              xmlns:ld="http://lambda-delta.info"
                               xmlns="http://www.w3.org/1999/xhtml"
 >
 
index c4cf27cd8a1a1307987870e16bdd152d42f912aa..251b9cee8c60e19dceeeffae14d7e8fe581a525f 100644 (file)
@@ -12,7 +12,8 @@
       V_______________________________________________________________ -->
 
 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-                              xmlns="http://www.w3.org/1999/xhtml"
+                              xmlns:ld="http://lambda-delta.info"
+                             xmlns="http://www.w3.org/1999/xhtml"
 >
 
 <xsl:strip-space elements="ENTITY"/>
@@ -93,7 +94,7 @@
    </body></html>
 </xsl:template>
 
-<xsl:template match="ENTITY">
+<xsl:template match="ld:ENTITY">
    <xsl:apply-templates/>
    <div class="text">
       <xsl:call-template name="vpars"/>
index 4e0c488b5436be3cf13502d4c843bcb3030c4f5d..b11a02b64d6e57993af209230db18610c76e466d 100644 (file)
@@ -12,6 +12,7 @@
       V_______________________________________________________________ -->
 
 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                              xmlns:ld="http://lambda-delta.info"
                               xmlns="http://www.w3.org/1999/xhtml"
 >
 
    </span>
 </xsl:template>
 
-<xsl:template match="Sort">
+<xsl:template match="ld:Sort">
    <span class="sort">
       <xsl:call-template name="position"/>
    </span>
 </xsl:template>
 
-<xsl:template match="LRef">
+<xsl:template match="ld:LRef">
    <span class="lref">
       <xsl:call-template name="position"/>
    </span>
 </xsl:template>
 
-<xsl:template match="GRef">
+<xsl:template match="ld:GRef">
    <span class="gref">
       <xsl:call-template name="uri"/>
    </span>
 </xsl:template>
 
-<xsl:template match="Cast">
+<xsl:template match="ld:Cast">
    <span class="cast">
       <xsl:call-template name="oa"/>
       <xsl:apply-templates/>
@@ -50,7 +51,7 @@
    <xsl:call-template name="separator"/>
 </xsl:template>
 
-<xsl:template match="Appl">
+<xsl:template match="ld:Appl">
    <span class="appl">
       <xsl:call-template name="op"/>
       <xsl:call-template name="mk_terms"/>
@@ -59,7 +60,7 @@
    <xsl:call-template name="separator"/>
 </xsl:template>
 
-<xsl:template match="Abst">
+<xsl:template match="ld:Abst">
    <span class="local">
       <xsl:call-template name="lambda"/>
       <xsl:call-template name="mk_binder">
@@ -71,7 +72,7 @@
    <xsl:call-template name="separator"/>
 </xsl:template>
 
-<xsl:template match="Abbr">
+<xsl:template match="ld:Abbr">
    <span class="local">
       <xsl:call-template name="delta"/>
       <xsl:call-template name="mk_binder">
@@ -83,7 +84,7 @@
    <xsl:call-template name="separator"/>
 </xsl:template>
 
-<xsl:template match="Void">
+<xsl:template match="ld:Void">
    <span class="local">
       <xsl:call-template name="chi"/>
       <xsl:call-template name="ob"/>