bug-texinfo
[Top][All Lists]
Advanced

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

\label not recognized / index subentry example


From: Julius C Duque
Subject: \label not recognized / index subentry example
Date: Thu, 17 Jan 2002 19:42:51 +0800

Hello,

I've just upgraded Texinfo on my Linux system to
4.0. I want to use the \label command so that
whenever I use \ref{sec:blah}, the reader would be
taken directly to the document section referenced
by \label{sec:blah}. I tried this:

@tex
\ref{sec:blah}
@end tex

and

@tex
\label{sec:blah}
@end tex

but the latter is not recognized as a TeX command. I
took out my copy of Knuth's The TeXbook and found
out that \label is *not* a TeX command. So perhaps,
this is a LaTeX command then.

Also, I'd like to know how (with an example) to
use subentries in indices. I have already looked
at the texinfo.tex source but I can't make out
any of it.

Here are relevant info:

Texinfo 4.0
Linux 4.2.10
GCC 3.0.1

Thanks,

JCD





From address@hidden Thu Jan 17 06:54:44 2002
Received: from is.elta.co.il ([199.203.121.2])
        by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
        id 16RB7z-0006Ky-00
        for <address@hidden>; Thu, 17 Jan 2002 06:54:44 -0500
Received: from is (is [199.203.121.2])
        by is.elta.co.il (8.9.3/8.8.8) with SMTP id NAA15460;
        Thu, 17 Jan 2002 13:53:59 +0200 (IST)
Date: Thu, 17 Jan 2002 13:53:59 +0200 (IST)
From: Eli Zaretskii <address@hidden>
X-Sender: address@hidden
To: Julius C Duque <address@hidden>
cc: address@hidden
Subject: Re: \label not recognized / index subentry example
In-Reply-To: <address@hidden>
Message-ID: <address@hidden>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: address@hidden
Errors-To: address@hidden
X-BeenThere: address@hidden
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:address@hidden>
List-Post: <mailto:address@hidden>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-texinfo>,
        <mailto:address@hidden>
List-Id: Bug reports for the GNU Texinfo documentation system 
<bug-texinfo.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-texinfo>,
        <mailto:address@hidden>
List-Archive: <http://mail.gnu.org/pipermail/bug-texinfo/>

On Thu, 17 Jan 2002, Julius C Duque wrote:

> I've just upgraded Texinfo on my Linux system to
> 4.0. I want to use the \label command so that
> whenever I use \ref{sec:blah}, the reader would be
> taken directly to the document section referenced
> by \label{sec:blah}. I tried this:
> 
> @tex
> \ref{sec:blah}
> @end tex

This is a Texinfo mailing list, not a TeX mailing list.  So we prefer to 
solve problems the Texinfo way ;-)

The Texinfo way to get what you want is to use the @anchor command to 
label a place, then use the usual @xref/@pxref/@ref commands to refer to 
that anchor as if it were a node.

Does that resolve your problem?

> Also, I'd like to know how (with an example) to
> use subentries in indices.

Sorry, I don't understand the question: what is a subentry in an index?
Could you give an example?

In any case, this mailing list is for reporting bugs, not for requesting 
help in using Texinfo.  For the latter, you might be better off using 
address@hidden


reply via email to

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