bug-texinfo
[Top][All Lists]
Advanced

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

\arg clobbered by kdbinputstyle in texinfo-4.8


From: Brian Gough
Subject: \arg clobbered by kdbinputstyle in texinfo-4.8
Date: Thu, 19 May 2005 19:48:57 +0100

Hello,

The plain tex \arg macro (argument of a complex number $\arg(z)$)
seems to be inadvertantly clobbered in \kbdinputstyle in texinfo-4.8.
The patch below changes it to \xxxarg.

-- 
best regards,

Brian Gough

Network Theory Ltd,
Publishing Free Software Manuals --- http://www.network-theory.co.uk/

diff -u /home/bjg/gsl/doc/texinfo.tex /home/bjg/gsl/doc/texinfo.tex.new
--- /home/bjg/gsl/doc/texinfo.tex       Thu May 19 19:21:08 2005
+++ /home/bjg/gsl/doc/texinfo.tex.new   Thu May 19 19:41:20 2005
@@ -1841,16 +1841,16 @@
 %   `example' (@kbd uses ttsl only inside of @example and friends),
 %   or `code' (@kbd uses normal tty font always).
 \parseargdef\kbdinputstyle{%
-  \def\arg{#1}%
-  \ifx\arg\worddistinct
+  \def\xxxarg{#1}%
+  \ifx\xxxarg\worddistinct
     \gdef\kbdexamplefont{\ttsl}\gdef\kbdfont{\ttsl}%
-  \else\ifx\arg\wordexample
+  \else\ifx\xxxarg\wordexample
     \gdef\kbdexamplefont{\ttsl}\gdef\kbdfont{\tt}%
-  \else\ifx\arg\wordcode
+  \else\ifx\xxxarg\wordcode
     \gdef\kbdexamplefont{\tt}\gdef\kbdfont{\tt}%
   \else
     \errhelp = \EMsimple
-    \errmessage{Unknown @kbdinputstyle option `\arg'}%
+    \errmessage{Unknown @kbdinputstyle option `\xxxarg'}%
   \fi\fi\fi
 }
 \def\worddistinct{distinct}





reply via email to

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