From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: [ox-latex, bug?] :caption forces environment Date: Thu, 19 Feb 2015 16:19:17 +0100 Message-ID: <87lhju3p56.fsf@gmx.us> References: <87sie23qe7.fsf@gmx.us> <87h9uindd5.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42524) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOSsw-0003a6-I6 for emacs-orgmode@gnu.org; Thu, 19 Feb 2015 10:19:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YOSsr-0004Ok-DK for emacs-orgmode@gnu.org; Thu, 19 Feb 2015 10:19:26 -0500 Received: from mout.gmx.net ([212.227.17.22]:51866) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOSsr-0004ON-3t for emacs-orgmode@gnu.org; Thu, 19 Feb 2015 10:19:21 -0500 Received: from x200s ([146.185.28.236]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0MQvDO-1Xzb8D3SCk-00UK7I for ; Thu, 19 Feb 2015 16:19:20 +0100 In-Reply-To: <87h9uindd5.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Thu, 19 Feb 2015 16:13:26 +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 Nicolas Goaziou writes: > This is a feature. A caption implies, at least, a "table" environment. Except when it doesn't=EF=BB=BF=C2=B9 ... And in this case I told Org that= it doesn't by specifying :environment nil. :environment should be stronger than :caption. >> The real usecase is that I want to use \captionof{table}{my caption}. > > This feature existed before support for "captionof". Of course, it is > now possible to make use of this macro and alter `org-latex--org-table' > accordingly. There no explicit interface for \captonof, and reading the manual of capt-of, I don't want to, as the author says care should be taken in documents where floats are also used. =E2=80=94Rasmus Footnotes:=20 =EF=BB=BF=C2=B9 I need to put the table inside an minipage, and they don'= t hold floats. --=20 . . . The proofs are technical in nature and provides no real understanding