bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

texi2dvi doesn't seem to produce correct crossed-references


From: Grzegorz Adam Hankiewicz
Subject: texi2dvi doesn't seem to produce correct crossed-references
Date: Tue, 17 Oct 2000 23:40:31 +0200 (CEST)

Hi.

Here goes the bug report:

   * the version number of Texinfo and the program(s) or manual(s)
     involved.

texi2dvi (GNU Texinfo 4.0) 0.43

   * hardware, operating system, and compiler versions.

i586, 128 RAM, Debian/GNU Linux 2.2.12, gcc version 2.95.2 20000220 (but I
got texi2dvi as a deb potato package, I didn't compile it) 

   * any unusual options you gave to `configure'.

err none. I got the premade binary.

   * the contents of any input files necessary to reproduce the bug.

The file is attached as a single text-stripped-down texi file.

   * a description of the problem ...

The file I am sending (allegro.texi) is a generated output of a custom
documentation format of a programming library. The full document takes
about 40 chapters which take more than 100 pages when converted to dvi
output. The point is, that the cross references don't show properly in the
dvi version, while they all work in the info file.

I can run makeinfo --no-split allegro.texi and get allegro.inf which is a
correct info file with proper cross-references. When I run texi2dvi on the
.texi file, I get loads of errors of undefined cross-references

   * and samples of any erroneous output.

The errors of texi2dvi are attached as a gzipped log (allegro.log).

   * anything else that you think would be helpful.

Ok, so before sending this I tried working around the problem and found
two partial solutions:

1 - I could use xref with three parameters. This outputs ugly info cross
references, (which at least work), and will print more or less correct dvi
references. The problem with them is that they will point to the beginning
of the chapter they point to, while it would be nicer if they pointed
directly to the page where the reference is made. This is because several
documentation chapters span tenths of functions and pages.

2 - I tried using anchor. This worked extremely well with texi2dvi,
printing correct line exact references with single xref commands. However,
with anchors the info file won't be produced, because as stated in the
documentation, you can't have nodes and anchors with the same name
(something which btw texi2dvi ignores...). I tried generating mangled
references, and it works, but _all_ references (both info and dvi
versions) are horrible.

Ok, so there it is. For contact purposes, if the iname domain doesn't seem
to work (usually blacklisted for some strange reason), please send mail to
either address@hidden or address@hidden

In the end, I would like to know why the info version of the sent texi
file works ok, but not the output of texi2dvi. Wasn't texi supposed to
generate correctly both online and printed documentation?

 Grzegorz Adam Hankiewicz   address@hidden - http://gradha.infierno.org
 Other web pages:  http://glub.ehu.es/  -  http://welcome.to/gogosoftware/

Attachment: allegro.log.gz
Description: Binary data

Attachment: allegro.texi.gz
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]