From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: [RFC] [PATCH] ox-latex: support :float no with caption for minted listings Date: Sun, 28 Sep 2014 14:00:54 +0200 Message-ID: <87bnq0t0nd.fsf@gmx.us> 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> <87oav5eztu.fsf@nicolasgoaziou.fr> <87mw9vqvo1.fsf@gmail.com> <877g0zv060.fsf_-_@nicolasgoaziou.fr> <87iokfoww4.fsf@gmail.com> <87ppemf78n.fsf@nicolasgoaziou.fr> <87wq8ol76d.fsf@gmail.com> 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]:57502) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYDAB-0005RW-6Y for emacs-orgmode@gnu.org; Sun, 28 Sep 2014 08:01:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XYDA3-00036M-ID for emacs-orgmode@gnu.org; Sun, 28 Sep 2014 08:01:15 -0400 Received: from plane.gmane.org ([80.91.229.3]:48456) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYDA3-00035p-Bl for emacs-orgmode@gnu.org; Sun, 28 Sep 2014 08:01:07 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XYD9w-00068B-Ph for emacs-orgmode@gnu.org; Sun, 28 Sep 2014 14:01:00 +0200 Received: from 109.201.154.153 ([109.201.154.153]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 28 Sep 2014 14:01:00 +0200 Received: from rasmus by 109.201.154.153 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 28 Sep 2014 14:01:00 +0200 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 Aaron Ecay writes: >>> Merging the functions might only be worth doing if there were any more >>> places where \captionof needed to be used. >> >> That's the intent, yes. It would be a waste not to use a package now >> residing in the default list. Among the transcoders where >> `org-latex--wrap-label' is used, some could probably benefit from >> a non-float caption, if requested by the user. > > OK. I’ll think about this. One question is what type of caption this > should be. (i.e. \captionof{what?}{the caption}). Using the catch-all > figure caption type seems most sensible to me, but feedback from other > latex users is welcome. One goal that should be archivable is to get rid of the (horrible) float package in org-latex-default-packages-alist¹ . In other words (I'm guessing here), reinterpret [H] placement instructions and do it the "capt-of" way. —Rasmus Footnotes: ¹ float rewrites the float mechanism which can cause trouble. I personally never use it. -- Enough with the bla bla!