Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!ut-emx!ccwf.cc.utexas.edu!seiler From: seiler@ccwf.cc.utexas.edu (Carl Seiler) Newsgroups: comp.text.tex Subject: Help with LaTeX label and ref Keywords: LaTex, TeX, label, ref, equations Message-ID: <41098@ut-emx.uucp> Date: 10 Dec 90 16:17:02 GMT Sender: news@ut-emx.uucp Reply-To: seiler@ccwf.cc.utexas.edu (Carl Seiler) Organization: The University of Texas at Austin Lines: 37 Originator: seiler@daisy.cc.utexas.edu Help, I'm having trouble with \label and \ref commands in LaTeX. In my paper of documentstyle "article", I have several equations that need to be labeled and referenced in the text. Here's part of my *.tex file: The cartel will picks a price schedule which will maximize the sum of its discounted profits over the time period, i.e.: \begin{equation} \max W = \sum_{t=1}^{N} (1/(1+d)^{t}) (P_{t} - m/R_{t} ) D_{t} \label{eq:obj} \end{equation} where $m/R_{t}$ is the average production cost and $d$ is the and later I have... adding a term to the equation ~\ref{eq:obj} so that the $D_{t}(P_{t}-m/R_{t})$ portion becomes $D_{t}(P_{t}-m/R_{t}-b And when I run it through LaTex, I get the message: Reference `eq:obj' on page 8 undefined. What's the problem here? I KNOW I have referenced every single equation, as above, and NONE of them have worked. I had to go back in and manually reference each one, and it worked fine. There's nothing wrong with my label declaration I don't think, because Tex doesn't complain about not knowing what the control sequence is. Please help soon. I'm running out of time. >grin, who isn't< -- ...who will do it manually if he has to. -- __________________________________________________________________________ Carl Seiler, Economics, U.T. Austin | INTERNET: seiler@ccwf.cc.utexas.edu FidoNet: 1:382/27 -- Carl_Seiler@f86.n382.z1.fidonet.org