This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Can't "make dvi"; remove kludge at top of bfd.texinfo


When trying "make dvi" for binutils, I get this error
(cutnpasted) with "texi2dvi (GNU Texinfo 4.2) 0.51"
tetex-1.0.6-11 and similar with "texi2dvi (GNU Texinfo 4.7) 1.3"
tetex-2.0.2-13 (the latter is what's in FC2).

-----------------------
! This command can appear only in environment @example, not in
environment @lis
p.
@badenverr ...temp , not @inenvironment @thisenv }

@checkenv ...@ifx @thisenv @temp @else @badenverr
                                                  @fi
@\end ...pandafter @checkenv @csname #1@endcsname
                                                  @csname
E#1@endcsname @end...
l.183 @end example

?
! Emergency stop.
-----------------------

Has anone successfully "make dvi":d lately?

The breakage is apparently due to the kludge seen in the
following patch.  I confess ignorance; if the kludge is correct
(then it shouldn't call itself a kludge) except for leaving the
environment in "lisp" mode(?) where it should have been example
mode(?), please enlighten me.  I agree empty lines in @example
cause a little too much vertical space in the output, but it's
better than nothing.

Ok to commit?

bfd/doc:

	* bfd.texinfo: Remove local breaking kludge for removing
	whitespace.

Index: bfd.texinfo
===================================================================
RCS file: /cvs/src/src/bfd/doc/bfd.texinfo,v
retrieving revision 1.8
diff -u -p -r1.8 bfd.texinfo
--- bfd.texinfo	11 Oct 2003 13:10:24 -0000	1.8
+++ bfd.texinfo	24 Oct 2004 13:24:42 -0000
@@ -3,20 +3,6 @@
 @c Copyright 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1997, 2000, 2003
 @c Free Software Foundation, Inc.
 @c
-@tex
-% NOTE LOCAL KLUGE TO AVOID TOO MUCH WHITESPACE
-\global\long\def\example{%
-\begingroup
-\let\aboveenvbreak=\par
-\let\afterenvbreak=\par
-\parskip=0pt
-\lisp}
-\global\long\def\Eexample{%
-\Elisp
-\endgroup
-\vskip -\parskip% to cancel out effect of following \par
-}
-@end tex
 @synindex fn cp

 @ifinfo

brgds, H-P


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]