[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Bug: Nested \caption and \label in LaTeX export [9.1.14 (9.1.14-
From: |
Simon Braß |
Subject: |
Re: [O] Bug: Nested \caption and \label in LaTeX export [9.1.14 (9.1.14-1-g4931fc-elpaplus @ /home/simon/.emacs.d/elpa/26.1/develop/org-plus-contrib-20180910/)] |
Date: |
Thu, 13 Sep 2018 09:26:21 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 |
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?
>