Anonymous avatar Anonymous committed 07fc27a

Now hiding the page Table-of-Contents.

Abstracted it behind <div class="page_toc"> in lib/toc_div.wml and <toc_div />.
The tag there accepts several options, like language and tag.

Comments (0)

Files changed (93)

 .navbar, .menu_floaty, .menu_floaty .sub_menu, .banner,
-.leading_path, .invisible
+.leading_path, .invisible, .page_toc
 { 
     display: none;
 }
 use warnings;
 
 use HTML::Latemp::GenMakeHelpers;
+use File::Find::Object::Rule;
+use IO::All;
 
 my $generator = 
     HTML::Latemp::GenMakeHelpers->new(
     
 $generator->process_all();
 
-use IO::All;
 
 my $text = io("include.mak")->slurp();
 $text =~ s!^(T2_DOCS = .*)humour/fortunes/index\.html!$1!m;
 system("./bin/gen-docbook-make-helpers.pl");
 system("./bin/gen-fortunes.pl");
 
+# Write deps.mak
+{
+    my @files =
+        map {
+            my $s = $_;
+            $s =~ s{\.wml\z}{};
+            $s =~ s{\A(?:\./)?t2/}{\$(T2_DEST)/};
+            $s;
+            }
+        File::Find::Object::Rule
+            ->name('*.wml')
+            ->grep(qr/\A#include *"toc_div/)
+            ->in('t2');
+
+    io->file("deps.mak")->print("@files: lib/toc_div.wml");
+}
+
+
 1;
 
+#include "xhtml/1.x/std/toc.wml"
+
+<define-tag toc_div>
+
+<preserve head_tag lang />
+
+<set-var %attributes />
+
+<set-var head_tag="<latemp_default_val "<get-var head_tag />" "h2" />" />
+<set-var lang="<latemp_default_val "<get-var lang />" "en" />" />
+
+<ifeq lang "en" "<set-var title="Table of Contents" />" />
+<ifeq lang "he" "<set-var title="תוכן העניינים" />" />
+
+<div class="page_toc">
+<<get-var head_tag />* id="toc"><get-var title /></<get-var head_tag />*>
+
+<toc />
+</div>
+
+<restore head_tag lang />
+
+</define-tag>

t2/art/index.html.wml

 #include '../template.wml'
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <latemp_subject "Shlomi Fish’s Art" />
 
 shamelessly duplicate my efforts and create similar art.
 </p>
 
-<h2* id="toc">Table of Contents</h2*>
-
-<toc />
+<toc_div />
 
 <div class="graphic_designs">
 

t2/humour-heb.html.wml

 <set-var rtl_layout="1" />
 #include '../template.wml'
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <latemp_subject "מקבץ אמרות השפר והציטוטים של שלומי פיש" />
 
 מבוססות XML הניתנות לקריאה על ידי מכונה
 </p>
 
-<h2*>תוכן העניינים</h2*>
-
-<toc />
+<toc_div lang="he" />
 
 <header_joke id="jewish_deduction" header="הגיון יהודי">
 

t2/humour.html.wml

 #include '../template.wml'
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <latemp_subject "My Humour Collection" />
 
 You can also find them and others <a href="<rellink url="humour/fortunes/" host="t2" />">in machine-readble UNIX fortune cookies collections</a>.
 </p>
 
-<h2*>Table of Contents</h2*>
-
-<toc />
+<toc_div />
 
 <h2 id="list">List of Aphorisms</h2>
 <header_joke id="jewish_deduction" header="A Jewish Deduction">

t2/humour/Pope/The-Pope-Died-on-Sunday--Hebrew-Text.html.wml

 <set-var shlomif_lang="he" />
 
 #include '../template.wml'
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <latemp_subject "האפיפיור מת ביום ראשון" />
 
-<h2* id="toc">תוכן העניינים</h2*>
-
-<toc />
+<toc_div lang="he" />
 
 <p><b>מאת:</b> שלומי פיש </p>
 

t2/humour/TheEnemy/The-Enemy-English-rev4.html.wml

 #include '../template.wml'
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <latemp_subject "&quot;The Enemy and How I Helped to Fight it&quot; - Text of
 the English Translation - Fourth Draft" />
 <b>Written and Translated  By:</b> Shlomi Fish
 </p>
 
-<h2* id="toc">Table of Contents</h2*>
-
-<toc />
+<toc_div />
 
 <div class="story">
 

t2/humour/TheEnemy/The-Enemy-English-rev5.html.wml

 #include '../template.wml'
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <latemp_subject "&quot;The Enemy and How I Helped to Fight it&quot; - Text of
 the English Translation - Fifth Draft" />
 <b>Written and Translated By:</b> Shlomi Fish
 </p>
 
-<h2* id="toc">Table of Contents</h2*>
-
-<toc />
+<toc_div />
 
 <div class="story">
 

t2/humour/TheEnemy/The-Enemy-English-rev6.html.wml

 #include '../template.wml'
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <latemp_subject "&quot;The Enemy and How I Helped to Fight it&quot; - Text of the English Translation - Revision 6" />
 
 <b>Written and Translated By:</b> Shlomi Fish
 </p>
 
-<h2* id="toc">Table of Contents</h2*>
-
-<toc />
+<toc_div />
 
 <div class="note">
 <h2 id="historical_introduction">Historical Introduction to the Story</h2>

t2/humour/TheEnemy/The-Enemy-English-v7.html.wml

 #include '../template.wml'
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <latemp_subject "&quot;The Enemy and How I Helped to Fight it&quot; - Text of the English Translation - Version 7" />
 
 <a href="http://www.MiriamErezTranslations.co.il/">Miriam Erez Translations</a>
 </p>
 
-<h2* id="toc">Table of Contents</h2*>
-
-<toc />
+<toc_div />
 
 <h2 id="the_enemy_main_text">Main Text</h2>
 

t2/humour/TheEnemy/The-Enemy-rev4.html.wml

 <set-var shlomif_lang="he" />
 
 #include '../template.wml'
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <latemp_subject "האויב ואיך עזרתי להילחם בו" />
 
-<h2* id="toc">תוכן העניינים</h2*>
-
-<toc />
+<toc_div lang="he" />
 
 <p><b>מאת:</b> שלומי פיש </p>
 

t2/humour/TheEnemy/The-Enemy-rev5.html.wml

 <set-var shlomif_lang="he" />
 
 #include '../template.wml'
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <latemp_subject "האויב ואיך עזרתי להילחם בו" />
 
-<h2* id="toc">תוכן העניינים</h2*>
-
-<toc />
+<toc_div lang="he" />
 
 <p><b>מאת:</b> שלומי פיש </p>
 

t2/humour/TheEnemy/TheEnemy.html.wml

 <set-var rtl_layout="1" />
 
 #include '../template.wml'
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <latemp_subject "האויב ואיך עזרתי להילחם בו - טקסט בעברית" />
 
-<h2*>תוכן העניינים</h2*>
-<toc />
+<toc_div lang="he" />
 
 <p>האויב ואיך עזרתי להילחם בו </p>
 <p>מאת: שלומי פיש </p>

t2/humour/TheEnemy/TheEnemy_eng.html.wml

 #include '../template.wml'
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <latemp_subject "&quot;The Enemy and How I Helped to Fight it&quot; - Text of 
 the English Translation" />
 <b>Written and Translated By:</b> Shlomi Fish
 </p>
 
-<h2* id="toc">Table of Contents</h2*>
-
-<toc />
+<toc_div />
 
 <div class="story">
 <h2 id="left_without_a_trace">1. Left Without a Trace</h2>

t2/humour/TheEnemy/index.html.wml

 #include '../template.wml'
-#include "xhtml/1.x/std/toc.wml"
 #include "stories/stories-list.wml"
 
 <latemp_subject "The Enemy and How I Helped to Fight it" />
 
 <latemp_more_keywords "humour, humor, funny, story, web, fiction, web fiction, political, politics, israel, lebanon, middle east, objectivism, hizbullah, hezbollah, satire, internet fiction" />
 
-<define-tag removed_toc>
-<h2*>Table of Contents</h2*>
-
-<toc />
-</define-tag>
-
 <h2 id="intro">Introduction</h2>
 
 <the_enemy_summary />

t2/humour/fortunes/friends.html.wml

 
 <h2*>The “friends” Fortune Cookies Collection</h2*>
 
-<h3*>Table of Contents</h3*>
-
-<toc />
+<toc_div head_tag="h3" />
 
 <h2 id="fortunes-list">The Fortunes Themselves</h2>
 <div class="fortunes_list">

t2/humour/fortunes/index.html.wml

 #include '../template.wml'
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <latemp_subject "Fortune Cookie Files" />
 
 <latemp_more_keywords "fortune,unix,cookies,fortunes,xml,grammar,perl,freenode,iglu,linux,linux-il,paul graham,joel on software,quotes,quotations" />
 
-<h2* id="toc">Table of Contents</h2*>
-
-<toc />
+<toc_div />
 
 <h2 id="intro">Introduction</h2>
 

t2/humour/fortunes/joel-on-software.html.wml

 
 <h2*>The "Joel on Software" Fortune Collection</h2*>
 
-<h3*>Table of Contents</h3*>
-
-<toc />
+<toc_div head_tag="h3" />
 
 <h2 id="fortunes-list">The Fortunes Themselves</h2>
 <div class="fortunes_list">

t2/humour/fortunes/nyh-sigs.html.wml

 
 <h2*>The "Nadav Har'El Signatures" Fortune Collection</h2*>
 
-<h3*>Table of Contents</h3*>
-
-<toc />
+<toc_div head_tag="h3" />
 
 <h2 id="fortunes-list">The Fortunes Themselves</h2>
 <div class="fortunes_list">

t2/humour/fortunes/osp_rules.html.wml

 
 <h3*>Table of Contents</h3*>
 
-<toc />
+<toc_div head_tag="h3" />
 
 <h2 id="fortunes-list">The Fortunes Themselves</h2>
 <div class="fortunes_list">

t2/humour/fortunes/paul-graham.html.wml

 
 <h2*>Paul Graham's Fortune Cookies</h2*>
 
-<h3*>Table of Contents</h3*>
-
-<toc />
+<toc_div head_tag="h3" />
 
 <h2 id="fortunes-list">The Fortunes Themselves</h2>
 <div class="fortunes_list">

t2/humour/fortunes/sharp-perl.html.wml

 
 <h2*>The Freenode #perl Fortunes collection</h2*>
 
-<h3*>Table of Contents</h3*>
-
-<toc />
+<toc_div head_tag="h3" />
 
 <h2 id="fortunes-list">The Fortunes Themselves</h2>
 <div class="fortunes_list">

t2/humour/fortunes/sharp-programming.html.wml

 
 <h2*>The Freenode ##programming Fortunes collection</h2*>
 
-<h3*>Table of Contents</h3*>
-
-<toc />
+<toc_div head_tag="h3" />
 
 <h2 id="fortunes-list">The Fortunes Themselves</h2>
 <div class="fortunes_list">

t2/humour/fortunes/shlomif-factoids.html.wml

 in Unix fortune format.
 </p>
 
-<h3*>Table of Contents</h3*>
-
-<toc />
+<toc_div head_tag="h3" />
 
 <h2 id="fortunes-list">The Fortunes Themselves</h2>
 <div class="fortunes_list">

t2/humour/fortunes/shlomif-fav.html.wml

 Most of them don't appear elsewhere.
 </p>
 
-<h3*>Table of Contents</h3*>
-
-<toc />
+<toc_div head_tag="h3" />
 
 <h2 id="fortunes-list">The Fortunes Themselves</h2>
 <div class="fortunes_list">

t2/humour/fortunes/shlomif.html.wml

 
 <h2*>The shlomif Fortune Collection</h2*>
 
-<h3*>Table of Contents</h3*>
-
-<toc />
+<toc_div head_tag="h3" />
 
 <h2 id="fortunes-list">The Fortunes Themselves</h2>
 <div class="fortunes_list">

t2/humour/fortunes/subversion.html.wml

 <a href="http://subversion.tigris.org/">Subversion version control system</a>.
 </p>
 
-<h3*>Table of Contents</h3*>
-
-<toc />
+<toc_div head_tag="h3" />
 
 <h2 id="fortunes-list">The Fortunes Themselves</h2>
 <div class="fortunes_list">

t2/humour/fortunes/tinic.html.wml

 The ultimate collection of reasons why there is no IGLU Cabal.
 </p>
 
-<h3*>Table of Contents</h3*>
-
-<toc />
+<toc_div head_tag="h3" />
 
 <h2 id="fortunes-list">The Fortunes Themselves</h2>
 <div class="fortunes_list">

t2/humour/human-hacking/conclusions/index.html.wml

 #include '../template.wml'
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <latemp_subject "Conclusions and Reviews of the Human Hacking Field Guide" />
 
-<h2*>Table of Contents</h2*>
-<toc />
+<toc_div />
 
 <h2 id="intro">Introduction</h2>
 

t2/humour/human-hacking/hebrew-v2.html.wml

 <set-var shlomif_lang="he" />
 
 #include '../template.wml'
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <latemp_subject "מדריך השדה לשפצור אנשים" />
 
-<h2* id="toc">תוכן העניינים</h2*>
-
-<toc />
+<toc_div lang="he" />
 
 <p><b>מאת:</b> שלומי פיש </p>
 

t2/links.html.wml

 
 #include "div2mag.wml"
 
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <latemp_subject "My Cool Links List" />
 
-<h2*>Table of Contents</h2*>
-<toc />
+<toc_div />
 
 <h2 id="studies">Studies Related</h2>
 

t2/me/blogs/index.html.wml

 #include '../template.wml'
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <latemp_subject "My Weblogs" />
 
-<h2*>Table of Contents</h2*>
-
-<toc />
+<toc_div />
 
 <h2 id="intro">Introduction</h2>
 

t2/me/interviews/index.html.wml

 #include '../template.wml'
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <latemp_subject "Interviews with Me" />
 
-<h2*>Table of Contents</h2*>
-
-<toc />
+<toc_div />
 
 <h2 id="intro">Introduction</h2>
 

t2/meta/FAQ/index.html.wml

 #include '../template.wml'
 
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <latemp_subject "Shlomi Fish's Frequently Asked Questions (FAQ) List" />
 <latemp_meta_desc "Shlomi Fish's Frequently Asked Questions (FAQ) List" />
 I can link to it.
 </p>
 
-<h2 id="toc">Table of Contents</h2>
-
-<toc />
+<toc_div />
 
 <h2 id="about">About Shlomi Fish and this Site</h2>
 

t2/meta/copyrights/index.html.wml

 #include '../template.wml'
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <latemp_subject "Copyright Terms of Shlomi Fish's Homesite" />
 
-<h2* id="toc">Table of Contents</h2*>
-
-<toc />
+<toc_div />
 
 <h2 id="global_copyrights">Global Copyrights' Terms</h2>
 

t2/open-source/bits.html.wml

 #include '../template.wml'
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <latemp_subject "Open Source Bits and Bobs" />
 
-<toc />
+<toc_div />
 
 <define-tag bit_link whitespace="delete">
 ./bits-and-bobs/%0

t2/open-source/contributions/index.html.wml

 #include '../template.wml'
 
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <latemp_subject "Contributions Made to External Open-Source Projects" />
 
 <b>Last Updated:</b> 21-November-2009.
 </p>
 
-<h2* id="toc">Table of Contents</h2*>
-
-<toc />
+<toc_div />
 
 <h2 id="gimp"><a href="http://www.gimp.org/">GIMP - The GNU Image 
 Manipulation Program</a></h2>

t2/open-source/favourite/index.html.wml

 #include '../template.wml'
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <latemp_subject "Favourite Free Software of Mine" />
 
 out, and see if they are useful to you as well.
 </p>
 
-<h2*>Table of Contents</h2*>
-
-<toc />
+<toc_div />
 
 <h2 id="linux"><a href="http://www.linux.org/">Linux</a></h2>
 

t2/open-source/portability-libs/index.html.wml

 #include '../template.wml'
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <latemp_more_keywords "portability,libraries,portable,cross,platform,abstraction,library,qt,wx,gtk,glib,c,c++,stl,porting,unix,windows,linux,apple,mac os" />
 <latemp_subject "Cross-Platform Abstraction Libraries" />
 
 </define-tag>
 
-<h2*>Table of Contents</h2*>
-
-<toc />
+<toc_div />
 
 <h2 id="data_structures">Data Structures</h2>
 

t2/open-source/projects/Spark/mission/index.html.wml

 #include "../template.wml"
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 #include <utils.wml>
 
 <latemp_subject "Spark - Pre-Birth of a Modern Lisp" />
 
-<h2* id="toc">Table of Contents</h2*>
-
-<toc />
+<toc_div />
 
 <h2 id="itself">The Article Itself</h2>
 

t2/open-source/projects/index.html.wml

 #include '../template.wml'
 
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <latemp_subject "Shlomi Fish's Open Source Projects" />
 
-<h2*>Table of Contents</h2*>
-
-<toc />
+<toc_div />
 
 <h2 id="freecell-solver"><a href="<rellink url="open-source/projects/freecell-solver/" />">Freecell Solver</a></h2>
 

t2/open-source/resources/editors-and-IDEs/index.html.wml

 #include '../template.wml'
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <latemp_subject "List of Text Editors and IDEs" />
 
-<h2*>Table of Contents</h2*>
-
-<toc />
+<toc_div />
 
 <h2 id="intro">Introduction</h2>
 

t2/open-source/resources/israel/guide-to-israeli-foss-resources/index.html.wml

 #include '../template.wml'
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <!--
 
 -->
 <latemp_subject "Guide to Israeli Free and Open Source Software Resources" />
 
-<h2* id="toc">Table of Contents</h2*>
-
-<toc />
+<toc_div />
 
 <h2 id="portals">Portals, News, etc.</h2>
 

t2/open-source/resources/israel/list-of-projects/index.html.wml

 #include "../template.wml"
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <latemp_subject "List of Israeli Open-Source Projects" />
 
-<h2*>Table of Contents</h2*>
-
-<toc />
+<toc_div />
 
 <h2 id="intro">Introduction</h2>
 

t2/open-source/resources/numerical-software/index.html.wml

 #include '../template.wml'
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <latemp_subject "Directory of Numerical Software" />
 <page_extra_head_elements>
 </page_extra_head_elements>
 
 
-<h2*>Table of Contents</h2*>
-
-<toc />
+<toc_div />
 
 <h2 id="intro">Introduction</h2>
 

t2/open-source/resources/software-tools/index.html.wml

 #include '../template.wml'
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <latemp_subject "Software Construction and Management Tools" />
 <page_extra_head_elements>
 </page_extra_head_elements>
 
 
-<h2*>Table of Contents</h2*>
-
-<toc />
+<toc_div />
 
 <div class="software_build">
 <h2 id="build">Software Building</h2>

t2/philosophy/case-for-file-swapping/revision-3/index.html.wml

 #include '../template.wml'
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 #include <utils.wml>
 
 <latemp_subject "The Case for File Swapping - Revision 3 - Text" />
 
 <h2 id="back"><a href="../">Back to the Cover Page of this Article</a></h2>
 
-<h2*>Table of Contents</h2*>
-
-<toc />
+<toc_div />
 
 <h2 id="itself">The Article Itself</h2>
 

t2/philosophy/computers/education/introductory-language/index.html.wml

 #include '../template.wml'
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 #include <utils.wml>
 
 <latemp_subject "Thoughts about the Best Introductory Language" />
 gives some other good food for thought.
 </p>
 
-<h2*>Table of Contents</h2*>
-
-<toc />
+<toc_div />
 
 <h3 id="itself">The Article Itself - 2nd Revision</h3>
 

t2/philosophy/computers/education/opinion-on-the-technion/index.html.wml

 #include '../template.wml'
 
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 ;;; Placed on 14-July-2010
 ;;; Remove after a year - 14-July-2011
 institutes.
 </p>
 
-<h2 id="toc">Table of Contents</h2>
-
-<toc />
+<toc_div />
 
 <h2 id="meta">Document Information</h2>
 

t2/philosophy/computers/high-quality-software/index.html.wml

 #include '../template.wml'
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 #include <utils.wml>
 
 <latemp_subject "What Makes Software High-Quality?" />
 projects aims to answer this question.
 </p>
 
-<h2*>Table of Contents</h2*>
-
-<toc />
+<toc_div />
 
 <h3 id="itself">The Article Itself</h3>
 

t2/philosophy/computers/high-quality-software/rev2/index.html.wml

 #include '../template.wml'
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 #include <utils.wml>
 
 <latemp_subject "What Makes Software High-Quality? (Revision 2)" />
 with many corrections and additions.
 </p>
 
-<h2*>Table of Contents</h2*>
-
-<toc />
+<toc_div />
 
 <h3 id="itself">The Article Itself - 2nd Revision</h3>
 

t2/philosophy/computers/index.html.wml

 #include '../template.wml'
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <latemp_subject "Shlomi Fish's Writings about Computing" />
 
 can be read by anyone with a pseudo-technical background. 
 </p>
 
-<h2*>Table of Contents</h2*>
-
-<toc />
+<toc_div />
 
 <h2 id="articles-and-essays">The Articles and Essays</h2>
 

t2/philosophy/computers/open-source/foss-licences-wars/index.html.wml

 #include '../template.wml'
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 #include <utils.wml>
 
 <latemp_subject "FOSS Licences Wars" />
 some guidelines for choosing one.
 </p>
 
-<h2*>Table of Contents</h2*>
-
-<toc />
+<toc_div />
 
 <h3 id="itself">The Article Itself - 2nd Revision</h3>
 

t2/philosophy/computers/open-source/foss-licences-wars/supp1/index.html.wml

 #include '../template.wml'
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 #include <utils.wml>
 
 <latemp_subject "FOSS Licences Wars - First Supplemental" />

t2/philosophy/computers/open-source/index.html.wml

 #include '../template.wml'
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <latemp_subject "Essays about Open-Source Software" />
 
 Essays related to Free and Open Source Software.
 </p>
 
-<toc />
+<toc_div />
 
 <h2 id="articles-list">The Articles List</h2>
 

t2/philosophy/computers/open-source/linus-torvalds-bus-factor/index.html.wml

 #include '../template.wml'
 
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <latemp_subject "The Linus Torvalds Bus Factor" />
 <latemp_meta_desc "The Value of Multiple Committers and of &quot;Hitting the Benevolent Dictator with a Bus&quot;" />
 development.
 </p>
 
-<h2 id="toc">Table of Contents</h2>
-
-<toc />
+<toc_div />
 
 <h2 id="meta">Document Information</h2>
 

t2/philosophy/computers/optimizing-code-for-speed/index.html.wml

 #include '../template.wml'
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <latemp_subject "Optimizing Code for Speed" />
 <latemp_meta_desc "An overview of why and how one can optimize code for speed" />
 <latemp_more_keywords "optimization,optimisation,optimize,optimise,code,c,freecell solver,perl,speed,memory,software quality,snappiness,moore's law" />
 
-<h2*>Table of Contents</h2*>
-
-<toc />
+<toc_div />
 
 <h2 id="meta">Document Information</h2>
 

t2/philosophy/computers/perl/index.html.wml

 #include '../template.wml'
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <latemp_subject "Perl-Related Essays" />
 
 programming languages.
 </p>
 
-<toc />
+<toc_div />
 
 <h2 id="articles-list">The Articles List</h2>
 

t2/philosophy/computers/perl/joy-of-perl/joy-of-perl.html.wml

 #include '../template.wml'
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <latemp_subject "The Joy of Perl" />
 <latemp_meta_desc "An Essay in which Shlomi Fish explains why he likes the 
 Perl programming language so much" />
 
-<h2*>Table of Contents</h2*>
-
-<toc />
+<toc_div />
 
 <h2 id="doc_info">Document Information</h2>
 

t2/philosophy/computers/software-management/end-of-it-slavery/index.html.wml

 #include '../template.wml'
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 #include <utils.wml>
 
 <latemp_subject "The End of Info-Tech Slavery" />
 why.
 </p>
 
-<h2*>Table of Contents</h2*>
-
-<toc />
+<toc_div />
 
 <h2 id="itself">The Article Itself</h2>
 

t2/philosophy/computers/software-management/index.html.wml

 #include '../template.wml'
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <latemp_subject "Software Management-Related Essays" />
 
 managing employees, software engineering, etc.
 </p>
 
-<toc />
+<toc_div />
 
 <h2 id="articles-list">The Articles List</h2>
 

t2/philosophy/computers/software-management/perfect-workplace/index.html.wml

 #include '../template.wml'
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <latemp_subject "The Perfect Info-Tech Workplace" />
 

t2/philosophy/computers/software-management/perfect-workplace/perfect-it-workplace.xhtml.wml

 #include '../template.wml'
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 #include <utils.wml>
 
 <latemp_subject "The Perfect IT Workplace - Revision 1" />
 now which will be better publicised.
 </p>
 
-<h2*>Table of Contents</h2*>
-
-<toc />
+<toc_div />
 
 
 <h3 id="itself">The Article Itself</h3>

t2/philosophy/computers/software-management/perfect-workplace/v2/content.html.wml

 <set-var disable_comments="1" />
 #include '../template.wml'
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <latemp_subject "The Perfect Info-Tech Workplace" />
 
 <b>TODO :</b> FILL IN.
 </p>
 
-<h2*>Table of Contents</h2*>
-
-<toc />
+<toc_div />
 
 <div class="article">
 

t2/philosophy/computers/web/choice-of-docs-formats/index.html.wml

 #include '../template.wml'
 
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <latemp_subject "Choice of Document Formats" />
 <latemp_meta_desc "Choice of Document Formats" />
 mailing list</a>.
 </p>
 
-<h2 id="toc">Table of Contents</h2>
-
-<toc />
+<toc_div />
 
 <h2 id="meta">Document Information</h2>
 

t2/philosophy/computers/web/create-a-great-personal-homesite/index.html.wml

 #include '../template.wml'
 
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <latemp_subject "Create a Great Personal Home Site" />
 <latemp_meta_desc "How to create a Great Personal Homesite" />
 
 </div>
 
-<h2 id="toc">Table of Contents</h2>
-
-<toc />
+<toc_div />
 
 <h2 id="meta">Document Information</h2>
 

t2/philosophy/computers/web/create-a-great-personal-homesite/rev2.html.wml

 
 #include "driver.wml"
 
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <latemp_subject "Create a Great Personal Home Site - 2nd Revision" />
 <latemp_meta_desc "How to create a Great Personal Internet Home Site" />
 [ <a href="#article-itself"><b>Skip to the main content</b></a> ]
 </p>
 
-<h2 id="toc">Table of Contents</h2>
-
-<toc />
+<toc_div />
 
 <h2 id="meta">Document Information</h2>
 

t2/philosophy/computers/web/homepage-vs-blog/index.html.wml

 #include '../template.wml'
 
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <latemp_subject "Homepage vs. Blog" />
 <latemp_meta_desc "Explains the distinction between a homepage (or homesite) and a blog, and why this site is not a blog" />
 post to the Linux-Elitists mailing list</a>.
 </p>
 
-<h2 id="toc">Table of Contents</h2>
-
-<toc />
+<toc_div />
 
 <h2 id="meta">Document Information</h2>
 

t2/philosophy/computers/web/index.html.wml

 #include '../template.wml'
 
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <latemp_subject "Essays about the World-Wide-Web (WWW)" />
 
-<h2*>Table of Contents</h2*>
-
-<toc />
+<toc_div />
 
 <h2 id="the_articles">The Articles</h2>
 

t2/philosophy/computers/web/online-communities/index.html.wml

 #include '../template.wml'
 
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 #include <utils.wml>
 
 
 </note>
 
-<h2*>Table of Contents</h2*>
-
-<toc />
+<toc_div />
 
 <h2 id="intro">Introduction</h2>
 

t2/philosophy/computers/web/which-wiki/update-2006-07/index.html.wml

 #include '../template.wml'
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <latemp_subject "July 2006 Update to &quot;Which Wiki&quot;" />
 
 I'd like to detail some ways of fighting it. Without further ado: here it is.
 </p>
 
-<h2 id="toc">Table of Contents</h2>
-
-<toc />
+<toc_div />
 
 <h2 id="meta">Document Information</h2>
 

t2/philosophy/computers/when-c-is-best/when-c-is-the-best.html.wml

 #include '../template.wml'
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <latemp_subject "When C is the Best (Tool for the Job)" />
 <latemp_meta_desc "Gives some reasons why the C language still has its place and explains when it should be used instead of other alternatives" />
 <latemp_more_keywords "C,best,tool for the job,java,perl,ANSI C,C++,high level,low level,programming,languages" />
 
-<h2*>Table of Contents</h2*>
-
-<toc />
+<toc_div />
 
 <h2 id="meta">Document Information</h2>
 

t2/philosophy/ideas/fortunes-mania/index.html.wml

 #include '../template.wml'
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 <latemp_subject "&quot;Fortunes Mania&quot; : A Community Quotes Sites" />
 
-<toc />
+<toc_div />
 
 <h2 id="intro">Introduction</h2>
 

t2/philosophy/ideas/index.html.wml

 #include '../template.wml'
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <!--
 TODO:
 
 <latemp_subject "Shlomi Fish's Random Ideas" />
 
-<toc />
+<toc_div />
 
 <h2 id="intro">Introduction</h2>
 

t2/philosophy/ideas/unixdoc/index.html.wml

 #include '../template.wml'
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 <latemp_subject "Unixdoc - an Integrated Offline and Online Documentation Framework" />
 
-<toc />
+<toc_div />
 
 <h2 id="intro">Introduction</h2>
 

t2/philosophy/index.html.wml

 #include '../template.wml'
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <latemp_subject "Shlomi Fish's Articles and Essays" />
 
-<h2*>Table of Contents</h2*>
-
-<toc />
+<toc_div />
 
 <h2 id="index-to-essays"><a href="Index/">Index to my Essays</a></h2>
 

t2/philosophy/language/hebrew/common-errors/rev1.html.wml

 
 #include '../template.wml'
 
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 
 <h1>תיקון טעויות דקדוקיות ותחביריות נפוצות בעברית</h1>

t2/philosophy/obj-oss/rev2/index.html.wml

 #include '../template.wml'
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 #include <utils.wml>
 #include "dbook.wml"
 
 
 <h2 id="back"><a href="../">Back to the Cover Page of this Article</a></h2>
 
-<h2*>Table of Contents</h2*>
-
-<toc />
+<toc_div />
 
 <h2 id="itself">The Article Itself</h2>
 

t2/philosophy/perl-newcomers/v1/index.html.wml

 <set-var disable_comments="1" />
 #include '../template.wml'
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 #include <utils.wml>
 
 <latemp_subject "“Usability” of the Perl Online World for Newcomers - Version 1" />
 received a lot of commentary, both supporting, and criticising.
 </p>
 
-<h2*>Table of Contents</h2*>
-
-<toc />
+<toc_div />
 
 <h3 id="itself">The Article Itself - 2nd Revision</h3>
 

t2/philosophy/philosophy/advice-for-the-young/index.html.wml

 #include '../template.wml'
 
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <latemp_subject "Shlomi Fish's Advice for the Young" />
 
-<h2* id="toc">Table of Contents</h2*>
-
-<toc />
+<toc_div />
 
 <h2 id="intro">Introduction</h2>
 

t2/philosophy/philosophy/closed-books-are-so-19th-century/index.html.wml

 #include '../template.wml'
 
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <latemp_subject "Why Closed Books are So 19th-Century" />
 
-<h2* id="toc">Table of Contents</h2*>
-
-<toc />
+<toc_div />
 
 <h2 id="abstract">Abstract</h2>
 

t2/philosophy/politics/define-zionism/heb/index.html.wml

 <set-var rtl_layout="1" />
 #include '../template.wml'
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <latemp_subject "הגדר \"ציונות\"!" />
 
     
     /></a>
 
-<h2*>Table of Contents</h2*>
-
-<toc />
+<toc_div />
 
 <h2 id="intro">מבוא</h2>
 

t2/philosophy/politics/define-zionism/index.html.wml

 #include '../template.wml'
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <latemp_subject "Define \"Zionism\"" />
 
     
     /></a>
 
-<h2*>Table of Contents</h2*>
-
-<toc />
+<toc_div />
 
 <h2 id="intro">Introduction</h2>
 

t2/philosophy/politics/dispelling-myths-about-israel/index.html.wml

 #include '../template.wml'
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <latemp_subject "Dispelling Some Myths about Israel" />
 
-<h2*>Table of Contents</h2*>
-
-<toc />
+<toc_div />
 
 <h2 id="intro">Introduction</h2>
 

t2/philosophy/politics/drug-legalisation/hebrew.html.wml

 <set-var rtl_layout="1" />
 #include "../template.wml"
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 #include <utils.wml>
 
 
 
 <div class="main_text">
 
-<h2* id="toc">Table of Contents</h2*>
-
-<toc />
+<toc_div />
 
 <p class="en">
 <!--Creative Commons License-->

t2/philosophy/politics/drug-legalisation/index.html.wml

 #include "../template.wml"
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 #include <utils.wml>
 
 <latemp_subject "The Case for Drug Legalisation" />
 [ <a href="#itself"><b>Skip to the main content</b></a> ]
 </p>
 
-<h2* id="toc">Table of Contents</h2*>
-
-<toc />
+<toc_div />
 
 <h2 id="itself">The Article Itself</h2>
 

t2/philosophy/psychology/elephant-in-the-circus/hebrew.html.wml

 
 #include "pages/t2/philosophy/elephant-in-circus.wml"
 
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <latemp_subject "משל הפיל בקרקס" />
 
 <div class="main_text">
 
-<h2* id="toc">תוכן העניינים</h2*>
-
-<toc />
+<toc_div lang="he" />
 
 <h2 id="intro">מבוא</h2>
 

t2/philosophy/psychology/elephant-in-the-circus/index.html.wml

 
 #include "pages/t2/philosophy/elephant-in-circus.wml"
 
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <latemp_subject "The Elephant in the Circus" />
 
 <div class="main_text">
 
-<h2* id="toc">Table of Contents</h2*>
-
-<toc />
+<toc_div />
 
 <h2 id="intro">Introduction</h2>
 

t2/philosophy/psychology/hypomanias/index.html.wml

 <set-var disable_comments="1" />
 #include '../template.wml'
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 #include <utils.wml>
 
 <latemp_subject "Dealing with Hypomanias" />
 "below-manias"), which I have been suffering from for many years. 
 </p>
 
-<h2*>Table of Contents</h2*>
-
-<toc />
+<toc_div />
 
 <h3 id="itself">The Article Itself - 2nd Revision</h3>
 

t2/prog-evolution/pre-elpas.html.wml

 #include '../template.wml'
 
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <latemp_subject "Shlomi Fish as a Programmer - the pre-Elpas Years" />
 <latemp_meta_desc "Some memoirs of Shlomi Fish about programming when he was a teenager" />
 <latemp_more_keywords "Shlomi Fish, shlomif, Shlomi, Windows, DOS, BASIC, QBASIC, VBA, Visual Basic for Applications, Excel" />
 
-<h2 id="toc">Table of Contents</h2>
-
-<toc />
+<toc_div />
 
 <h2 id="meta">Document Information</h2>
 

t2/prog-evolution/shlomif-at-cortext.html.wml

 #include '../template.wml'
 
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <latemp_subject "Shlomi Fish at Cortext: HTML, UNIX and Perl - oh my!" />
 <latemp_meta_desc "Some Memoirs of Shlomi Fish when Working at Cortext" />
 <latemp_more_keywords "Shlomi Fish, shlomif, Shlomi, Cortext, Perl, UNIX, Unix,  HTML" />
 
-<h2 id="toc">Table of Contents</h2>
-
-<toc />
+<toc_div />
 
 <h2 id="meta">Document Information</h2>
 

t2/prog-evolution/shlomif-at-elpas.html.wml

 #include '../template.wml'
 
-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <latemp_subject "Shlomi Fish at Elpas" />
 <latemp_meta_desc "Some memoirs of Shlomi Fish when Working at Elpas" />
 <latemp_more_keywords "Shlomi Fish, shlomif, Shlomi, Elpas, Windows" />
 
-<h2 id="toc">Table of Contents</h2>
-
-<toc />
+<toc_div />
 
 <h2 id="meta">Document Information</h2>
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.