Mail Archives: djgpp-workers/2001/11/18/09:10:44
Hello.
Andrew Cottrell wrote:
[snip]
> To produce the HTML docs, type "makeinfo --html -o which.html
> which.texinfo". The output from this was the same for both Win 98 and
> Win XP:-
> DJGPP_204 D:\dj204\gnu\which-2.11\which211>makeinfo --html -o which.html
> which.texinfo
> which.texinfo:78: warning: @menu seen before first @node, creating `Top'
> node.
> which.texinfo:78: warning: perhaps your @top node should be wrapped in
> @ifnottex
> rather than @ifinfo?.
> ./which.texinfo:78: Next field of node `Top' not pointed to.
> ./which.texinfo:120: This node (Option Summary) has the bad Prev.
> makeinfo: Removing output file `which.html' due to errors; use --force
> to preserve.
Ah, that old chesnut. Please find a diff below that fixes this. makeinfo's
suggested fix is correct. I had to do a similar thing for the port of
Fileutils 4.0.
> To produce the DVI file, type "make which.dvi". The output from Win 98 is:
> DJGPP_204 C:\dj204\gnu\which211>make which.dvi
> TEXINPUTS=.:$TEXINPUTS \
> MAKEINFO='makeinfo -I .' texi2dvi which.texinfo
> c:/dj204/bin/texi2dvi: Could not read $Revision:.
> c:/dj204/bin/texi2dvi: Could not read 1.10.
> c:/dj204/bin/texi2dvi: Could not read $.
[snip]
I did not get this error when I invoked texi2dvi manually, e.g. like:
texi2dvi -c which.texinfo
('-c' for clean up auxillary files.) I didn't try running the Makefile by
hand, but it does support what Eli said about setting SHELL in the
Makefile.
Bye, Rich =]
--
Richard Dawe
http://www.phekda.freeserve.co.uk/richdawe/
--- which.texinfo.orig Sun Nov 18 13:55:37 2001
+++ which.texinfo Sun Nov 18 13:56:30 2001
@@ -7,7 +7,7 @@
@setchapternewpage odd
-@ifinfo
+@ifnottex
@format
@c !BEGIN INTRO
@@ -41,7 +41,7 @@
original English.
@end ignore
@c !END COPYING
-@end ifinfo
+@end ifnottex
@titlepage
@title Which
@@ -62,7 +62,7 @@
@end titlepage
-@ifinfo
+@ifnottex
@node Top, Which Program, (dir), (dir)
@top @command{which}: Show the full path of commands
@@ -73,7 +73,7 @@
@noindent
This file documents @command{which} version @value{VERSION}, updated
@value{UPDATED}.
-@end ifinfo
+@end ifnottex
@menu
* Which Program:: The @command{which} Program
- Raw text -