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:50:27 +0100 Message-ID: <87d255529o.fsf@gmx.us> References: <87sie23qe7.fsf@gmx.us> <87h9uindd5.fsf@nicolasgoaziou.fr> <87lhju3p56.fsf@gmx.us> <87d255or85.fsf@nicolasgoaziou.fr> 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]:47959) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOTNC-0003aE-CM for emacs-orgmode@gnu.org; Thu, 19 Feb 2015 10:50:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YOTN9-0008H7-1p for emacs-orgmode@gnu.org; Thu, 19 Feb 2015 10:50:42 -0500 Received: from plane.gmane.org ([80.91.229.3]:42950) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOTN8-0008Gw-QO for emacs-orgmode@gnu.org; Thu, 19 Feb 2015 10:50:38 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YOTN5-00074X-Jk for emacs-orgmode@gnu.org; Thu, 19 Feb 2015 16:50:35 +0100 Received: from 46.166.186.215 ([46.166.186.215]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 19 Feb 2015 16:50:35 +0100 Received: from rasmus by 46.166.186.215 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 19 Feb 2015 16:50:35 +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: > Again, this is the user's problem. But it could be reasonable to use > "captionof" when no environment is explicitly required. Do you consider it explicit when no environment is specified? I would /only/ use capt-of when :environment is nil. > IOW "ox-latex" could fall-back to caption of when a caption is > specified and there's no environment to hold it. That would be nice, I guess. Then I could also use #+CAPTION which is arguably nicer than #+attr_latex :caption. —Rasmus -- ⠠⠵