]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Be a bit smarter about anchors in the plain text.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 16 Mar 2006 03:25:44 +0000 (03:25 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 16 Mar 2006 03:25:44 +0000 (03:25 +0000)
git-svn-id: https://svn.dealii.org/trunk@12613 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/doc/tutorial/chapter-2.step-by-step/program2doxyplain

index d738e68c3a1052a4e7c3b23472ac554b03cbe388..05648e7fe8ab9838e77cd27188f13e525bbaa758 100644 (file)
@@ -21,8 +21,9 @@ while (<>) {
           m!\@sect(\d)\{(.*)\}\s*$!;
           $sect_name = $2;
           $sect_name =~ s/\s/_/g;
-          $_ = " * <a name=\"plain-$sect_name\"></a>\n";
-          print;
+          print "\@endcode\n";
+          print " <a name=\"plain-$sect_name\"></a>\n";
+          print "\@code\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.