# [texhax] Latex question

Wed Apr 28 18:11:12 CEST 2004

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)

--