Article View: comp.text.tex
Article #2654Re: SliTeX Label problems
From: Roland Orre
Date: Sat, 22 Aug 1992 23:55
Date: Sat, 22 Aug 1992 23:55
31 lines
2166 bytes
2166 bytes
Sorry, this is the same as my previous post but the from address was garbled
so if you use reply then use this msg instead.
The equation labels does not work with SliTeX. The reason seems to be that
no .aux file is generated. It feels like it is the \label command that does
not work properly. I don't understand enough TeX to be able to rewrite the
label command why I instead tried the following hacks, as I in this case
only needed to be able to reference backwards.
\renewcommand{\label}[1]{
\newlabel{#1}{{\value{equation}}{\thepage}}
}
\renewcommand{\label}[1]{
\newlabel{#1}{{\theequation}{\thepage}}
}
In the first case SliTeX complains about missing number and fails. In the
second case SliTeX swallows it but the only number I get from later \ref
commands is the last value of \theequation. If I do an explicit
\newlabel{eq:name}{{2}{\thepage}} in the equation, then it works.
I understand that it is something really fundamental I don't understand
with TeX, why I am lost. What do I do wrong?
--------------------------------+----------------------+-----------------------
Roland Orre | O---O---O Studies of | orre@nada.kth.se
Dept. of Computing Science | \ /|\ /| Artificial | orre%nada@sekth.bitnet
Royal Institute of Technology | O-O-O-O Neural |
SANS, NADA, KTH | |/ \ /| Systems | Phone: +46 8 790 6900
S-100 44 Stockholm, Sweden | O---O-O | Fax: +46 8 790 0930
--------------------------------+----------------------+-----------------------
Technical Details
Message-ID:
<ORRE.92Aug23005544@thalamus.sans.kth.se>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!kth.se!news.kth.se!orreReferences:
<ORRE.92Aug23003428@cyklop.bion.kth.se>Show Full Headers
Complete Article Headers
Newsgroups: comp.text.tex Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!kth.se!news.kth.se!orre From: orre@thalamus.sans.kth.se (Roland Orre) Subject: Re: SliTeX Label problems In-Reply-To: orre@cyklop.bion.kth.se's message of Sat, 22 Aug 1992 23:34:28 GMT Message-ID: <ORRE.92Aug23005544@thalamus.sans.kth.se> Sender: usenet@kth.se (Usenet) Nntp-Posting-Host: thalamus.sans.kth.se Reply-To: orre@nada.kth.se (Roland Orre) Organization: Royal Institute of Technology, Stockholm, Sweden References: <ORRE.92Aug23003428@cyklop.bion.kth.se> Date: Sat, 22 Aug 1992 23:55:44 GMT Lines: 31