emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Placement=[H] not exporting to LaTeX anymore?
@ 2010-07-23 15:03 John Hendy
  2010-07-23 16:31 ` Nick Dokos
  0 siblings, 1 reply; 5+ messages in thread
From: John Hendy @ 2010-07-23 15:03 UTC (permalink / raw)
  To: emacs-orgmode


[-- 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-07-31  9:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-23 15:03 Placement=[H] not exporting to LaTeX anymore? John Hendy
2010-07-23 16:31 ` 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

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).