[gnu.emacs.bug] Bug in "texinfo.tex"

mayer.WBST128@XEROX.COM (06/27/89)

Version: 18.54

File: man/texinfo.tex

Description:

The "@heading". "@subheading", and "@subsubheading" macros are broken.
This prevents texinfo files that contain the following fragment (from
the GNU PUBLIC LICENCE) from being being printed.  One such file is
"bison.texinfo" from the "bison-1.01" release.

-------------------------- START OF FRAGMENT --------------------------
@iftex
@heading NO WARRANTY
@end iftex
@ifinfo
@center NO WARRANTY
@end ifinfo
-------------------------- END OF FRAGMENT --------------------------

Repeat by:

	(1) Install "texinfo.tex" where TeX will find it.
	(2) tex bison.texinfo

Fix (context diff):

---------------------- START OF CONTEXT DIFF -----------------
*** texinfo.tex.dist    Thu Aug 18 17:07:43 1988
--- texinfo.tex Tue Jun 27 09:24:42 1989
***************
*** 4,9 ****
--- 4,12 ----

  %                    NO WARRANTY

+ %   Modified on June 22, 1989 by James L. Mayer (mayer.wbst128@xerox.com)
+ %   of the Xerox Webster Research Center.
+
  %  BECAUSE THIS PROGRAM IS LICENSED FREE OF CHARGE, WE PROVIDE ABSOLUTELY
  %NO WARRANTY, TO THE EXTENT PERMITTED BY APPLICABLE STATE LAW.  EXCEPT
  %WHEN OTHERWISE STATED IN WRITING, FREE SOFTWARE FOUNDATION, INC,
***************
*** 1126,1134 ****
  \outer\def\chapheading #1{\chapbreak %
  {\chapfonts \line{\chaprm #1\hfill}}\bigskip \par\penalty 200}

! \let\heading=\secheadingi
! \let\subheading=\subsecheadingi
! \let\subsubheading=\subsubsecheadingi

  % These macros generate a chapter, section, etc. heading only
  % (including whitespace, linebreaking, etc. around it),
--- 1129,1137 ----
  \outer\def\chapheading #1{\chapbreak %
  {\chapfonts \line{\chaprm #1\hfill}}\bigskip \par\penalty 200}

! \def\heading{\parsearg\secheadingi}
! \def\subheading{\parsearg\subsecheadingi}
! \def\subsubheading{\parsearg\subsubsecheadingi}

  % These macros generate a chapter, section, etc. heading only
  % (including whitespace, linebreaking, etc. around it),
---------------------- END OF CONTEXT DIFF -----------------

-- Jim Mayer

Member Research Staff
Systems Sciences Laboratory

Xerox Webster Research Center
800 Phillips Road, 0128-29E
Webster, New York 14580

Phone: (716) 422-9407
EMail: mayer.wbst128@xerox.com (James L Mayer:wbst128:Xerox)