OSDN Git Service

2004-08-26 Matthias Klose <doko@debian.org>
[pf3gnuchains/gcc-fork.git] / contrib / texi2pod.pl
index 9d4bb54..480f26a 100755 (executable)
@@ -349,6 +349,9 @@ sub postprocess
     s/\@w\{([^\}]*)\}/S<$1>/g;
     s/\@(?:dmn|math)\{([^\}]*)\}/$1/g;
 
+    # keep references of the form @ref{...}, print them bold
+    s/\@(?:ref)\{([^\}]*)\}/B<$1>/g;
+
     # Cross references are thrown away, as are @noindent and @refill.
     # (@noindent is impossible in .pod, and @refill is unnecessary.)
     # @* is also impossible in .pod; we discard it and any newline that