]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Accept @url{....} as well.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 27 Sep 2000 16:07:17 +0000 (16:07 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 27 Sep 2000 16:07:17 +0000 (16:07 +0000)
git-svn-id: https://svn.dealii.org/trunk@3356 0785d39b-7218-0410-832d-ea1e28bc413d

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

index ef84847607e72ef7d41bce21b432d8a9315dc1b1..9e1483f5492b77934a09bd68bd6cc8a92c42bda9 100644 (file)
@@ -650,6 +650,12 @@ sub deref
                            $out .= "<h$1>".esc($content)."</h$1>";
                        }
 
+                       # @url -- crosslink into the web. present the crosslink in
+                       # the whole window, rather than in the present frame (i.e. "_top")
+                       elsif ( $command eq "url" ) {
+                           $out .= "<a href=\"$content\" target="_top">$content</a>";
+                       }
+
                        # @begin{...} -- start environment
                        elsif ( $command =~ /^begin$/ ) {
                            if ( $content eq "itemize" ) {

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.