From: Eric S Fraga <esflists@gmail.com>
To: "Simon Braß" <brass@physik.uni-siegen.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: 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 10:05:10 +0200 [thread overview]
Message-ID: <87va79stzd.fsf@delle7240.chemeng.ucl.ac.uk> (raw)
In-Reply-To: <CA+atfxQqBDYR4SugQwL8evkH1_0X21sTRFwrMWAJCOOJy5Ah5w@mail.gmail.com> ("Simon \=\?utf-8\?Q\?Bra\=C3\=9F\=22's\?\= message of "Tue, 11 Sep 2018 09:31:26 +0200")
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?
--
Eric S Fraga via Emacs 27.0.50, Org release_9.1.13-753-g2ec5d3
next prev parent reply other threads:[~2018-09-13 8:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-11 7:31 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/)] Simon Braß
2018-09-13 8:05 ` Eric S Fraga [this message]
2018-09-13 9:26 ` Simon Braß
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87va79stzd.fsf@delle7240.chemeng.ucl.ac.uk \
--to=esflists@gmail.com \
--cc=brass@physik.uni-siegen.de \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).