From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: [ox-latex, bug?] :caption forces environment Date: Thu, 19 Feb 2015 15:52:16 +0100 Message-ID: <87sie23qe7.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37131) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOSVU-00087D-6o for emacs-orgmode@gnu.org; Thu, 19 Feb 2015 09:55:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YOSVO-0003Yt-CL for emacs-orgmode@gnu.org; Thu, 19 Feb 2015 09:55:12 -0500 Received: from plane.gmane.org ([80.91.229.3]:37597) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOSVO-0003Xm-5l for emacs-orgmode@gnu.org; Thu, 19 Feb 2015 09:55:06 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YOSVM-0003u7-VS for emacs-orgmode@gnu.org; Thu, 19 Feb 2015 15:55:05 +0100 Received: from 146.185.28.236 ([146.185.28.236]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 19 Feb 2015 15:55:04 +0100 Received: from rasmus by 146.185.28.236 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 19 Feb 2015 15:55:04 +0100 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: emacs-orgmode@gnu.org Hi, Consider this example: #+ATTR_LATEX: :environment nil :center nil :caption cap | t | Exporting to latex, it produces: \begin{table}[htb] cap \begin{tabular}{l} \toprule t\\ \bottomrule \end{tabular} \end{table} I'd expect: cap \begin{tabular}{l} \toprule t\\ \bottomrule \end{tabular} The real usecase is that I want to use \captionof{table}{my caption}. I can try to fix it myself later if that's better. —Rasmus -- . . . The proofs are technical in nature and provides no real understanding