From: bangerth Date: Fri, 17 Aug 2007 20:00:32 +0000 (+0000) Subject: Fiddle a bit more with dollar signs to make doxygen 1.5.3 happy. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4ac6389062e3b925a189b1a708554650b3bbb04;p=dealii-svn.git Fiddle a bit more with dollar signs to make doxygen 1.5.3 happy. git-svn-id: https://svn.dealii.org/trunk@14972 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/doc/doxygen/tutorial/program2doxygen b/deal.II/doc/doxygen/tutorial/program2doxygen index edb2d9ea6d..028b24aff1 100644 --- a/deal.II/doc/doxygen/tutorial/program2doxygen +++ b/deal.II/doc/doxygen/tutorial/program2doxygen @@ -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 (<>); diff --git a/deal.II/doc/doxygen/tutorial/program2doxyplain b/deal.II/doc/doxygen/tutorial/program2doxyplain index 8b007336f2..73782b71a1 100644 --- a/deal.II/doc/doxygen/tutorial/program2doxyplain +++ b/deal.II/doc/doxygen/tutorial/program2doxyplain @@ -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