delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/02/11/11:22:03

Date: Fri, 11 Feb 94 16:48:52 +0100
From: softbrek AT POOL DOT Informatik DOT RWTH-Aachen DOT DE
To: ghogenso AT mammoth DOT chem DOT washington DOT edu
Subject: Re: TeXInfo
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu

	> I don't use info, I use emacs's info reader.  But probably it's the
	> same.
	>     You need a file called dir which lives in whatever directory info
	> searches.  This file should look something like the following (the ^_
	> in line 5 should be control-underscore, but I replaced it with text.)
	> 
	He probably has this file -- if he had the same problem I had when I
	installed DJGPP 1.11, all he needs to do is to change 'setdjgpp.bat'
	(or the INFOPATH variable, rather) :
	
	set INFOPATH=%2/docs;%2/docs/djgpp;%2/docs/texinfo
	
	Probably DJ just left the .../docs/texinfo part out by mistake.
	
	Gordon
	
I think you`re wrong here. .../docs/texinfo is *not* needed in INFOPATH.
This is because DJ wrote a central Info-node (.../docs/djgpp/dir), where
all the info-files' names contain paths (i.e. texi.inf is referred to as
texinfo/texi.inf), and these paths are used relative to .../docs, so 
everything should work well. (It does for me, at least :-)

Now, here's my guess: The original poster (still listening?) and everyone
else having problems with info.exe not finding info-files, like texi.inf,
should make sure the followings guidelines are obeyed (%gpp% means the
place where gpp-toplevel-directory, used as argument for setdjgpp.bat,
also see FAQ & Readme's):

1) the environment-variable INFOPATH *must* contain the directories 
   %home_of_djgpp%/docs and %home_of_djgpp%/docs/djgpp (test by saying
   'set' to your command.com and look at shows up)
2) the file %gpp%/docs/djgpp/dir *must* exist. Re-Unzip it from txi210bn.zip
   (or was it in djdoc111.zip ??? I don't remember, sorry) if it isn't 
   there (you can also cd to %gpp%/docs/djgpp and say 'makeinfo dir.txi'
   if you still have the file dir.txi in that directory, and have only
   lost 'dir'.) 
3) Of course, you *must* have %gpp%/bin/info.exe (allowed to be somewhere
   else in your PATH as well) and, to rebuild *.inf`s from *.tex`s, you
   also need %gpp%/bin/makeinfo.exe.
4) If 1) to 3) are present/correctly set, and you still get messages from
   info.exe sounding like `couldn't find node TOP`, then you have probably
   tried to edit %gpp%/docs/djgpp/dir or the info-file you wanted to look
   at with an editor, which has converted it to DOS-text-style (CR/LF as
   line-ending). Info can't use such files. Re-convert them to Unix-style
   using the program dtou.exe found in %gpp%/bin (Just say 
   'dtou {file}', where {file} is %gpp%/docs/djgp/dir or your info-file.)
If all these fail, feel free to mail me or the list. (Don`t forget to 
include the exact problem you`re having: what was the error-message you got,
and when did it appear, what was in the env.-vars GO32, PATH, INFOPATH, ...)

Hope this helps some people.

Hans-Bernhard


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019