emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Hendy <jw.hendy@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Placement=[H] not exporting to LaTeX anymore?
Date: Fri, 23 Jul 2010 10:03:18 -0500	[thread overview]
Message-ID: <AANLkTil7goRO-1eThhrWLt1J11FRxwHzR-yqeQNHZ5E_@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1283 bytes --]

Hi,


I had a problem with floating tables/figures a ways back, found here:
http://www.mail-archive.com/emacs-orgmode@gnu.org/msg25566.html

The solution, which was simply inserting #+ATTR_LATEX: placement=[H], worked
perfectly.

I just ran into it again, however. my org file has the following order in a
section:

* section
text before table 1
table 1 (featuring both #+CAPTION and #+ATTR_LATEX: placement [H])
text before table 2
table 2 (featuring both #+CAPTION and #+ATTR_LATEX: placement [H])

But it's being exported to pdf like so:

text before table 1
text before table 2
table 1
table 2

The exported .tex has this for table 1:
\begin{table}[htb]
\caption{table 1 caption}
\begin{center}

If I manually change the \begin{table}[htb] line to \begin{table}[H], things
work exactly as I want. Somehow the [H] option just isn't making it
through...

Just to be sure I created an blank org file with only this:

* test

#+CAPTION: test table
#+ATTR_LaTeX: placement=[H]
| 1    | 2    | 3    | 4    |
|------+------+------+------|
| test | test | test | test |
| test | test | test | test |

It gets exported to this:

\begin{table}[htb]
\caption{test table}
\begin{center}
\begin{tabular}{llll}

Did something change between 6.35 and 7.01 or in the LaTeX table options?


John

[-- Attachment #1.2: Type: text/html, Size: 2199 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

             reply	other threads:[~2010-07-23 15:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-23 15:03 John Hendy [this message]
2010-07-23 16:31 ` Placement=[H] not exporting to LaTeX anymore? Nick Dokos
2010-07-23 17:48   ` John Hendy
2010-07-23 22:16   ` Nick Dokos
2010-07-31  9:17     ` Patchwork: Patch 167 Accepted Bastien Guerry

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=AANLkTil7goRO-1eThhrWLt1J11FRxwHzR-yqeQNHZ5E_@mail.gmail.com \
    --to=jw.hendy@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).