mrpiggi / svg

Handling SVG pictures in LaTeX documents using Inkscape, ImageMagick and/or Ghostscript
Other
65 stars 12 forks source link

Text Reference Displays Section Number Instead of Figure Number with \ref #58

Closed vyctor922 closed 7 months ago

vyctor922 commented 7 months ago

I'm currently using Overleaf to edit LaTeX documents and incorporating vector images into the document using the SVG package.

While attempting to reference an image in the text using \ref, I noticed that the link is functional. However, the text displayed in the reference is the section number, not the figure number.

It's likely a straightforward issue, but I'm just an amateur when it comes to LaTeX packages.

Thank you for your attention.

~Below are images of the attempt

image

mrpiggi commented 7 months ago

This has nothing to do with this package but with references in general.

Just for the record, the number you are mentioning is in the picture itself and therefor can not be referenced dynamically at all.