From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: [ox-latex, bug?] :caption forces environment Date: Tue, 24 Feb 2015 23:49:33 +0100 Message-ID: <87y4nnq60y.fsf@gmx.us> References: <87sie23qe7.fsf@gmx.us> <87h9uindd5.fsf@nicolasgoaziou.fr> <87lhju3p56.fsf@gmx.us> <87d255or85.fsf@nicolasgoaziou.fr> <87d255529o.fsf@gmx.us> <8738616fsk.fsf@nicolasgoaziou.fr> <87zj893kym.fsf@gmx.us> <87sidv2hwk.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]:32790) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQOIU-0006Ea-V4 for emacs-orgmode@gnu.org; Tue, 24 Feb 2015 17:49:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YQOIN-0001Nv-0Y for emacs-orgmode@gnu.org; Tue, 24 Feb 2015 17:49:46 -0500 Received: from mout.gmx.net ([212.227.17.22]:64123) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQOIM-0001NP-N6 for emacs-orgmode@gnu.org; Tue, 24 Feb 2015 17:49:38 -0500 Received: from W530 ([109.201.152.9]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0Li0dC-1Xn9Rs3rve-00n6fJ for ; Tue, 24 Feb 2015 23:49:35 +0100 In-Reply-To: <87sidv2hwk.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Tue, 24 Feb 2015 21:06:51 +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: > Rasmus writes: > >> AFAIK, we use float actively at one place, namely ";; Case 1. No source >> fontification". Of org-latex-src-block. In that particular case I guess >> we could also use capt-of, actually. > > It's worth trying. Do you want to provide a patch? Yeah, I started already, but so far only tables works, but I'm really busy ATM with funding applications. [BTW: For one I need to send a .doc. I'm getting random crashes with ox-odt as well (as Eric), but I haven't been able to track it down...] >> At some point I wanted to get rid of float, until I became aware that >> capt-of doesn't ensure that floats/non-floats appear in the right >> order. > > Since we wouldn't use floats anymore, this isn't a problem, is it? Well the problem is that you can get unorder. E.g. the following where I don't know if the syntax is valid. Table 1 can be printed midway on the page, and table 2 can be printed on top of the page, but table 2 would actually be called "Table 2". I haven't tested this thoroughly though. Text=20 #+Attr_latex: :float nil | 1 |=20 Text #+Attr_latex: :float t :options [t] | 2 |=20 =E2=80=94Rasmus --=20 El Rey ha muerto. =C2=A1Larga vida al Rey!