# [texhax] Latex examdesign class: bug with \ref'ing a labeled equation

Mauricio Calvao orca at if.ufrj.br
Sat May 1 22:04:23 CEST 2010

Hi there,

I have been using Jason Alexander's examdesign Latex class for quite a
while now; it is excellent and essentially does all I'd like to build
non-trivial exams (multiple choice, true or false questions, and usual,
argumentative ones).

However, I need to refer to a labeled equation: I used

$$F = ma \label{Newton}$$
...
Equation \ref{Newton} is Newton's second law.

When I compile the .tex file (through Kile under Debian Linux lenny), I
get the following error:
Reference 1 at Newton on page 4 undefined on input line 384.

In the class manual, dated 2001/3/26, it is stated that In this
release, the ordinary Latex commands \label and \ref work as expected,
even across different forms of the test (with the questions in a
different order). Math environments using numbered equations should also
work correctly in this version.''  However, that seems not to be the case...

Does anyone have any directions or clue to fix this? Could I be using an
older version of the package? In fact, I am using a modified version
(for the Portuguese language) within the directory of the .tex source
file itself, which, I guess, should be used INSTEAD OF any version in
the system texmf file tree, right? Is this error suggesting that somehow
the character @ is getting mixed up in the class?? How can I find out
who the current maintainer of the package and his/her email is??

Any help is fully appreciated!

PS: please reply to my own email as well, since I do not use to follow
closely the texhax archive

--
#######################################
Prof. Mauricio Ortiz Calvao
Federal University of Rio de Janeiro
Institute of Physics, P O Box 68528
CEP 21941-972 Rio de Janeiro, RJ
Brazil

Email: orca at if.ufrj.br
Phone: (55)(21)25627483
Homepage: http://www.if.ufrj.br/~orca
#######################################