fixed problem with TOC skip link, move TOC-generating XSL code to separate file

fixed problem with TOC skip link, move TOC-generating XSL code to
separate file

http://people.w3.org/mike/diffs/html5/markup/Overview.1.295.html

http://dev.w3.org/html5/markup/Overview.html
http://people.w3.org/mike/diffs/html5/markup/Overview.diff.html
http://dev.w3.org/cvsweb/html5/markup/Overview.html?r1=1.294&r2=1.295&f=h

===================================================================
RCS file: /sources/public/html5/markup/Overview.html,v
retrieving revision 1.294
retrieving revision 1.295
diff -u -d -r1.294 -r1.295
--- Overview.html 1 May 2009 11:07:54 -0000 1.294
+++ Overview.html 1 May 2009 13:53:14 -0000 1.295
@@ -21,7 +21,7 @@
 </dl>
 </div>
 <hr>
-<div id="tocjump" class="skip-link" style="text-align: center"><a href="./#toc">Skip to Table of Contents</a></div>
+<div id="tocjump" class="skip-link" style="text-align: center"><a href="Overview.html#toc">Skip to Table of Contents</a></div>
 <div id="abstract">
       <h2>Abstract</h2>
       <p>This specification describes the fifth major

Index: Makefile
===================================================================
RCS file: /sources/public/html5/markup/Makefile,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -d -r1.66 -r1.67
--- Makefile 1 May 2009 11:07:54 -0000 1.66
+++ Makefile 1 May 2009 13:53:14 -0000 1.67
@@ -135,7 +135,9 @@
    > $@
 
 spec.html: html.spec.src.html src/status.html tools/specgen.xsl
- $(XSLTPROC) $(XSLTPROCFLAGS) tools/specgen.xsl $< \
+ $(XSLTPROC) $(XSLTPROCFLAGS) \
+   --stringparam TOC-file "$@" \
+   tools/specgen.xsl $< \
    | $(TOHTML)  2>/dev/null \
    > $@
 

Index: spec.html
===================================================================
RCS file: /sources/public/html5/markup/spec.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- spec.html 1 May 2009 11:07:59 -0000 1.2
+++ spec.html 1 May 2009 13:53:14 -0000 1.3
@@ -21,7 +21,7 @@
 </dl>
 </div>
 <hr>
-<div id="tocjump" class="skip-link" style="text-align: center"><a href="./#toc">Skip to Table of Contents</a></div>
+<div id="tocjump" class="skip-link" style="text-align: center"><a href="spec.html#toc">Skip to Table of Contents</a></div>
 <div id="abstract">
       <h2>Abstract</h2>
       <p>This specification describes the fifth major

Received on Friday, 1 May 2009 13:54:25 UTC