Subject: bug#7996: bzr trunk compile error due to calc.texi

From: [email-masked]
Date: Sun, 06 Feb 2011 18:08:42 -0800

Latest bzr trunk code (revision 103161) fails to compile on a redhat 4
system due to this error when I do "make bootstrap":

    cd .../kimr/src/emacs-bzr/trunk/doc/misc; /usr/bin/makeinfo --force -I.../kimr/src/emacs-bzr/trunk/doc/misc/../emacs calc.texi
    calc.texi:28144: Misplaced {.
    calc.texi:28144: Misplaced }.
    calc.texi:28144: Misplaced {.
    calc.texi:28144: Misplaced }.
    calc.texi:28144: Unmatched }.

Here is my makeinfo version:

  sh-3.00$ /usr/bin/makeinfo --version
  makeinfo (GNU texinfo) 4.7

Following change fixes the problem for me which merely combines two
lines so that the argument to @math{} is in one line:

=== modified file 'doc/misc/calc.texi'
--- doc/misc/calc.texi	2011-02-07 01:35:09 +0000
+++ doc/misc/calc.texi	2011-02-07 01:45:51 +0000
@@ -28140,8 +28140,7 @@
 @texline @math{20 \mu{\rm Pa}}
 (the threshhold of human hearing) is 
 @infoline @math{20 log10(60 uPa/ 20 uPa) dB = 20 log10(3) dB},
-@texline  @math{20 \log_{10}(60 \mu{\rm Pa}/20 \mu{\rm Pa}) {\rm dB} =
-20 \log_{10}(3) {\rm dB}},
+@texline  @math{20 \log_{10}(60 \mu{\rm Pa}/20 \mu{\rm Pa}) {\rm dB} = 20 \log_{10}(3) {\rm dB}},
 which is about 
 @infoline @math{9.54 dB}.
 @texline @math{9.54 {\rm dB}}.