From: Debabrata Midya <Debabrata.M<idya@co...>  20090121 04:13:11

Dear miktex users, Thanks in advance. I need your assistance to solve this problem. I am new to miktex and I have basicmiktex2.7.3248 on Windows XP. I have received this example from the web site. exlabel.tex: \documentclass[final,letterpaper,twoside,12pt]{article} %\input latex_mac.tex \begin{document} This is a \emph{very} simple document. This is something written in $math \ mode$. It's used for inline equations such as $E = m c^2$. The displayed formula mode is for things like \[ I = I_0 e^{\frac{e V} {k T}} \] and so on. If we want numbers for our equations, we can use \begin{equation} F = m a \label{eq:eg3a1} \end{equation} and then use the number, such as Equation{~\ref{eq:eg3a1}} in the text. \end{document} If I run pdflatex exlabel.tex for the first time, it creates *.aux, *.log and *.pdf file. I have seen in *.pdf file, Equation ?? appears. In one of the lines in the *.log file, LaTeX Warning: Reference `eq:eg3a1' on page 1 undefined on input line 17. Then I run once again, pdflatex exlabel.tex without deleting *.aux, *.log and *.pdf file. I have seen in *.pdf file, Equation 1 appears. How can I solve this in the first run? Once again, thank you very much for the time you have given. Regards, Deb ****************************************************************************** This email message, including any attached files, is confidential and intended solely for the use of the individual or entity to whom it is addressed. The NSW Department of Commerce prohibits the right to publish, copy, distribute or disclose any information contained in this email, or its attachments, by any party other than the intended recipient. If you have received this email in error please notify the sender and delete it from your system. No employee or agent is authorised to conclude any binding agreement on behalf of the NSW Department of Commerce by email. The views or opinions presented in this email are solely those of the author and do not necessarily represent those of the Department, except where the sender expressly, and with authority, states them to be the views of NSW Department of Commerce. The NSW Department of Commerce accepts no liability for any loss or damage arising from the use of this email and recommends that the recipient check this email and any attached files for the presence of viruses. ****************************************************************************** 