bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cross references to floats in TeX


From: Stepan Kasal
Subject: Re: Cross references to floats in TeX
Date: Fri, 5 Aug 2005 11:16:52 +0200
User-agent: Mutt/1.4.1i

Hello Karl,

On Thu, Aug 04, 2005 at 08:54:04PM +0200, Karl Berry wrote:
> +         % seems like we need to list every single command, as a long
> +         % caption might well contain environments, etc.?  Or maybe this
> +         % should be done in \commondummies?
> +         \let\xref=\relax
> +         \let\pxref=\relax
> +         \let\ref=\relax

I'd add them to \commondummiesnofonts.

I committed the following patch.  It didn't change "make ps" in texinfo/doc,
and it seems to work with the example from the original bug report.

Have a nice day,
        Stepan

Index: texinfo.tex
===================================================================
RCS file: /cvsroot/texinfo/texinfo/doc/texinfo.tex,v
retrieving revision 1.197
diff -u -r1.197 texinfo.tex
--- texinfo.tex 4 Aug 2005 18:05:36 -0000       1.197
+++ texinfo.tex 5 Aug 2005 09:14:19 -0000
@@ -3378,6 +3378,8 @@
     \definedummyword\key
     \definedummyword\math
     \definedummyword\option
+    \definedummyword\pxref
+    \definedummyword\ref
     \definedummyword\samp
     \definedummyword\strong
     \definedummyword\tie
@@ -3386,6 +3388,7 @@
     \definedummyword\var
     \definedummyword\verb
     \definedummyword\w
+    \definedummyword\xref
   }
 }
 
@@ -6669,13 +6672,6 @@
       % caption if specified, else the full caption if specified, else nothing.
       {%
         \atdummies
-        %
-        % seems like we need to list every single command, as a long
-        % caption might well contain environments, etc.?  Or maybe this
-        % should be done in \commondummies?
-        \let\xref=\relax
-        \let\pxref=\relax
-        \let\ref=\relax
         %
         % since we read the caption text in the macro world, where ^^M
         % is turned into a normal character, we have to scan it back, so




reply via email to

[Prev in Thread] Current Thread [Next in Thread]