What Christian wants (I believe) is for Equations to be labeled as (1), (2), ..., and within the same section in which they are first displayed, they would be referred to as Equation (1), etc. When referring to Equations in a different section, but in the same chapter, it would display Equation (1.2) for the second equation in the first section. When referring to equations in a different chapter, it would display Equation (1.2.3) for the third equation in the second section of the first chapter.<br>
<br>Although I&#39;m out of my league here, I envision a solution wherein you redefine the \theequation command, and use the ifthen package to exame the \section and \chapter of the current location, compare with the location of the equation, and display different results accordingly. Something like:<br>
<br>\def\theequation {%<br>\ifthenelse{ \equal{\chapter}{\Eq_chapter} }% If same chapter<br>   {\ifthenelse{ \equal{\section}{\Eq_section} }% and same section<br>      {\equation}% print just the number.<br>      {\Eq_section.\equation}% If different section, print section number as well<br>
   }% If different chapter, print the chapter and section numbers<br>   {\Eq_chapter.\Eq_section.\equation} }<br><br>Hopefully I closed all my brackets. The only thing that you&#39;re missing now is how to figure out in what chapter/section an equation begins (I made up the commands \Eq_chapter and \Eq_section). Hopefully someone else can post that information.<br>
<br>Cheers,<br>Bob Wilson<br><br><div class="gmail_quote">On Fri, Mar 13, 2009 at 1:10 PM, Tom Schneider <span dir="ltr">&lt;<a href="mailto:toms@ncifcrf.gov">toms@ncifcrf.gov</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Christian:<br>
<div class="im"><br>
&gt; Chapter 1<br>
&gt;<br>
&gt; text text text text<br>
&gt; text text text text<br>
&gt;<br>
&gt; Section 1<br>
&gt;<br>
&gt; An equation<br>
&gt;<br>
&gt; 2+2 &lt; 5                (1)<br>
&gt;<br>
&gt; A reference to the equation<br>
&gt; now looks like: (1)<br>
&gt;<br>
&gt; Section 2<br>
&gt;<br>
&gt; text text text text<br>
&gt; text text text text<br>
&gt;<br>
&gt; A ref to the equation<br>
&gt; is now (1.1)<br>
<br>
</div>This probably would give some readers a bit of confusion since the<br>
notation has changed.  I would design it to have the first reference<br>
be (1.1) [section.equation] in all cases.<br>
<div class="im"><br>
&gt; Chapter 2<br>
&gt;<br>
&gt; text text text text<br>
&gt; text text text text<br>
&gt;<br>
&gt; A ref to the equation<br>
&gt; is now (1.1.1)<br>
<br>
</div>At this point I&#39;m completely confused.  The third time one<br>
would cite it as (1.1.1.1) and the fourth time (1.1.1.1.1)?<br>
<br>
(I&#39;ll let others say how to do these things technically.)<br>
<br>
Tom<br>
<br>
  Dr. Thomas D. Schneider<br>
  National Institutes of Health<br>
  National Cancer Institute<br>
  Center for Cancer Research Nanobiology Program<br>
  Molecular Information Theory Group<br>
  Frederick, Maryland  21702-1201<br>
  <a href="mailto:toms@ncifcrf.gov">toms@ncifcrf.gov</a><br>
  permanent email: <a href="mailto:toms@alum.mit.edu">toms@alum.mit.edu</a><br>
  <a href="http://www.ccrnp.ncifcrf.gov/%7Etoms/" target="_blank">http://www.ccrnp.ncifcrf.gov/~toms/</a><br>
_______________________________________________<br>
TeX FAQ: <a href="http://www.tex.ac.uk/faq" target="_blank">http://www.tex.ac.uk/faq</a><br>
Mailing list archives: <a href="http://tug.org/pipermail/texhax/" target="_blank">http://tug.org/pipermail/texhax/</a><br>
More links: <a href="http://tug.org/begin.html" target="_blank">http://tug.org/begin.html</a><br>
<br>
Automated subscription management: <a href="http://tug.org/mailman/listinfo/texhax" target="_blank">http://tug.org/mailman/listinfo/texhax</a><br>
Human mailing list managers: <a href="mailto:postmaster@tug.org">postmaster@tug.org</a><br>
</blockquote></div><br>