]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fiddle a bit more with dollar signs to make doxygen 1.5.3 happy.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 17 Aug 2007 20:00:32 +0000 (20:00 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 17 Aug 2007 20:00:32 +0000 (20:00 +0000)
git-svn-id: https://svn.dealii.org/trunk@14972 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/doc/doxygen/tutorial/program2doxygen
deal.II/doc/doxygen/tutorial/program2doxyplain

index edb2d9ea6d6339f24fe1616c66fddbe6a237c0bd..028b24aff1c382ce5ebdfa00d64f47c76148196b 100644 (file)
@@ -84,6 +84,13 @@ do {
     }
     else
     {
+        # in program mode, output the program line. the only thing we need
+       # to do is to avoid $ signs because that confuses doxygen. since
+       # we don't want formulas rendered in the program text anyway, 
+       # simply replace them by spaces (it would be nice to suppress their
+       # meaning somehow, but I don't know how...)
+       s/\$//g;
+
        print " * $_";
     }
 } while (<>);
index 8b007336f26d327b46a4565aa4bba6917981ea88..73782b71a1fe5653f601809e79fd459ba3518981 100644 (file)
@@ -22,7 +22,8 @@ while (<>) {
     # adding a space
     #
     # we also need to somehow strip the $ signs out of the svn Id: string
-    # to avoid trouble. The same holds for the $Name:$ tags.
+    # to avoid trouble. The same holds for the $Name:$ tags. All other $
+    # signs are simply removed.
     if ( ! m!^\s*//! ) {
         s!/\*!/ \*!g;
         s!\*/!\* /!g;
@@ -30,6 +31,8 @@ while (<>) {
        s!\$Id:(.*)\$!Subversion Id: \1!g;
        s!\$Name:?(.*)\$!Name: \1!g;
 
+        s!\$!!g;
+
        print " * $_";
     } else {
        # for comments, all we do is replace section headers, and

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.