From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [ox-latex] How to force ALL captions below their referents? Date: Sun, 05 Oct 2014 10:37:56 +0200 Message-ID: <87k34esyhn.fsf@nicolasgoaziou.fr> References: <20141002152329.673e445b@hjh-e431> <87ppea76pv.fsf@nicolasgoaziou.fr> <20141004114117.3284b6f1@hjh-e431> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46760) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XahJi-00081D-UA for emacs-orgmode@gnu.org; Sun, 05 Oct 2014 04:37:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XahJY-0000BW-AB for emacs-orgmode@gnu.org; Sun, 05 Oct 2014 04:37:22 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:33899) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XahJY-0000B7-4E for emacs-orgmode@gnu.org; Sun, 05 Oct 2014 04:37:12 -0400 In-Reply-To: <20141004114117.3284b6f1@hjh-e431> (James Harkins's message of "Sat, 4 Oct 2014 11:41:17 +0800") 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: James Harkins Cc: orgmode Hello, James Harkins writes: > Something like that would do it, I think. I hesitate about breaking > backward compatibility, but at the same time, I'm hard-pressed to > imagine why one would want captions to be differently placed in the > same document. This wouldn't break compatibility. We would just mark `org-latex-table-caption-above' as an obsolete alias for `org-latex-caption-above'. > I suppose, if somebody needs to move a caption to the top or bottom > overriding the default, it could be an attribute, hypothetically: > > #+name: blah > #+caption: blah blah > #+attr_latex: :captionpos t > #+begin_figure > ... > #+end_figure > > "t" would put it at the top, ":captionpos b" at the bottom and > ":captionpos nil" (or not specified) would use the default from the > configuration variable. > > Reasonable? I don't think we need to go that far at the moment. Implementing `org-latex-caption-above' is a reasonable start. I add it to my ToDo list. Regards, -- Nicolas Goaziou