Dear Eric, thanks for the fast reply! Indeed, I had a look at the lshort documentation. It actually never states that \label must come after the full \caption{} command - nesting works - good to know. I'm sorry for the inconvenience.
Cheers, Simon On 9/13/18 8:05 AM, Eric S Fraga wrote: > On Tuesday, 11 Sep 2018 at 09:31, Simon Braß wrote: >> Exporting a table (or figure) with a CAPTION and NAME tag leads to >> following result: >> \caption{\label{whatever-tag} I am a caption.} >> Any LaTeX compiler won't understand this line correctly and won't be able >> to reference to the assigned label. > Simon, > > In my experience, LaTeX has no problem with this. I have always (when > writing LaTeX directly) put the label inside the caption as it's the > caption that defines the numbering of the table/figure. Have you > actually tried this? What happens when you do? >