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