[Richard Suchenwirth] 2004-02-18 - I received a document in a markup that I later found out was Doxygen formatting. As I didn't have Doxygen installed, I whipped up this little converter that turns it to HTML (on stdout - best pipe into a file), which was sufficient to make it better readable. The language of Doxygen is of course much more powerful (see http://www.stack.nl/~dimitri/doxygen/commands.html), but for my limited needs this was just good enough. If you need to process more Doxygen commands, just add them (and update this page too, if it's some thing useful). No warranties, but enjoy! proc xtex2htm {channel filename} { while {[gets $channel line]>=0} { set line [string map { {\li }
\\endverbatim& & < < > > } $line] if {$line eq "/*!"} continue if [regexp {\\mainpage (.+)} $line -> l] { set line
$h" } if [regexp {\\subsection (\S+) (.+)} $line -> l h] { set line "
$h
"
lappend links "
} #--- markup C++ comments in code sections if [regexp {^\s*//} $line] {set line $line} puts $line } puts "
[join $links \n]" puts "