From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [BUG?] Blank line required between text and short caption Date: Mon, 27 Apr 2015 22:29:17 +0200 Message-ID: <87vbghs4bm.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42069) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmpdF-0007v6-3Y for emacs-orgmode@gnu.org; Mon, 27 Apr 2015 16:27:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YmpdE-0000RU-8F for emacs-orgmode@gnu.org; Mon, 27 Apr 2015 16:27:57 -0400 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:56581) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmpdE-0000RI-2k for emacs-orgmode@gnu.org; Mon, 27 Apr 2015 16:27:56 -0400 In-Reply-To: (Jacob Gerlach's message of "Mon, 27 Apr 2015 14:29:18 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Jacob Gerlach Cc: Org-mode Hello, Jacob Gerlach writes: > 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} > ... > ------------------------------------ No, it is a genuine bug from parser. This should be fixed in eb77fed33fa0306ebed2224f7895b688320847b2. Thank you. Regards, -- Nicolas Goaziou