On Fri, Sep 14, 2007 at 06:53:45PM -0500, Karl Berry wrote:
> 
> So, please go ahead and prepare a patch, whatever you think works best,
> and I'll work on it from there.  Thanks very much.

Here it is. Wording is bad, but everything is there...

--
Pat
? texinfo.txi-math.diff
Index: texinfo.txi
===================================================================
RCS file: /cvsroot/texinfo/texinfo/doc/texinfo.txi,v
retrieving revision 1.204
diff -u -3 -p -r1.204 texinfo.txi
--- texinfo.txi 29 Jul 2007 14:55:43 -0000      1.204
+++ texinfo.txi 16 Sep 2007 10:01:54 -0000
@@ -10954,15 +10954,18 @@ command.  Write the mathematical express
 (a + b)(a + b) = a^2 + 2ab + b^2
 @end example
 
-Thus, the @code{@@math} command has no effect on the Info and HTML
-output; @command{makeinfo} just reproduces the input, it does not try
-to interpret the mathematics in any way.
-
[EMAIL PROTECTED]@@math} implies @code{@@tex}.  This not only makes it possible 
to
-write superscripts and subscripts (as in the above example), but also
-allows you to use any of the plain @TeX{} math control sequences.  It's
-conventional to use @samp{\} instead of @samp{@@} for these commands.
-As in:
+Thus, the @code{@@math} command has no specific effect on the Info and 
+HTML output; @command{makeinfo} expands the @@-commands as usual, but 
+it does not try to interpret the mathematical formatting in any way.
+Lone braces @[EMAIL PROTECTED] and @[EMAIL PROTECTED] do not trigger errors in 
[EMAIL PROTECTED]@@math}.
+
+In @code{@@math}, @TeX{} commands and symbols are also allowed, and when 
+in @TeX{}, have the same meaning that in @TeX{} mathematical environments. 
+This not only makes it possible to write superscripts and subscripts (as 
+in the above example), but also allows you to use any of the plain @TeX{} 
+math control sequences.  It's conventional to use @samp{\} instead of 
[EMAIL PROTECTED]@@} for these commands. As in:
 @example
 @@[EMAIL PROTECTED] 2\pi \equiv \cos [EMAIL PROTECTED]
 @end example

Reply via email to