]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Don't use escape signs in the TOC.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 7 May 2008 14:44:01 +0000 (14:44 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 7 May 2008 14:44:01 +0000 (14:44 +0000)
git-svn-id: https://svn.dealii.org/trunk@16046 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/doc/doxygen/tutorial/intro2toc

index 2330a29d60a40251b9d74045739c8f2be1ea1ecd..3f6b340f5032cb4cafe90628c6d5d37b928e586c 100644 (file)
@@ -2,7 +2,7 @@
 #    $Id: intro2toc 14782 2007-06-15 16:37:12Z kanschat $
 #    Version: $Name$
 #
-#    Copyright (C) 2006, 2007 by the deal.II authors
+#    Copyright (C) 2006, 2007, 2008 by the deal.II authors
 #
 #    This file is subject to QPL and may not be  distributed
 #    without copyright and license information. Please refer
@@ -50,6 +50,13 @@ while (<>) {
         # replace double dashes in comments by &mdash;
        $text =~ s!--!&mdash;!g;
 
+       # we sometimes escape words with % (as in "%Boundary
+        # conditions") because doxygen would otherwise link the word
+        # to a class name. This isn't necessary in the index because
+        # the text already appears in a hyperref, so get rid of the
+        # percent sign
+       $text =~ s!\%!!g;
+
        print "        <li><a href=\"#$reftext\">$text</a>\n";
 
        $level = $newlevel;

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.