From: Nicolas Goaziou <n.goaziou@gmail.com>
To: James Harkins <jamshark70@gmail.com>
Cc: orgmode <emacs-orgmode@gnu.org>
Subject: Re: [bug?] org-latex-table-caption-above has no effect
Date: Tue, 23 Jul 2013 18:44:04 +0200 [thread overview]
Message-ID: <87fvv5kyzv.fsf@gmail.com> (raw)
In-Reply-To: <87y58xgthl.wl%jamshark70@dewdrop-world.net> (James Harkins's message of "Tue, 23 Jul 2013 11:56:38 -0400")
Hello,
James Harkins <jamshark70@gmail.com> writes:
> Not entirely sure if this is a bug or not, but it seems to be a regression.
>
> According to [1], the customization variable
> org-latex-table-caption-above was added to allow table captions to
> come underneath the table. I can't see any indication that the
> variable has been deprecated, but in my environment, it has no effect
> at all.
>
> I've set the variable to nil:
>
> org-latex-table-caption-above is a variable defined in `ox-latex.el'.
> Its value is nil
>
> However, when I use the following minimal example, the exported LaTeX code places the \caption{} before the tabular environment.
>
> ~~
> #+DATE: <2013-07-23 Tue>
> #+OPTIONS: texht:t
> #+LATEX_CLASS: article
>
> * Heading
> #+CAPTION: A table
> #+NAME: table1
> #+ATTR_LaTeX: :starred t :options [htb]
> #+BEGIN_table
> | Row 1 | Something |
> | Row 2 | Something else |
> #+END_table
This variable, as its name suggests, only applies to tables. You're
captioning a special block (begin_table) here. Therefore it is ignored.
Regards,
--
Nicolas Goaziou
next prev parent reply other threads:[~2013-07-23 16:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-23 15:56 [bug?] org-latex-table-caption-above has no effect James Harkins
2013-07-23 16:44 ` Nicolas Goaziou [this message]
2013-07-23 19:49 ` James Harkins
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=87fvv5kyzv.fsf@gmail.com \
--to=n.goaziou@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=jamshark70@gmail.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).