From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: Latex export bug? Odd behavior with figures... Date: Wed, 26 May 2010 03:45:14 +0000 Message-ID: References: <4BFC977A.2020802@ccbr.umn.edu> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1082431330==" Return-path: Received: from [140.186.70.92] (port=42359 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OH7YY-0001Kt-3i for emacs-orgmode@gnu.org; Tue, 25 May 2010 23:45:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OH7YW-0003W1-D5 for emacs-orgmode@gnu.org; Tue, 25 May 2010 23:45:21 -0400 Received: from mail-gy0-f169.google.com ([209.85.160.169]:49641) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OH7YW-0003Vw-Ag for emacs-orgmode@gnu.org; Tue, 25 May 2010 23:45:20 -0400 Received: by gyg4 with SMTP id 4so3569193gyg.0 for ; Tue, 25 May 2010 20:45:19 -0700 (PDT) In-Reply-To: <4BFC977A.2020802@ccbr.umn.edu> 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: Erik Iverson Cc: emacs-orgmode --===============1082431330== Content-Type: multipart/alternative; boundary=000e0cd2560e0bea5b0487771a49 --000e0cd2560e0bea5b0487771a49 Content-Type: text/plain; charset=ISO-8859-1 Just looked up what [htb] did and will definitely try that when I'm back at work tomorrow. Though not identical, I have two other emails out to the group that would be along these lines were this to be the solution. Namely: what's the best way to pass particular options to LaTeX from org-mode? Is there any clean way to pass some option like this with a figure or table or what have you? I'll try this tomorrow and post back. Thanks for the help. John On Wed, May 26, 2010 at 3:37 AM, Erik Iverson wrote: > > > ########### 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. >> > > Not at all an expert on this, but what if you substitute [!htb] instead of > [htb] in the LaTeX and generate a PDF? Obviously, not an org-mode solution, > but does that do what you want? > --000e0cd2560e0bea5b0487771a49 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Just looked up what [htb] did and will definitely try that when I'm bac= k at work tomorrow. Though not identical, I have two other emails out to th= e group that would be along these lines were this to be the solution. Namel= y: what's the best way to pass particular options to LaTeX from org-mod= e?

Is there any clean way to pass some option like this with a figure or t= able or what have you?

I'll try this tomorrow and post back. Tha= nks for the help.


John

On Wed,= May 26, 2010 at 3:37 AM, Erik Iverson <eriki@ccbr.umn.edu> wrote:
<snip>

########### 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=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 sticking them in places where they are not calle= d for.

Not at all an expert on this, but what if you substitute [!htb] instead of = [htb] in the LaTeX and generate a PDF? =A0Obviously, not an org-mode soluti= on, but does that do what you want?

--000e0cd2560e0bea5b0487771a49-- --===============1082431330== 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 --===============1082431330==--