# [texhax] Latex question

Mel Janowitz melj at dimax.rutgers.edu
Wed Apr 28 18:37:30 CEST 2004

Dear William:

Coffee did not help me any. Thanks for the explanation. What was
bugging me was that the aux file kept telling me the labels were created,
but I did not seem to be able to correctly access them. I am guessing the
same issues apply to Tables. I am in the process of writing a book, and I
really needed to figure out the label issue.

Mel J

*********************************************************
Melvin F Janowitz
428 CoRE Building     Phone: 732-445-0074
DIMACS                email: melj at dimax.rutgers.edu
Rutgers, The State University
Piscataway, NJ 08854

President-elect Classification Society of North America
*********************************************************

On Wed, 28 Apr 2004, William F. Adams wrote:

> On Wednesday, April 28, 2004, at 11:48  AM, Mel Janowitz wrote:
>
> > Thank you very much. I am a little surprised that it worked OK for you.
> > Someone else suggested that I put the labels inside the captions, and
> > that
> > solved my problem -- leaving me feeling a little dumb of course for not
> > having thought of that myself.
>
> Actually, I feel even dumber.
>
> It wasn't working for me --- I thought your problem was you weren't
> getting references, but the problem was the two different references
> came out as Figure 1.
>
> It also works if you move the \label commands to _after_ the captions
> --- the reason this is necessary is the figure number isn't updated /
> generated until the call to \caption AFAICT, so as to allow for
> un-numbered figures I'd guess.
>
> Hope this makes up for my previous waste of bandwidth.
>
> William
> (who should always wait until finishing his first pot of coffee before
> doing anything in public)
>
> --