2001-05-16 Simon Josefsson <simon@josefsson.org>
authorSimon Josefsson <jas@extundo.com>
Wed, 16 May 2001 12:08:18 +0000 (12:08 +0000)
committerSimon Josefsson <jas@extundo.com>
Wed, 16 May 2001 12:08:18 +0000 (12:08 +0000)
From Jesper Harder <harder@ifa.au.dk>

* texi2latex.el (latexi-translate-file): Also exchange ref.

* gnus.texi: Add \gnusref and \gnusuref.

texi/ChangeLog
texi/gnus.texi
texi/texi2latex.el

index 6305c3d..c96083f 100644 (file)
@@ -1,3 +1,10 @@
+2001-05-16  Simon Josefsson  <simon@josefsson.org>
+       From Jesper Harder <harder@ifa.au.dk>
+
+       * texi2latex.el (latexi-translate-file): Also exchange ref.
+
+       * gnus.texi: Add \gnusref and \gnusuref.
+
 2001-05-16  Simon Josefsson  <simon@josefsson.org>
        From Raymond Scholz <ray-2001@zonix.de>
 
index 965b30a..eac12b3 100644 (file)
@@ -31,6 +31,8 @@
 
 \newcommand{\gnusbackslash}{/}
 
+\newcommand{\gnusref}[1]{``#1'' on page \pageref{#1}}
+\newcommand{\gnusuref}[1]{\gnustt{#1}}
 \newcommand{\gnusxref}[1]{See ``#1'' on page \pageref{#1}}
 \newcommand{\gnuspxref}[1]{see ``#1'' on page \pageref{#1}}
 
index f5cb162..acc28e5 100644 (file)
          (cond 
           ((member command '("anchor"))
            (latexi-strip-line))
-          ((member command '("xref" "pxref"))
+          ((member command '("ref" "xref" "pxref"))
            (latexi-exchange-command (concat "gnus" command) arg))
           ((member command '("sc" "file" "dfn" "emph" "kbd" "uref"
                              "code" "samp" "var" "strong" "i"