From: Jacob Gerlach <jacobgerlach@gmail.com>
To: Org-mode <emacs-orgmode@gnu.org>
Subject: [BUG?] Blank line required between text and short caption
Date: Mon, 27 Apr 2015 14:29:18 -0400 [thread overview]
Message-ID: <CAA6UvuEWayueJ=WczXm=uW7cWkqC2zUx9cpMHtNg7sx2XqYpYg@mail.gmail.com> (raw)
Hello,
Is it required by org syntax to separate short captions from body text?
In the following example:
------------------------------------
* ECM
Some text that introduces this table.
#+CAPTION[Short caption]:
#+CAPTION: Longer caption
| Foo |
------------------------------------
Latex export gives:
------------------------------------
...
Some text that introduces this table.
\#+CAPTION[Short caption]:
\begin{table}[htb]
\caption{Longer caption}
...
------------------------------------
Adding an empty line between the text and short caption produces the
expected results:
------------------------------------
* ECM
Some text that introduces this table.
#+CAPTION[Short caption]:
#+CAPTION: Longer caption
| Foo |
------------------------------------
...
Some text that introduces this table.
\begin{table}[htb]
\caption[Short caption]{Longer caption}
...
------------------------------------
A regular (i.e. non-short) caption works regardless of the empty line:
------------------------------------
* ECM
Some text that introduces this table.
#+CAPTION: A caption
| Foo |
------------------------------------
Some text that introduces this table.
\begin{table}[htb]
\caption{A caption}
------------------------------------
Regards,
Jake
next reply other threads:[~2015-04-27 18:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-27 18:29 Jacob Gerlach [this message]
2015-04-27 20:29 ` [BUG?] Blank line required between text and short caption Nicolas Goaziou
2015-04-28 0:43 ` Jacob Gerlach
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAA6UvuEWayueJ=WczXm=uW7cWkqC2zUx9cpMHtNg7sx2XqYpYg@mail.gmail.com' \
--to=jacobgerlach@gmail.com \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.