From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Latex export bug? Odd behavior with figures... Date: Tue, 25 May 2010 17:26:35 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0552265470==" Return-path: Received: from [140.186.70.92] (port=54222 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OH6xm-0006Pw-9n for emacs-orgmode@gnu.org; Tue, 25 May 2010 23:07:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OH2a5-0000Tu-AD for emacs-orgmode@gnu.org; Tue, 25 May 2010 18:26:38 -0400 Received: from mail-gw0-f41.google.com ([74.125.83.41]:51738) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OH2a5-0000Tg-6c for emacs-orgmode@gnu.org; Tue, 25 May 2010 18:26:37 -0400 Received: by gwb19 with SMTP id 19so1813432gwb.0 for ; Tue, 25 May 2010 15:26:35 -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 --===============0552265470== Content-Type: multipart/alternative; boundary=000e0cd75f5875f987048772a681 --000e0cd75f5875f987048772a681 Content-Type: text/plain; charset=ISO-8859-1 Hi, I've been working on a report and here is the relevant org file section (edited for brevity and sanitization): ####### org file ######## * Main header ** Sub section *** Experiment 1 - an unordered list of several points |a|table| |with|data| **** Notes for experiment 1 blah blah blah To illustrate the notes, here's a picture: #+ATTR_LaTeX: width=12cm #+CAPTION: View of something [[~/Desktop/Pic1.pdf]] When I change something, here's a picture of what happens: #+CAPTION: View of something else #+ATTR_LaTeX: width=12cm [[~/Desktop/Pic2.pdf]] Some further comments on this. *** Experiment 2 - An unordered list of several points |a|table| |with|data| **** Notes for experiment 2 - An unordered list of several points *** Experiment 3 ####### org file ########## Now, here's the order in the exported pdf: ####### latex export order ####### * Main header ** Sub section *** Experiment 1 - an unordered list of several points |a|table| |with|data| **** Notes for experiment 1 blah blah blah To illustrate the notes, here's a picture: *PICTURE 1 SHOULD BE HERE* When I change something, here's a picture of what happens: *PICTURE 2 SHOULD BE HERE* Some further comments on this. *PICTURE 1 IS ACTUALLY HERE* *** Experiment 2 - An unordered list of several points |a|table| |with|data| **** Notes for experiment 2 - An unordered list of several points *PICTURE 2 IS ACTUALLY HERE* *** Experiment 3 ########### latex order ############## I've inspected the generated .tex file and this shows up where expected in both picture instances: \begin{figure}[htb] \centering \includegraphics[width=12cm]{/home/jwhendy/Desktop/file[1/2].pdf} \caption{text here} \end{figure} I have generated a pdf from the .tex file and the same happens -- I can't figure out why it's sticking them in places where they are not called for. John --000e0cd75f5875f987048772a681 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,

I've been working on a report and here is the relevant org f= ile section (edited for brevity and sanitization):

####### org file = ########

* Main header
** Sub section
*** Experiment 1
- an= unordered list of several points

|a|table|
|with|data|

**** Notes for experiment 1
blah bla= h blah

To illustrate the notes, here's a picture:

#+ATTR_= LaTeX: width=3D12cm
#+CAPTION: View of something
[[~/Desktop/Pic1.pdf= ]]


When I change something, here's a picture of what happens:
<= br>#+CAPTION:=A0 View of something else
#+ATTR_LaTeX: width=3D12cm
[[= ~/Desktop/Pic2.pdf]]

Some further comments on this.

*** Exper= iment 2
- An unordered list of several points

|a|table|
|with|data|

**** Notes for experiment 2
- An unordered list of several points
*** Experiment 3

####### org file ##########

Now, here&#= 39;s the order in the exported pdf:

####### latex export order #####= ##
* Main header
** Sub section
*** Experiment 1
- an unordered list of several points

|a|table|
|with|data|

**** Notes for experiment 1
blah blah blah

To illustrate the notes, here's a picture:

PICTURE 1 SHOULD BE HERE

When I change something, here's a picture of what happens:

PICTURE 2 SHOULD BE HERE

Some further comments on this.

PICTURE 1 IS ACTUALLY HERE

*** Experiment 2
- An unordered list of several points

|a|table|
|with|data|

**** Notes for experiment 2
- An unordered list of several points

PICTURE 2 IS ACTUALLY HERE

*** Experiment 3
########### latex order ##############

I've inspected the genera= ted .tex file and this shows up where expected in both picture instances:
\begin{figure}[htb]
\centering
\includegraphics[width=3D12cm]{/= home/jwhendy/Desktop/file[1/2].pdf}
\caption{text here}
\end{figure}

I have generated a pdf from the = .tex file and the same happens -- I can't figure out why it's stick= ing them in places where they are not called for.


John
--000e0cd75f5875f987048772a681-- --===============0552265470== 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 --===============0552265470==--