From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aaron Ecay Subject: Re: [ox-latex] How to force ALL captions below their referents? Date: Sun, 12 Oct 2014 16:36:25 +0100 Message-ID: <87lholi9l2.fsf@gmail.com> References: <20141002152329.673e445b@hjh-e431> <87ppea76pv.fsf@nicolasgoaziou.fr> <20141004114117.3284b6f1@hjh-e431> <87k34esyhn.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]:50878) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XdLCE-0004y3-Fg for emacs-orgmode@gnu.org; Sun, 12 Oct 2014 11:36:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XdLC9-0002mW-Vw for emacs-orgmode@gnu.org; Sun, 12 Oct 2014 11:36:34 -0400 Received: from mail-wi0-x236.google.com ([2a00:1450:400c:c05::236]:41360) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XdLC9-0002mS-Py for emacs-orgmode@gnu.org; Sun, 12 Oct 2014 11:36:29 -0400 Received: by mail-wi0-f182.google.com with SMTP id n3so5587746wiv.15 for ; Sun, 12 Oct 2014 08:36:28 -0700 (PDT) In-Reply-To: <87k34esyhn.fsf@nicolasgoaziou.fr> 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: Nicolas Goaziou , James Harkins Cc: orgmode Hi Nicolas, 2014ko urriak 5an, Nicolas Goaziou-ek idatzi zuen: >=20 > Hello, >=20 > James Harkins writes: >=20 >> 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. >=20 > This wouldn't break compatibility. We would just mark > `org-latex-table-caption-above' as an obsolete alias for > `org-latex-caption-above'. >=20 >> I suppose, if somebody needs to move a caption to the top or bottom >> overriding the default, it could be an attribute, hypothetically: >>=20 >> #+name: blah >> #+caption: blah blah >> #+attr_latex: :captionpos t >> #+begin_figure >> ... >> #+end_figure >>=20 >> "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. >>=20 >> Reasonable? >=20 > I don't think we need to go that far at the moment. Implementing > `org-latex-caption-above' is a reasonable start. >=20 > I add it to my ToDo list. There=E2=80=99s at least some notion in the Latex community that captions a= top tables but below figures is sensible style: . In that light, does it make sense to instead implement this setting as an a= list with separate settings for tables, images, src blocks, etc.? (Of course, there could be separate variables org-latex-{table,figure,src-block}-caption-above, but a single alist seems simpler) Thanks, --=20 Aaron Ecay