Document ClassesSubfigures Refernecing Problems

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
User avatar
renno
Posts: 54
Joined: Thu Jun 07, 2007 7:16 pm

Subfigures Refernecing Problems

Post by renno »

Hi all,

I am using \autoref of "hyperref" for referencing. I am also using the "subfigure" package. Everything goes fine with \autoref, except when I am referencing a subfigure. In this case, the later figure counter is typed, however, when clicking on it, it points to the correct graphic and the captioning is also correct...

Example: I want to refence "Figure 1(a)", so if I \autoref with the subfigure label, I would get "Figure 2(a)" instead of "Figure 1(a)". When I click on this hyperlink, it points me to "Figure 1(a)." Moreover, I want to reference "Figure 1", there is no problem, and \autoref works just fine...

I would appreciate any help...
If there is no way, we will make one...
Hanibal

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Subfigures Refernecing Problems

Post by localghost »

Maybe a change to the subfig package will do. The subfigure package is considered outdated.
User avatar
renno
Posts: 54
Joined: Thu Jun 07, 2007 7:16 pm

Re: Subfigures Refernecing Problems

Post by renno »

Thank you very much...

Using "subfig" solved the problem and everything is correctly referenced now...

Have a nice day...
If there is no way, we will make one...
Hanibal
Post Reply