<div dir="ltr">I tried to change the position of label as you instructed. The result was ?? instead of an equation reference.<div style>Then I tried to produce a minimum working example on a separate file, but there it worked just fine. I try to reproduce the problem tomorrow, and if I can, I post a complete example.</div>
<div style><br></div><div style>Thank you for your help.</div><div style><br></div><div style>Best regards,</div><div style>  Kari </div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/4/18 Herbert Voss <span dir="ltr"><<a href="mailto:Herbert.Voss@fu-berlin.de" target="_blank">Herbert.Voss@fu-berlin.de</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 18.04.2013 17:45, Kari Eloranta wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
\info{{\blue Resistance}\\%<br>
The resistance of an electrical component is<br>
\begin{equation}<br>
R=\frac{V}{I}<br>
\end{equation}\label{eq:res}<br>
where $V$ is the potential difference across the component, and $I$ the electric current flowing through it.}<br>
<br>
the equation number (label) becomes 1.20 in the output pdf. However, when I try use \ref{eq:res} to reference the equation, the reference tag is 1.10 instead of 1.20. Recompiling does not help. Is there a solution to this problem?<br>

</blockquote>
<br></div>
try<br>
<br>
\begin{equation}\label{eq:res}<div class="im"><br>
R=\frac{V}{I}<br>
\end{equation}<br>
<br></div>
the label should be inside the environment.<br>
if it doesn't help then provide a _complete_ example<span class="HOEnZb"><font color="#888888"><br>
<br>
Herbert</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<br>
______________________________<u></u>_________________<br>
PSTricks mailing list<br>
<a href="mailto:PSTricks@tug.org" target="_blank">PSTricks@tug.org</a><br>
<a href="http://tug.org/mailman/listinfo/pstricks" target="_blank">http://tug.org/mailman/<u></u>listinfo/pstricks</a><br>
archive: <a href="http://www.tug.org/pipermail/pstricks/" target="_blank">http://www.tug.org/pipermail/<u></u>pstricks/</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>**************************************************************<br>Kari Eloranta<br>Ketunpolku 1<br>40400 JYVÄSKYLÄ FINLAND<br>Tel: +358 40 586 7654
</div>