bug-texinfo
[Top][All Lists]
Advanced

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

Cross references to floats in TeX


From: Aaron S. Hawley
Subject: Cross references to floats in TeX
Date: Wed, 3 Aug 2005 19:46:40 -0400 (EDT)

Captions of floats are able to create cross-references when processed with
`makeinfo', but not with TeX (or `texi2dvi').

Attached is a Texinfo document that makes a simple cross reference (with
the xref command) to "Top" in the caption command of a float command.
Here is the Info output:

Test float captions with @xref commands
***************************************

This is a float.

Figure 1: This is the caption with a reference to *Note Top::.

* Menu:

* Figure 1: This is the caption ...:     Figure 1.


But the following is the resulting errors from running the Texinfo file
through TeX:

$ tex float-caption-xref.texi
This is TeX, Version 3.14159 (Web2C 7.4.5)
(./float-caption-xref.texi (./texinfo.tex
Loading texinfo [version 2005-07-01.11]: Basics, pdf, fonts, page
headings, tables, conditionals, indexing, sectioning, toc, environments,
defuns, macros, cross references, insertions,
(/usr/share/texmf/tex/generic/dvips/epsf.tex)
localization, and turning on texinfo input format.)
(./float-caption-xref.aux)
(Test float captions with @@xref commands) (./float-caption-xref.tmp
l.1: Undefined cross reference `Top-pg'.) (./float-caption-xref.tmp
! Undefined control sequence.
@xrefX ...ngroup @unsepspaces @def @printedmanual
                                                  address@hidden address@hidden
@pr...l.1 ... the caption with a reference to @xref{Top}
                                                  address@hidden
? X
No pages of output.
Transcript written on float-caption-xref.log.
$

Thanks,
/a

Attachment: float-caption-xref.texi
Description: Text document


reply via email to

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