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

Herbert Schulz herbs at wideopenwest.com
Sat May 1 22:40:34 CEST 2010

On May 1, 2010, at 3:04 PM, Mauricio Calvao wrote:

> 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
>

Howdy,

Did you compile the document a second time?

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)