Yes, it is a non-standard class, I know. Unforunately, I have to use this class.
I tidied up the class-file a little bit (e. g. including the hyperref-package after all the other packages) and now, the references seem to work.
Your example doesn't work for me, there is no link when referencing the label. Attached is the log-file. Strange ... In my document, there are links, but all leading to the beginning of the document.
That did it! I reinstalled the caption-package and now it works like a charm.
By the way, is there any special thing i need to pay attention when using labels in self-defined floating objects? Because these labels are the only ones left causing undefined references.
I figured out, that it has something to do with the caption-package. Using the caption2-package solves the problem of having undefined references, but there is no way to format the captions of my freshly generated floating objects. Thus, the captions of the standard floats figure/table have another ...
Another drawback: the \label{} command doesn't seem to work in self-defined floats. There will be undefined references when referencing a label of such a float. Any idea how to fix this?
Ok, combining the caption and float packages works well. There is only one little thing left, I don't get managed:
When i define my own floating object using the floatstyle "boxed", this boxed object always spans the whole site width. But i want it to dynamically adjust to its content, so that i ...
But: Is there a way to omit the automatically generated prefix of the caption (e. g. "figure 1.3: text ...")? And can i define a own tag that will be used when referencing that figure?