]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/www/lambdadelta/bin/xhtbl/table.ml
update in basic_2
[helm.git] / helm / www / lambdadelta / bin / xhtbl / table.ml
index fe15c94dbe5a2c3b31c49b1d138d460be7323548..d3ee13bfa14e11d87a9eaf593ba17963290ce025 100644 (file)
@@ -4,6 +4,8 @@ type uri = string
 
 type ext = string
 
+type anchor = string
+
 type absolute = bool
 
 type size = {
@@ -30,6 +32,7 @@ type key = Text of text list
          | Glue of int option
 
 type table = {
+           tn: anchor; (* named anchor *)
    mutable tc: css;    (* css classes *)
    mutable tu: uri;    (* uri *)
    mutable tx: ext;    (* uri extension *)
@@ -54,14 +57,14 @@ let border b = {
    n = b; s = b; e = b; w = b;
 }
 
-let mk_key k tc tu tx = {
+let mk_key k tc tu tx tn = {
    ts = no_size; tb = border false; te = Key k;
-   tc = tc; tu = tu; tx = tx;
+   tc = tc; tu = tu; tx = tx; tn = tn;
    ti = id ();
 }
 
-let mk_line b tl tc tu tx = {
+let mk_line b tl tc tu tx tn = {
    ts = no_size; tb = border b; te = Line (b, tl);
-   tc = tc; tu = tu; tx = tx;
+   tc = tc; tu = tu; tx = tx; tn = tn;
    ti = id ();
 }