From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [RFC] [PATCH] ox-latex: support :float no with caption for minted listings Date: Thu, 28 Aug 2014 11:19:25 +0200 Message-ID: <87oav5eztu.fsf@nicolasgoaziou.fr> References: <1408779394-11436-1-git-send-email-aaronecay@gmail.com> <87ha13dm3v.fsf@nicolasgoaziou.fr> <87oavbostg.fsf@gmail.com> <87a96uep52.fsf@nicolasgoaziou.fr> <87d2bqpvgr.fsf@gmail.com> <87tx514qaa.fsf@nicolasgoaziou.fr> <87r401tdc7.fsf@gmail.com> 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]:33899) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMvr0-0001nN-QL for emacs-orgmode@gnu.org; Thu, 28 Aug 2014 05:19:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XMvqq-0007jE-A5 for emacs-orgmode@gnu.org; Thu, 28 Aug 2014 05:18:50 -0400 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:47301) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMvqq-0007j9-4T for emacs-orgmode@gnu.org; Thu, 28 Aug 2014 05:18:40 -0400 Received: from mfilter16-d.gandi.net (mfilter16-d.gandi.net [217.70.178.144]) by relay3-d.mail.gandi.net (Postfix) with ESMTP id B78BEA8138 for ; Thu, 28 Aug 2014 11:18:39 +0200 (CEST) Received: from relay3-d.mail.gandi.net ([217.70.183.195]) by mfilter16-d.gandi.net (mfilter16-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id m+3MIZlBjvxz for ; Thu, 28 Aug 2014 11:18:38 +0200 (CEST) Received: from selenimh (unknown [91.224.148.150]) (Authenticated sender: mail@nicolasgoaziou.fr) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 5790DA80F1 for ; Thu, 28 Aug 2014 11:18:38 +0200 (CEST) In-Reply-To: <87r401tdc7.fsf@gmail.com> (Aaron Ecay's message of "Thu, 28 Aug 2014 01:03:52 -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: emacs-orgmode@gnu.org Hello, Aaron Ecay writes: > The other application I can think of is to allow captioned images and > tables not to float. The LaTeX world is full of tutorials on how to > un-float floating images and tables, but IME the org community doesn=E2= =80=99t > ask for this. (perhaps they implement their own solutions in latex.) > > Given that the capt-of package is just two lines of code, defines just > one new command, and doesn=E2=80=99t modify any existing code, I=E2=80=99= m inclined to > the belief that adding it to the default packages list is tolerable. > If capt-of is added to the default packages, then org-latex-listing =3D nil> source blocks can also be handled.=20=20 I agree. Do you want to take care of this? This requires an entry in ORG-NEWS and some documentation changes too. >> Note there is also :caption attribute which is used in tables and >> special blocks, but not in source blocks, which may come handy >> here. > > I can=E2=80=99t tell what this is for. It looks like merely a backend-sp= ecific > alternative to specifying the caption using org syntax (#+caption:). Am > I missing something? It permits to use a different caption command (e.g., \bicaption{}{}). It is similar to using \captionof instead of \caption. But I think adding "capt-of" to default packages list is better. Regards, --=20 Nicolas Goaziou