From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Placement=[H] not exporting to LaTeX anymore? Date: Fri, 23 Jul 2010 10:03:18 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1186685984==" Return-path: Received: from [140.186.70.92] (port=44507 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OcJmT-0006OD-7t for emacs-orgmode@gnu.org; Fri, 23 Jul 2010 11:03:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OcJmR-0002tb-Vu for emacs-orgmode@gnu.org; Fri, 23 Jul 2010 11:03:21 -0400 Received: from mail-ey0-f169.google.com ([209.85.215.169]:37534) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OcJmR-0002tD-Q2 for emacs-orgmode@gnu.org; Fri, 23 Jul 2010 11:03:19 -0400 Received: by eydd26 with SMTP id d26so69885eyd.0 for ; Fri, 23 Jul 2010 08:03:19 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode --===============1186685984== Content-Type: multipart/alternative; boundary=0014852e6d16cb32cb048c0f55bd --0014852e6d16cb32cb048c0f55bd Content-Type: text/plain; charset=ISO-8859-1 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 --0014852e6d16cb32cb048c0f55bd Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,


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

The solution, which was simply inserting #+ATTR_LATEX: = placement=3D[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])
tex= t before table 2
table 2=A0(featuring both #+CAPTION and #+ATTR_L= ATEX: placement [H])

But it's being exported to pdf like so:
text before table 1
text before table 2
tab= le 1
table 2

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

If I manua= lly change the \begin{table}[htb] line to \begin{table}[H], things work exa= ctly as I want. Somehow the [H] option just isn't making it through...<= /div>

Just to be sure I created an blank org file with only t= his:

* test

#+CAPTIO= N: test table
#+ATTR_LaTeX: placement=3D[H]
| 1 =A0 =A0| 2 =A0 =A0| 3 =A0 = =A0| 4 =A0 =A0|
|------+------+------+------|
| test | = test | test | test |
| test | test | test | test |

=
It gets exported to this:

\begin{table}[htb]<= /div>
\caption{test table}
\begin{center}
\begin{ta= bular}{llll}

Did something change between 6.= 35 and 7.01 or in the LaTeX table options?


John
--0014852e6d16cb32cb048c0f55bd-- --===============1186685984== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============1186685984==--