bug-texinfo
[Top][All Lists]
Advanced

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

4.5: locations of errors in footnote


From: Akim Demaille
Subject: 4.5: locations of errors in footnote
Date: Tue, 22 Apr 2003 16:05:18 +0200
User-agent: Gnus/5.090017 (Oort Gnus v0.17) Emacs/21.2 (gnu/linux)

Hi!

The errors in footnotes are localized in the next sectioning command.
For instance, in the sample below

: ---------- foo.texi ------------
cat > foo.texi << \EOF
\input texinfo   @c -*-texinfo-*-
@c %**start of header
@setfilename sample.info
@settitle Sample Manual 1.0
@c %**end of header

@copying
This is a short example of a complete Texinfo file.

Copyright (C) 2003 Free Software Foundation, Inc.
@end copying

@titlepage
@title Sample Title
@page
@vskip 0pt plus 1filll
@insertcopying
@end titlepage

@c Output the table of the contents at the beginning.
@contents

@ifnottex
@node Top
@top GNU Sample

@insertcopying
@end ifnottex

@menu
* First Chapter::    The first chapter is the
  only chapter in this sample.
* Index::  Complete index.
@end menu


@node First Chapter
@chapter First Chapter

@cindex chapter, first

@footnote{FIXME: This is an @incorrect footnote}.

This is the first chapter.
@cindex index entry, another

Here is a numbered list.

@enumerate
@item
This is the first item.

@item
This is the second item.
@end enumerate

@node Index
@unnumbered Index

@printindex cp

@bye
EOF


/tmp % LC_ALL=C makeinfo foo.texi                                nostromo 16:03
foo.texi:58: Unknown command `incorrect'.
makeinfo: Removing output file `/tmp/sample.info' due to errors; use --force to 
preserve.


The complaint is on:

/tmp % sed -n '58p' foo.texi                                     nostromo 16:04
@unnumbered Index


Thanks!




reply via email to

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