bug-texinfo
[Top][All Lists]
Advanced

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

CVS texinfo.tex: @anchor{...-...}


From: Akim Demaille
Subject: CVS texinfo.tex: @anchor{...-...}
Date: Mon, 24 Nov 2003 09:53:01 +0100
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

It appears that most of my problems are probably related to the fact
that `-' seems now invalid in @anchor:

/tmp % eof benoit.texi                                           nostromo Err 1
: -------------------- benoit.texi ----------------------
cat > benoit.texi << \EOF
\input texinfo   @c -*-texinfo-*-
@setfilename benoit
@settitle benoit

@ifnottex
@node Top
@top TITLE
@end ifnottex

@anchor{1test-01.tig}

@bye
EOF
: ------------------------------------------------------------
/tmp % texi2dvi -b -c --pdf benoit.texi                           nostromo 9:52
This is pdfTeXk, Version 3.14159-1.10b (Web2C 7.4.5)
 file:line:error style messages enabled.
{/usr/share/texmf/pdftex/config/pdftex.cfg}
(/tmp/benoit.texi (/usr/local/share/texmf/tex/texinfo.tex
Loading texinfo [version 2003-11-23.13]: Basics, pdf,
(/usr/share/texmf/pdftex/plain/misc/pdfcolor.tex) fonts, page headings,
tables, conditionals, indexing, sectioning, toc, environments, defuns, macros,
cross references, footnotes, figures,
(/usr/share/texmf/tex/generic/dvips/epsf.tex) localization,
and turning on texinfo input format.) (/tmp/benoit.aux
/tmp/benoit.aux:1: Missing @endcsname inserted
/tmp/benoit.aux:2: Missing @endcsname inserted
/tmp/benoit.aux:3: Undefined control sequence
) [1] )
(see the transcript file for additional information)
Output written on benoit.pdf (1 page, 1081 bytes).
Transcript written on benoit.log.
/home/akim/bin/texi2dvi: pdftex exited with bad status, quitting.
/home/akim/bin/texi2dvi: see benoit.log for errors.


The very documentation of @anchor starts with a dash as a sample!

| address@hidden': Defining Arbitrary Cross-reference Targets
| =====================================================
| 
| An "anchor" is a position in your document, labeled so that
| cross-references can refer to it, just as they can to nodes.  You create
| an anchor with the address@hidden' command, and give the label as a normal
| brace-delimited argument.  For example:
| 
|      This marks the @anchor{x-spot}spot.
|      ...
|      @xref{x-spot,,the spot}.
| 
| produces:
| 
|      This marks the spot.
|      ...
|      See [the spot], page 1.

Thanks!




reply via email to

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