From cb629f2f85ddda3cf446da39b48cc5fcd80e7ae6 Mon Sep 17 00:00:00 2001 From: wolf Date: Tue, 8 Aug 2000 13:41:36 +0000 Subject: [PATCH] Put reference into typewriter mode. git-svn-id: https://svn.dealii.org/trunk@3235 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/contrib/kdoc/src/kdocHTMLutil.pm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/deal.II/contrib/kdoc/src/kdocHTMLutil.pm b/deal.II/contrib/kdoc/src/kdocHTMLutil.pm index 769876efcf..ef84847607 100644 --- a/deal.II/contrib/kdoc/src/kdocHTMLutil.pm +++ b/deal.II/contrib/kdoc/src/kdocHTMLutil.pm @@ -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 .= "" . $reference . ""; } # @p -- typewriter -- 2.39.5