]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Put reference into typewriter mode.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 8 Aug 2000 13:41:36 +0000 (13:41 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 8 Aug 2000 13:41:36 +0000 (13:41 +0000)
git-svn-id: https://svn.dealii.org/trunk@3235 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/contrib/kdoc/src/kdocHTMLutil.pm

index 769876efcfb17d4e36aa8172ee0934162c329607..ef84847607e72ef7d41bce21b432d8a9315dc1b1 100644 (file)
@@ -628,7 +628,11 @@ sub deref
                        # @ref -- cross reference
                        if ( $command eq "ref" ) {
                            $content =~ s/^\s*#//g;
-                           $out .= wordRef( $content, $rootnode );
+
+                           my $reference = wordRef( $content, $rootnode );
+                           # as xrefs can only point to other source code components, we 
+                           # put them into typewriter font, as is common style
+                           $out .= "<code>" . $reference . "</code>";
                        }
 
                        # @p  -- typewriter

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.