[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
makeinfo infers wrong Prev/Next fields
From: |
Bruno Haible |
Subject: |
makeinfo infers wrong Prev/Next fields |
Date: |
Tue, 15 Jan 2008 12:30:28 +0100 |
User-agent: |
KMail/1.5.4 |
Hi,
$ makeinfo --version
makeinfo (GNU texinfo) 4.11
...
When I run the attached cln.texi through makeinfo, it works fine.
$ makeinfo cln.texi
But when I shorten the @node lines by applying this patch:
===========================================================================
383c383
< @node Prerequisites, Building the library, Installation, Installation
---
> @node Prerequisites
4088c4088
< @node Index, , Customizing, Top
---
> @node Index
===========================================================================
then makeinfo does not infer the correct structure any more:
$ makeinfo cln.texi
/dev/shm//cln.texi:4088: Next field of node `Index' not pointed to (perhaps
incorrect sectioning?).
/dev/shm//cln.texi:383: This node (Prerequisites) has the bad Prev.
makeinfo: Removing output file `/dev/shm/cln.info' due to errors; use --force
to preserve.
It appears to connect the last chapter of the file with the first section
of the file and gets in trouble while doing this. But there's no reason to
do so: The Prev of the first @section should be the @chapter that contains it,
and the Next of the last @chapter or @unnumbered should be empty without an
error message.
The documentation section "Creating Pointers with `makeinfo'" contains
several restrictions regarding what needs to fulfilled when using short-form
@node lines. I believe the attached file fulfills them all.
Bruno
cln.texi.gz
Description: GNU Zip compressed data
- makeinfo infers wrong Prev/Next fields,
Bruno Haible <=