emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: James Harkins <jamshark70@qq.com>
Cc: orgmode <emacs-orgmode@gnu.org>
Subject: Re: [ox-latex] How to force ALL captions below their referents?
Date: Sun, 05 Oct 2014 10:37:56 +0200	[thread overview]
Message-ID: <87k34esyhn.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <20141004114117.3284b6f1@hjh-e431> (James Harkins's message of "Sat, 4 Oct 2014 11:41:17 +0800")

Hello,

James Harkins <jamshark70@qq.com> 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

  reply	other threads:[~2014-10-05  8:37 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-02  7:23 [ox-latex] How to force ALL captions below their referents? James Harkins
2014-10-02 16:54 ` Nicolas Goaziou
2014-10-04  3:41   ` James Harkins
2014-10-05  8:37     ` Nicolas Goaziou [this message]
2014-10-12 15:36       ` Aaron Ecay
2014-10-13 15:58         ` Nicolas Goaziou
2014-10-17 20:08           ` Nicolas Goaziou
2014-10-21 10:56             ` Eric S Fraga
2014-10-21 16:47               ` Nicolas Goaziou
2014-10-22 14:03                 ` Eric S Fraga
2014-10-23 21:08                   ` Nicolas Goaziou
2014-10-24  7:59                     ` Eric S Fraga
2014-10-24  9:28                       ` Nicolas Goaziou
2014-10-24 12:46                         ` Rasmus
2014-10-24 19:51                         ` Eric S Fraga
2014-10-24 22:12                           ` Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k34esyhn.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=jamshark70@qq.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).