From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [ox-latex, bug?] :caption forces environment Date: Thu, 19 Feb 2015 17:12:59 +0100 Message-ID: <8738616fsk.fsf@nicolasgoaziou.fr> References: <87sie23qe7.fsf@gmx.us> <87h9uindd5.fsf@nicolasgoaziou.fr> <87lhju3p56.fsf@gmx.us> <87d255or85.fsf@nicolasgoaziou.fr> <87d255529o.fsf@gmx.us> 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]:52257) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOThj-0003xu-AN for emacs-orgmode@gnu.org; Thu, 19 Feb 2015 11:11:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YOThf-0007x8-5y for emacs-orgmode@gnu.org; Thu, 19 Feb 2015 11:11:55 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:44529) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOThf-0007wi-0F for emacs-orgmode@gnu.org; Thu, 19 Feb 2015 11:11:51 -0500 In-Reply-To: <87d255529o.fsf@gmx.us> (rasmus@gmx.us's message of "Thu, 19 Feb 2015 16:50:27 +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: Rasmus Cc: emacs-orgmode@gnu.org Rasmus writes: > Do you consider it explicit when no environment is specified? I would > /only/ use capt-of when :environment is nil. I think you are confusing :environment and :float. :environment cannot be nil. =E2=80=98:environment=E2=80=99 Environment used for the table. It can be set to any LaTeX table environment, like =E2=80=98tabularx=E2=80=99(1), =E2=80=98longtable= =E2=80=99, =E2=80=98array=E2=80=99, =E2=80=98tabu=E2=80=99(2), =E2=80=98bmatrix=E2=80=99... It defaults to =E2=80=98org-latex-defa= ult-table-environment=E2=80=99 value. =E2=80=98:placement=E2=80=99 The =E2=80=98:float=E2=80=99 specifies the float environment for the= table. Possible values are =E2=80=98sideways=E2=80=99(3), =E2=80=98multicol= umn=E2=80=99, =E2=80=98t=E2=80=99 and =E2=80=98nil=E2=80=99. When unspecified, a table with a caption will have a =E2=80=98table= =E2=80=99 environment. Moreover, the =E2=80=98:placement=E2=80=99 attribute c= an specify the positioning of the float. Note: =E2=80=98:placement=E2=80=99 is ign= ored for =E2=80=98:float sideways=E2=80=99 tables. We could use captof with a caption and :float nil. > That would be nice, I guess. Then I could also use #+CAPTION which is > arguably nicer than #+attr_latex :caption. Indeed. Regards,