bug-texinfo
[Top][All Lists]
Advanced

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

Re: bad handling of binary operator - in @code (regression)


From: Karl Berry
Subject: Re: bad handling of binary operator - in @code (regression)
Date: Fri, 9 Aug 2013 16:28:38 GMT

    @code{Pi - atan(x)}
    ...
    Pi -atan(x)

I just installed this change and updated ftp.gnu.org,
which seems to fix it for me.

Thanks,
karl

--- texinfo.tex (revision 5269)
+++ texinfo.tex (working copy)
@@ -2519,7 +2521,9 @@
       \ifx\codedashprev\codedash 
       \else \discretionary{}{}{}\fi
     \fi
-    \global\let\codedashprev=\next
+    % we need the space after the = for the case when \next itself is a
+    % space token; it would get swallowed otherwise.  As in @code{- a}.
+    \global\let\codedashprev= \next
   }
 }
 \def\normaldash{-}



reply via email to

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