aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Klose <doko@debian.org>2004-08-26 21:26:22 +0000
committerMatthias Klose <doko@gcc.gnu.org>2004-08-26 21:26:22 +0000
commitdf6e87bf752c78351c8a40c5c824f312e2199621 (patch)
treebc4e54385fef7abc224f3114fca1de4fc7c6ae96
parentb77c7437d390e1ff45581b32b4549f07a6ae104a (diff)
downloadgcc-df6e87bf752c78351c8a40c5c824f312e2199621.zip
gcc-df6e87bf752c78351c8a40c5c824f312e2199621.tar.gz
gcc-df6e87bf752c78351c8a40c5c824f312e2199621.tar.bz2
texi2pod.pl: keep references of the form @ref{...}, print them bold.
2004-08-26 Matthias Klose <doko@debian.org> * texi2pod.pl: keep references of the form @ref{...}, print them bold. From-SVN: r86635
-rw-r--r--contrib/ChangeLog10
-rwxr-xr-xcontrib/texi2pod.pl3
2 files changed, 10 insertions, 3 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index c03da28..e481dad 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -1,7 +1,11 @@
-2003-08-26 Matthias Klose <doko@debian.org>
+2004-08-26 Matthias Klose <doko@debian.org>
- * test_summary: Include baseline used for libstdc++-v3
- abi check in test summary.
+ * texi2pod.pl: keep references of the form @ref{...}, print them bold.
+
+2004-08-26 Matthias Klose <doko@debian.org>
+
+ * test_summary: Include baseline used for libstdc++-v3 abi check
+ in test summary.
2004-08-25 Ben Elliston <bje@au.ibm.com>
diff --git a/contrib/texi2pod.pl b/contrib/texi2pod.pl
index 9d4bb54..480f26a 100755
--- a/contrib/texi2pod.pl
+++ b/contrib/texi2pod.pl
@@ -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