]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Cross-link between example programs.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 4 Apr 2005 19:46:44 +0000 (19:46 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 4 Apr 2005 19:46:44 +0000 (19:46 +0000)
git-svn-id: https://svn.dealii.org/trunk@10351 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/doc/news/changes.html
deal.II/doc/tutorial/chapter-2.step-by-step/program2html

index f8b50394a9e0e864afa846b27aa5336155b4a984..bd11613407852b31b16cdbd9b4ecd31d1bc874fa 100644 (file)
@@ -101,6 +101,14 @@ inconvenience this causes.
 <h3>General</h3>
 
 <ol>
+  <li> <p>
+       New: If there are references to other example programs in any of the
+       step-XX programs, then they will now show up as crosslinks in the HTML
+       version for simpler navigation of the tutorial.
+       <br>
+       (WB, 2005/04/04)
+       </p>
+
   <li> <p>
        New: The configuration script can now enable special optimizations for
        x86-like processors if called with the <code>--with-cpu=...</code> option.
index 0e89f4c7f74fd3b157c761aacd0507322fdfdcbd..afbe25a77c1a3afcc096ae6abe3cc8dddf7bb247 100644 (file)
@@ -61,6 +61,9 @@ do {
           $_ = "\n<a name=\"$sect_name\"></a>" . $_;
        }
 
+       # then replace references to other example programs automatically:
+       s!(step-\d+)!<a href="\1.html" target="body">\1</a>!g;
+
        # finally print this line
        print $_, "\n";
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.