]> matita.cs.unibo.it Git - helm.git/commitdiff
- we begin the new site based on ld_web
authorFerruccio Guidi <ferruccio.guidi@unibo.it>
Sun, 29 Jun 2014 20:28:24 +0000 (20:28 +0000)
committerFerruccio Guidi <ferruccio.guidi@unibo.it>
Sun, 29 Jun 2014 20:28:24 +0000 (20:28 +0000)
- xhtbl: xml namespaces and absolute atnl links are now supported
- lambdadelta_2 uploaded

21 files changed:
helm/www/lambdadelta/BTM.html
helm/www/lambdadelta/Makefile
helm/www/lambdadelta/apps_2.html
helm/www/lambdadelta/basic_2.html
helm/www/lambdadelta/bin/xhtbl/matrix.ml
helm/www/lambdadelta/bin/xhtbl/table.ml
helm/www/lambdadelta/bin/xhtbl/textLexer.mll
helm/www/lambdadelta/bin/xhtbl/textParser.mly
helm/www/lambdadelta/bin/xhtbl/textUnparser.ml
helm/www/lambdadelta/bin/xhtbl/xhtbl.ml
helm/www/lambdadelta/bin/xhtbl/xmlUnparser.ml
helm/www/lambdadelta/css/ld_web.css
helm/www/lambdadelta/download/lambdadelta.bib
helm/www/lambdadelta/download/lambdadelta.txt
helm/www/lambdadelta/download/lambdadelta_2.tar.gz [new file with mode: 0644]
helm/www/lambdadelta/ground_2.html
helm/www/lambdadelta/web/home/index2.ldw.xml [new file with mode: 0644]
helm/www/lambdadelta/web/home/sitemap.tbl [new file with mode: 0644]
helm/www/lambdadelta/web/home/versions.tbl [new file with mode: 0644]
helm/www/lambdadelta/xslt/ld_web_library.xsl
helm/www/lambdadelta/xslt/ld_web_root.xsl

index b23abc990e648f10d6158e2b5690e07ee52cefc3..2e1bdeeb4d402ce36d6fb1a64f5ab44f4de249f0 100644 (file)
@@ -23,7 +23,8 @@
     <div class="spacer">
       <img class="rule" alt="[Spacer]" title="lambdadelta rainbow rule" src="http://lambdadelta.info/images/rainbow.png" />
     </div>
-   <div xmlns:ld="http://lambdadelta.info/" class="head2">Character classes</div>
+   <a xmlns:ld="http://lambdadelta.info/" name="" />
+    <div xmlns:ld="http://lambdadelta.info/" class="head2sn">Character classes</div>
    <div xmlns:ld="http://lambdadelta.info/" class="text">This table shows how the first 45 positive integers
          are distributed in the four classes.
    </div>
     <div xmlns:ld="http://lambdadelta.info/" class="spacer">
       <br />
     </div>
-    <div xmlns:ld="http://lambdadelta.info/" class="spacer">Last update: Sat, 28 Jun 2014 20:29:31 +0200</div>
+    <div xmlns:ld="http://lambdadelta.info/" class="spacer">Last update: Sun, 29 Jun 2014 22:20:18 +0200</div>
 </body>
 </html>
index 3a34b41d8e159e06386e18f41105c981181d0873..3533cb02eb53a004e2aa070e4b3e51c7efd04218 100644 (file)
@@ -3,20 +3,21 @@ H=@
 TAGS = www up \
        lint-xml index lddl install-xml \
        test-html html install-html \
-       install-jed install-bib \
+       install-jed install-bib install-contrib \
 
 LDURL   = http://lambdadelta.info/
 
 HOMEDIR = .
-ETCDIR   = etc
-DOWNDIR  = download
-XSLTDIR  = xslt
-XMLDIR   = xml
-SRCDIR   = web/home
-XHTBLDIR = bin/xhtbl
-HTMLDIR  = $(HOME)/public_html/lddl
-JEDDIR   = $(HOME)/mps/jed
-BIBDIR   = $(HOME)/texmf/bibtex/bib
+ETCDIR     = etc
+DOWNDIR    = download
+XSLTDIR    = xslt
+XMLDIR     = xml
+SRCDIR     = web/home
+XHTBLDIR   = bin/xhtbl
+HTMLDIR    = $(HOME)/public_html/lddl
+JEDDIR     = $(HOME)/mps/jed
+BIBDIR     = $(HOME)/texmf/bibtex/bib
+CONTRIBDIR = $(ETCDIR)/lambdadelta
 
 WEBDIRS  = $(SRCDIR) $(ETCDIR)
 
@@ -25,8 +26,9 @@ RDIR     = /projects/helm/public_html/lambdadelta
 RXMLDIR  = $(REMOTE):$(RDIR)/xml
 RHTMLDIR = $(REMOTE):$(RDIR)/static/lddl
 
-SLS = helena.sl automath.sl
-BIB = lambdadelta.bib
+SLS     = helena.sl automath.sl
+BIB     = lambdadelta.bib
+CONTRIB = lambdadelta_2.tar.gz
 
 XMLS = brg_si/grundlagen/l/not.ld.xml \
        brg_si/grundlagen/l/et.ld.xml \
@@ -124,6 +126,11 @@ install-bib: $(BIB:%=$(BIBDIR)/%)
        @echo "  INSTALL $(BIB)"
        $(H)scp $< $(DOWNDIR)
        $(H)scp $< $(DOWNDIR)/$(BIB:%.bib=%.txt)
+
+install-contrib: $(CONTRIB:%=$(CONTRIBDIR)/%)
+       @echo "  INSTALL $(CONTRIB)"
+       $(H)scp $< $(DOWNDIR)
+
 up:
        @echo "  UPDATE $(REMOTE):$(RDIR)"
        $(H)ssh $(REMOTE) "svn up $(RDIR)"
index 3bd4980e4199db1d1811d3164c9c85305dc9668c..3aaefb691116a56de4a4b370c9e8f5b21f366631 100644 (file)
@@ -23,7 +23,8 @@
     <div class="spacer">
       <img class="rule" alt="[Spacer]" title="lambdadelta rainbow rule" src="http://lambdadelta.info/images/rainbow.png" />
     </div>
-   <div xmlns:ld="http://lambdadelta.info/" class="head2">Contents of the Specification</div>
+   <a xmlns:ld="http://lambdadelta.info/" name="" />
+    <div xmlns:ld="http://lambdadelta.info/" class="head2sn">Contents of the Specification</div>
    <div xmlns:ld="http://lambdadelta.info/" class="text">This specification comprises a collection of checked
          applications of λδ version 2.
          In particular it contains the components below.
@@ -43,7 +44,8 @@
    </li>
     </ul>
 
-   <div xmlns:ld="http://lambdadelta.info/" class="head2">Summary of the Specification</div>
+   <a xmlns:ld="http://lambdadelta.info/" name="" />
+    <div xmlns:ld="http://lambdadelta.info/" class="head2sn">Summary of the Specification</div>
    <div xmlns:ld="http://lambdadelta.info/" class="text">Here is a numerical acount of the specification's contents
          and its timeline.
          Nodes are counted according to the "intrinsinc complexity measure"
       <table cellpadding="4" cellspacing="0">
         <tbody>
           <tr>
-            <td class="snns component grey">category</td>
-            <td class="snns plane grey">objects</td>
-            <td class="snnn number grey">
+            <td class="snns component gray">category</td>
+            <td class="snns plane gray">objects</td>
+            <td class="snnn number gray">
               <br />
             </td>
-            <td class="snnn plane grey">
+            <td class="snnn plane gray">
               <br />
             </td>
-            <td class="snnn number grey">
+            <td class="snnn number gray">
               <br />
             </td>
-            <td class="snnn plane grey">
+            <td class="snnn plane gray">
               <br />
             </td>
-            <td class="ssnn number grey">
+            <td class="ssnn number gray">
               <br />
             </td>
           </tr>
    </li>
     </ul>
 
-   <div xmlns:ld="http://lambdadelta.info/" class="head2">Logical Structure of the Specification</div>
+   <a xmlns:ld="http://lambdadelta.info/" name="" />
+    <div xmlns:ld="http://lambdadelta.info/" class="head2sn">Logical Structure of the Specification</div>
    <div xmlns:ld="http://lambdadelta.info/" class="text">The source files are grouped in planes and components
          according to the following table.
          Each component contains its own notation file.
       <table cellpadding="4" cellspacing="0">
         <tbody>
           <tr>
-            <td class="snns component grey">component</td>
-            <td class="snns plane grey">plane</td>
-            <td class="snns file grey">files</td>
-            <td class="ssnn file grey">
+            <td class="snns component gray">component</td>
+            <td class="snns plane gray">plane</td>
+            <td class="snns file gray">files</td>
+            <td class="ssnn file gray">
               <br />
             </td>
           </tr>
       </table>
     </div>
 
-   <div xmlns:ld="http://lambdadelta.info/" class="head2">Physical Structure of the Specification</div>
+   <a xmlns:ld="http://lambdadelta.info/" name="" />
+    <div xmlns:ld="http://lambdadelta.info/" class="head2sn">Physical Structure of the Specification</div>
    <div xmlns:ld="http://lambdadelta.info/" class="text">The source files are grouped in directories,
          one for each component.
    </div>
     <div xmlns:ld="http://lambdadelta.info/" class="spacer">
       <br />
     </div>
-    <div xmlns:ld="http://lambdadelta.info/" class="spacer">Last update: Sat, 28 Jun 2014 20:29:31 +0200</div>
+    <div xmlns:ld="http://lambdadelta.info/" class="spacer">Last update: Sun, 29 Jun 2014 22:20:18 +0200</div>
 </body>
 </html>
index 8e5745e167831a675faa3ae35b90f89649ebba45..5e4cb7ef6b0108dfb9f9afc299d7e9ad2d10f16a 100644 (file)
@@ -25,7 +25,8 @@
     </div>
 
 
-   <div xmlns:ld="http://lambdadelta.info/" class="head2">Summary of the Specification</div>
+   <a xmlns:ld="http://lambdadelta.info/" name="" />
+    <div xmlns:ld="http://lambdadelta.info/" class="head2sn">Summary of the Specification</div>
    <div xmlns:ld="http://lambdadelta.info/" class="text">Here is a numerical acount of the specification's contents
          and its timeline.
          Nodes are counted according to the "intrinsinc complexity measure"
       <table cellpadding="4" cellspacing="0">
         <tbody>
           <tr>
-            <td class="snns component grey">category</td>
-            <td class="snns plane grey">objects</td>
-            <td class="snnn number grey">
+            <td class="snns component gray">category</td>
+            <td class="snns plane gray">objects</td>
+            <td class="snnn number gray">
               <br />
             </td>
-            <td class="snnn plane grey">
+            <td class="snnn plane gray">
               <br />
             </td>
-            <td class="snnn number grey">
+            <td class="snnn number gray">
               <br />
             </td>
-            <td class="snnn plane grey">
+            <td class="snnn plane gray">
               <br />
             </td>
-            <td class="ssnn number grey">
+            <td class="ssnn number gray">
               <br />
             </td>
           </tr>
    </li>
     </ul>
 
-   <div xmlns:ld="http://lambdadelta.info/" class="head2">Logical Structure of the Specification</div>
+   <a xmlns:ld="http://lambdadelta.info/" name="" />
+    <div xmlns:ld="http://lambdadelta.info/" class="head2sn">Logical Structure of the Specification</div>
    <div xmlns:ld="http://lambdadelta.info/" class="text">The source files are grouped in planes and components
          according to the following table.
          Notation files covering the whole specification are provided.
       <table cellpadding="4" cellspacing="0">
         <tbody>
           <tr>
-            <td class="snns component grey">component</td>
-            <td class="snns plane grey">plane</td>
-            <td class="snns file grey">files</td>
-            <td class="snnn file grey">
+            <td class="snns component gray">component</td>
+            <td class="snns plane gray">plane</td>
+            <td class="snns file gray">files</td>
+            <td class="snnn file gray">
               <br />
             </td>
-            <td class="snnn file grey">
+            <td class="snnn file gray">
               <br />
             </td>
-            <td class="ssnn file grey">
+            <td class="ssnn file gray">
               <br />
             </td>
           </tr>
       </table>
     </div>
 
-   <div xmlns:ld="http://lambdadelta.info/" class="head2">Physical Structure of the Specification</div>
+   <a xmlns:ld="http://lambdadelta.info/" name="" />
+    <div xmlns:ld="http://lambdadelta.info/" class="head2sn">Physical Structure of the Specification</div>
    <div xmlns:ld="http://lambdadelta.info/" class="text">The source files are grouped in directories,
          one for each component.
    </div>
     <div xmlns:ld="http://lambdadelta.info/" class="spacer">
       <br />
     </div>
-    <div xmlns:ld="http://lambdadelta.info/" class="spacer">Last update: Sat, 28 Jun 2014 20:29:31 +0200</div>
+    <div xmlns:ld="http://lambdadelta.info/" class="spacer">Last update: Sun, 29 Jun 2014 22:20:18 +0200</div>
 </body>
 </html>
index 4769a54574886ab91c35ba3d0db2aaf558ceef42..86d6f053a4a72027787d5b1da2f4b362c3e6f4fe 100644 (file)
@@ -3,7 +3,7 @@ module A = Array
 module T = Table
 
 type cell = {
-   ck: string list; (* contents *)
+   ck: T.text list; (* contents *)
    cc: T.css;       (* css classes *)
    cb: T.border;    (* border *)
 }
index e363cd4347b18864ae9b1e0405cd20c4353782e1..204df4c903d6a77be8a424fa8957e46ac216b2a2 100644 (file)
@@ -17,7 +17,10 @@ type border = {
    w: bool; (* west *)
 }
 
-type key = Text of string list
+type text = Plain of string
+          | Link of string * string
+
+type key = Text of text list
          | Glue of int option
 
 type table = {
index 0f61349c370398241db06b174427f847d347a51a..7efa9035d6e9084815beed2e5ecc6a584b1c97ae 100644 (file)
@@ -16,16 +16,20 @@ rule token = parse
    | QT       { let s = str lexbuf in 
                 out s; TP.TEXT s                }
    | NUM as s { out s; TP.NUM (int_of_string s) }
+   | "(*"     { block lexbuf; token lexbuf      }
    | "{"      { out "{"; TP.OC                  }
    | "}"      { out "}"; TP.CC                  }
    | "["      { out "["; TP.OB                  }
    | "]"      { out "]"; TP.CB                  }   
    | "*"      { out "*"; TP.SR                  }
    | "+"      { out "+"; TP.PS                  }
+   | "("      { out "("; TP.OP                  }
+   | ")"      { out ")"; TP.CP                  }   
+   | "@"      { out ")"; TP.AT                  }    
+   | "space"  { out "name"; TP.SPACE            }
    | "name"   { out "name"; TP.NAME             }   
    | "table"  { out "table"; TP.TABLE           }
    | "class"  { out "class"; TP.CSS             }
-   | "(*"     { block lexbuf; token lexbuf      }
    | eof      { TP.EOF                          }
 and str = parse
    | QT       { ""                              }
index 333d3421f2fa27a3f0c89db7f395266ebe793ee0..3864bc53c05ec6087b2a0c2fdc1da50c03d39a4b 100644 (file)
@@ -15,15 +15,26 @@ let mk_atom s rs =
 
 %token <int> NUM
 %token <string> TEXT 
-%token NAME TABLE CSS SR OC CC OB CB PS EOF
+%token SPACE NAME TABLE CSS SR OC CC OB CB PS OP CP AT EOF
 
 %start script
-%type <(string * Table.table * Css.atoms) list> script
+%type <(string * string) list * (string * Table.table * Css.atoms) list> script
 
 %%
 
+space:
+   | SPACE TEXT TEXT { $2, $3 }
+;
+
+spaces:
+   |              { []       }
+   | space spaces { $1 :: $2 }
+;
+
 text:
-   | TEXT { $1 }
+   | TEXT               { T.Plain $1 }
+   | AT OP TEXT TEXT CP { T.Link ($3, $4) }
+;
 
 texts:
   | text          { [$1]     }
@@ -89,7 +100,11 @@ directive:
    | name TABLE table atoms { $1, $3, $4 }
 ;
 
+directives:
+   |                      { []       }
+   | directive directives { $1 :: $2 }
+;
+
 script:
-   | EOF              { []       }
-   | directive script { $1 :: $2 }
+   | spaces directives EOF { $1, $2 }
 ;
index 54995e96bb967591d04b536907bde5322e093955..fec699bcbad3ac63d0d8936977778944d1d630be 100644 (file)
@@ -41,10 +41,12 @@ let border tb =
 let css tc =
    P.sprintf "\"%s\"" (S.concat " " tc)
 
+let text = function
+   | T.Plain s       -> P.sprintf "\"%s\"" s
+   | T.Link (uri, s) -> P.sprintf "@(\"%s\" \"%s\")" uri s
+
 let key = function
-   | T.Text sl       ->
-      let map s = P.sprintf "\"%s\"" s in
-      S.concat " + " (L.map map sl)
+   | T.Text sl       -> S.concat " + " (L.map text sl)
    | T.Glue None     -> "*"
    | T.Glue (Some i) -> P.sprintf "%u" i
 
index dc4ab9670e94de6a9a7e076f326070f967157666..f379185fafab3a8f4e4ac007a5e4fd59be720934 100644 (file)
@@ -51,9 +51,10 @@ let process_file fname =
    let bname = F.chop_extension (F.basename fname) in
    let ich = open_in fname in
    let lexbuf = Lexing.from_channel ich in
-   let ds = TP.script TL.token lexbuf in
+   let ns, ds = TP.script TL.token lexbuf in
    close_in ich; includes := bname :: !includes;
-   let och = XU.open_out true bname in 
+   let ns = ("", "http://www.w3.org/1999/xhtml") :: ns in
+   let och = XU.open_out bname ns in 
    L.iter (process_directive och bname) ds;
    XU.close_out och
 
index 3583c2f7536e95d045a4dd0776bbf81d4169b8c2..f413aa0ef071632dd034054ea3dcf320386b6b27 100644 (file)
@@ -22,8 +22,12 @@ let border cell =
    if cell.M.cb.T.w then str.[3] <- 's';
    str :: cell.M.cc
 
+let text = function
+   | T.Plain s       -> s
+   | T.Link (uri, s) -> P.sprintf "<a href=\"%s\">%s</a>" uri s
+
 let key cell =
-   if cell.M.ck = [] then "<br/>" else S.concat " " cell.M.ck
+   if cell.M.ck = [] then "<br/>" else S.concat " " (L.map text cell.M.ck)
 
 let ind i = S.make (2 * i) ' '
 
@@ -37,16 +41,20 @@ let out_row och row =
    A.iter (out_cell och) row;
    P.fprintf och "%s</tr>\n" (ind (i+3))
 
+let out_space och (name, uri) =
+   let name = if name = "" then name else ":" ^ name in
+   P.fprintf och "                xmlns%s=\"%s\"\n" name uri
+
 (****************************************************************************)
 
-let open_out html name =
+let open_out name spaces =
    let fname = F.concat !O.output_dir (P.sprintf "%s.xsl" name) in
+   let spaces = ("xsl", "http://www.w3.org/1999/XSL/Transform") :: spaces in
    let och = open_out fname in
    P.fprintf och "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\n";
    P.fprintf och "<!-- %s -->\n\n" msg;   
    P.fprintf och "<xsl:stylesheet version=\"1.0\"\n";
-   P.fprintf och "                xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\"\n";
-   if html then P.fprintf och "                xmlns=\"http://www.w3.org/1999/xhtml\"\n";
+   L.iter (out_space och) spaces;
    P.fprintf och ">\n\n";
    och
 
@@ -72,7 +80,7 @@ let map_tbls och name =
    P.fprintf och "%s</xsl:when>\n" (ind (i+2))
 
 let write_hook name incs tbls =
-   let och = open_out false name in
+   let och = open_out name [] in
    L.iter (map_incs och) incs;
    P.fprintf och "\n<xsl:template name=\"%s\">\n" name;
    P.fprintf och "%s<xsl:choose>\n" (ind (i+1));
index 9e7c3fc08fb76116394dad032eb996dc884ea03d..ed3a266f515b50d843605e164e2877cac4f95305 100644 (file)
@@ -10,16 +10,20 @@ body {
 
 a:link, a:visited {
    text-decoration: underline;
+   color: rgb(0, 0, 0);
 }
 
 a:active, a:hover, a:focus {
    background: rgb(192, 192, 192);
+   color: rgb(0, 0, 0);
 }
 
 /* blocks *******************************************************************/
 
 div.spacer {
    text-align: center;
+   font-weight: normal; 
+   font-size: medium;
 }
 
 div.head1 {
@@ -29,20 +33,30 @@ div.head1 {
    font-size: xx-large;
 }
 
-div.head2 {
+div.head2sn {
    margin: 0.5em 0; 
    text-align: left;
    font-weight: bold; 
    font-size: x-large;
 }
 
+div.head2dx {
+   margin: 0.5em 0; 
+   text-align: right;
+   font-weight: bold; 
+   font-size: x-large;
+}
+
 div.text {
    margin: 1em 0; 
    text-align: left;
+   font-weight: normal; 
+   font-size: medium;
 }
 
 span.date {
    font-weight: bold;
+   font-size: medium;
 }
 
 /* inline decorations *******************************************************/
@@ -53,6 +67,12 @@ img.icon32 {
    height: 32px;
 }
 
+img.icon37 {
+   border: 0; 
+   width: 37px; 
+   height: 37px;
+}
+
 img.rule {
    border: 0; 
    height: 4px;
@@ -68,7 +88,7 @@ img.w3c {
 
 /* background colors ********************************************************/
 
-.grey {
+.gray {
   background-color:#dfdfdf; /* + 7/8 */
 }
 
index 5b5eb1d97ed18c0abaeb56b2d4b810e2d5569ac2..580d39fcfc5a58eba77ac012048a18650706e687 100644 (file)
@@ -1,3 +1,14 @@
+% \lambda\delta version 2 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+@misc{lambdadelta8,
+   author="F. {Guidi}",
+   title="{lambdadelta\_2}",
+   howpublished="Formal specification for the proof assistant Matita 0.99.2",
+   year="2014",
+   month="July",
+   note="Available at the $\lambda\delta$ Web site: $<$http://lambdadelta.info/$>$"
+}
+
 @incollection{lambdadelta7,
    author="F. {Guidi}", 
    title="{An Efficient Validation Procedure for the Formal System $\lambda\delta$}",
@@ -21,6 +32,8 @@
    month="September"
 }
 
+% \lambda\delta version 1 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
 @article{lambdadelta5,
    author="F. {Guidi}",
    title="{The Formal System $\lambda\delta$}",
@@ -71,7 +84,7 @@
 @misc{lambdadelta1,
    author="F. {Guidi}",
    title="{lambdadelta\_1}",
-   howpublished="Formal specification with the proof assistant Coq 7.3.1",
+   howpublished="Formal specification for the proof assistant Coq 7.3.1",
    year="2006",
    month="November",
    note="Available at the $\lambda\delta$ Web site: $<$http://lambdadelta.info/$>$"
index 5b5eb1d97ed18c0abaeb56b2d4b810e2d5569ac2..580d39fcfc5a58eba77ac012048a18650706e687 100644 (file)
@@ -1,3 +1,14 @@
+% \lambda\delta version 2 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+@misc{lambdadelta8,
+   author="F. {Guidi}",
+   title="{lambdadelta\_2}",
+   howpublished="Formal specification for the proof assistant Matita 0.99.2",
+   year="2014",
+   month="July",
+   note="Available at the $\lambda\delta$ Web site: $<$http://lambdadelta.info/$>$"
+}
+
 @incollection{lambdadelta7,
    author="F. {Guidi}", 
    title="{An Efficient Validation Procedure for the Formal System $\lambda\delta$}",
@@ -21,6 +32,8 @@
    month="September"
 }
 
+% \lambda\delta version 1 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
 @article{lambdadelta5,
    author="F. {Guidi}",
    title="{The Formal System $\lambda\delta$}",
@@ -71,7 +84,7 @@
 @misc{lambdadelta1,
    author="F. {Guidi}",
    title="{lambdadelta\_1}",
-   howpublished="Formal specification with the proof assistant Coq 7.3.1",
+   howpublished="Formal specification for the proof assistant Coq 7.3.1",
    year="2006",
    month="November",
    note="Available at the $\lambda\delta$ Web site: $<$http://lambdadelta.info/$>$"
diff --git a/helm/www/lambdadelta/download/lambdadelta_2.tar.gz b/helm/www/lambdadelta/download/lambdadelta_2.tar.gz
new file mode 100644 (file)
index 0000000..6dc4aa8
Binary files /dev/null and b/helm/www/lambdadelta/download/lambdadelta_2.tar.gz differ
index 765dcea064f84d90c7a0ed4b4b4c39b8dd283068..c9e6adaf69e6fb97403e2cda2b78411730dd1384 100644 (file)
@@ -23,7 +23,8 @@
     <div class="spacer">
       <img class="rule" alt="[Spacer]" title="lambdadelta rainbow rule" src="http://lambdadelta.info/images/rainbow.png" />
     </div>
-   <div xmlns:ld="http://lambdadelta.info/" class="head2">Summary of the Specification</div>
+   <a xmlns:ld="http://lambdadelta.info/" name="" />
+    <div xmlns:ld="http://lambdadelta.info/" class="head2sn">Summary of the Specification</div>
    <div xmlns:ld="http://lambdadelta.info/" class="text">Here is a numerical acount of the specification's contents
          and its timeline.
          Nodes are counted according to the "intrinsinc complexity measure"
       <table cellpadding="4" cellspacing="0">
         <tbody>
           <tr>
-            <td class="snns component grey">category</td>
-            <td class="snns plane grey">objects</td>
-            <td class="snnn number grey">
+            <td class="snns component gray">category</td>
+            <td class="snns plane gray">objects</td>
+            <td class="snnn number gray">
               <br />
             </td>
-            <td class="snnn plane grey">
+            <td class="snnn plane gray">
               <br />
             </td>
-            <td class="snnn number grey">
+            <td class="snnn number gray">
               <br />
             </td>
-            <td class="snnn plane grey">
+            <td class="snnn plane gray">
               <br />
             </td>
-            <td class="ssnn number grey">
+            <td class="ssnn number gray">
               <br />
             </td>
           </tr>
@@ -96,7 +97,8 @@
    </li>
     </ul>
 
-   <div xmlns:ld="http://lambdadelta.info/" class="head2">Logical Structure of the Specification</div>
+   <a xmlns:ld="http://lambdadelta.info/" name="" />
+    <div xmlns:ld="http://lambdadelta.info/" class="head2sn">Logical Structure of the Specification</div>
    <div xmlns:ld="http://lambdadelta.info/" class="text">The source files are grouped in planes
          according to the following table.
          Notation files covering the whole specification are provided.
       <table cellpadding="4" cellspacing="0">
         <tbody>
           <tr>
-            <td class="snns plane grey">plane</td>
-            <td class="snns file grey">files</td>
-            <td class="snnn file grey">
+            <td class="snns plane gray">plane</td>
+            <td class="snns file gray">files</td>
+            <td class="snnn file gray">
               <br />
             </td>
-            <td class="snnn file grey">
+            <td class="snnn file gray">
               <br />
             </td>
-            <td class="snnn file grey">
+            <td class="snnn file gray">
               <br />
             </td>
-            <td class="snnn file grey">
+            <td class="snnn file gray">
               <br />
             </td>
-            <td class="snnn file grey">
+            <td class="snnn file gray">
               <br />
             </td>
-            <td class="snnn file grey">
+            <td class="snnn file gray">
               <br />
             </td>
-            <td class="snnn file grey">
+            <td class="snnn file gray">
               <br />
             </td>
-            <td class="ssnn file grey">
+            <td class="ssnn file gray">
               <br />
             </td>
           </tr>
       </table>
     </div>
 
-   <div xmlns:ld="http://lambdadelta.info/" class="head2">Physical Structure of the Specification</div>
+   <a xmlns:ld="http://lambdadelta.info/" name="" />
+    <div xmlns:ld="http://lambdadelta.info/" class="head2sn">Physical Structure of the Specification</div>
    <div xmlns:ld="http://lambdadelta.info/" class="text">The source files are grouped in directories,
          one for each plane.
    </div>
     <div xmlns:ld="http://lambdadelta.info/" class="spacer">
       <br />
     </div>
-    <div xmlns:ld="http://lambdadelta.info/" class="spacer">Last update: Sat, 28 Jun 2014 20:29:31 +0200</div>
+    <div xmlns:ld="http://lambdadelta.info/" class="spacer">Last update: Sun, 29 Jun 2014 22:20:18 +0200</div>
 </body>
 </html>
diff --git a/helm/www/lambdadelta/web/home/index2.ldw.xml b/helm/www/lambdadelta/web/home/index2.ldw.xml
new file mode 100644 (file)
index 0000000..14be7fa
--- /dev/null
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<page xmlns="http://lambdadelta.info/"
+      description = "\lambda\delta home page"
+      title = "\lambda\delta home page"
+      head = "The Formal System λδ (\lambda\delta)"
+>
+   <sitemap name="sitemap"/>
+
+   <section9 name="foreword">Foreword</section9>
+   <body>
+      The formal system λδ (\lambda\delta) is a typed λ-calculus aiming to support
+      the foundations of Mathematics that require an underlying specification language
+      (for example the <link to="http://www.math.unipd.it/~maietti/">Minimal Type Theory</link>
+       and its predecessors).
+   </body>
+   <body>
+      λδ is developed in the context of the
+      <link to="http://helm.cs.unibo.it/">Hypertextual Electronic Library of Mathematics</link>
+      as a machine-checked digital specification
+      that is not the formal counterpart of some previously published informal material.
+   </body>
+   <body>
+      λδ comes in several versions listed in the following table,
+      which includes the major milestones:
+   </body>
+   <table name="versions"/>
+
+   <section3 name="notice">Notice for the Internet Explorer user</section3>
+   <body>
+      To view this site correctly, please select a font
+      with <link to="http://www.unicode.org/">Unicode</link> support.
+      For example "Lucida Sans Unicode" (it should be already installed on your system).
+      To change the current font follow:
+      "Tools" menu → "Internet Options" entry → "General" tab → "Fonts" button.
+   </body>
+
+   <footer/>
+</page>
diff --git a/helm/www/lambdadelta/web/home/sitemap.tbl b/helm/www/lambdadelta/web/home/sitemap.tbl
new file mode 100644 (file)
index 0000000..78a5a2d
--- /dev/null
@@ -0,0 +1,18 @@
+name "sitemap"
+
+table [
+   class "sky" {
+      [ "foreword" * ]
+   }
+   class "magenta" {
+      [ "news" * ]
+   }
+   class "orange" {
+      [ "bibliography" * ]
+   }
+   class "green" {
+      [ "resources" * ]
+   }
+]
+
+class "component" [ 0 ]
diff --git a/helm/www/lambdadelta/web/home/versions.tbl b/helm/www/lambdadelta/web/home/versions.tbl
new file mode 100644 (file)
index 0000000..900b281
--- /dev/null
@@ -0,0 +1,18 @@
+name "versions"
+
+table {
+   class "gray"   
+      [ "version" "name" "developed with"
+        "started" "announced" "released" "dismissed"
+      ] 
+   class "orange" 
+      [ "2" "basic_2" @("http://matita.cs.unibo.it/" "Matita 0.99.2")
+        "April 2011" "July 2014" "Planned in 2014" "Not planned yet"
+      ] 
+   class "red"
+      [ "1" "basic_1" @("http://coq.inria.fr/" "Coq 7.3.1")
+        "May 2004" "January 2006" "November 2006" "May 2008" ] 
+}
+
+class "component" [ 0 ]
+
index a90d005a1d87ec7dadd10a11ffab47894b04fa6c..0a497c7b0b29e6775edbc8ff0867596b8ce78ef8 100644 (file)
    </div>
 </xsl:template>
 
+<xsl:template name="butterfly">
+   <xsl:param name="name"/>
+   <img class="icon37"
+      alt="[spacer]"
+      title="lambdadelta butterfly"
+      src="{$baseurl}images/b{$name}.png"
+   />
+</xsl:template>
+
 <xsl:template name="xhtml">
    <a href="http://validator.w3.org/check?uri=referer">
       <img class="w3c"
@@ -87,4 +96,8 @@
    </a>
 </xsl:template>
 
+<xsl:template name="sp">
+   <xsl:text> </xsl:text>
+</xsl:template>
+
 </xsl:stylesheet>
index e82b2784b521b049f7a21c27f1c8cba812d40f74..07bd9bf3f8f05e0ca0435e29c9b6601f9eaf8320 100644 (file)
@@ -7,17 +7,68 @@
 >
 
 <xsl:template match="ld:section">
-   <div class="head2">
+   <a name="{@name}"/>
+   <div class="head2sn">
       <xsl:apply-templates/>
    </div>
 </xsl:template>
 
+<xsl:template match="ld:section3">
+   <a name="{@name}"/>
+   <div class="head2dx">
+      <xsl:apply-templates/>
+      <xsl:call-template name="sp"/>
+      <xsl:call-template name="butterfly">
+         <xsl:with-param name="name" select="3"/>
+      </xsl:call-template>
+   </div>
+</xsl:template>
+
+<xsl:template match="ld:section4">
+    <a name="{@name}"/>
+    <div class="head2dx">
+      <xsl:apply-templates/>
+      <xsl:call-template name="sp"/>
+      <xsl:call-template name="butterfly">
+         <xsl:with-param name="name" select="4"/>
+      </xsl:call-template>
+   </div>
+</xsl:template>
+
+<xsl:template match="ld:section5">
+   <a name="{@name}"/>
+   <div class="head2dx">
+      <xsl:apply-templates/>
+      <xsl:call-template name="sp"/>
+      <xsl:call-template name="butterfly">
+         <xsl:with-param name="name" select="5"/>
+      </xsl:call-template>
+   </div>
+</xsl:template>
+
+<xsl:template match="ld:section9">
+   <a name="{@name}"/>
+   <div class="head2dx">
+      <xsl:apply-templates/>
+      <xsl:call-template name="sp"/>
+      <xsl:call-template name="butterfly">
+         <xsl:with-param name="name" select="9"/>
+      </xsl:call-template>
+   </div>
+</xsl:template>
+
 <xsl:template match="ld:body">
    <div class="text">
       <xsl:apply-templates/>
    </div>
 </xsl:template>
 
+<xsl:template match="ld:link">
+   <a href="{@to}">
+      <xsl:apply-templates/>
+   </a>
+</xsl:template>
+
 <xsl:template match="ld:rlink">
    <a href="{$baseurl}{@to}">
       <xsl:apply-templates/>
    </div>
 </xsl:template>
 
+<xsl:template match="ld:sitemap">
+   <div class="spacer"><br/></div>   
+   <div class="text">
+      <xsl:call-template name="xhtbl"/>
+   </div>
+</xsl:template>
+
 <xsl:template match="ld:footer">
    <xsl:call-template name="rule"/>
    <div class="spacer"><br/></div>