From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Controlling float position in LaTeX export Date: Tue, 20 Jan 2009 06:20:18 +0100 Message-ID: <62BCC5A5-DED7-4867-A864-E518FFB49DD2@uva.nl> References: <143998BF-E620-4C36-A4F4-E0BCDD80A2D2@uva.nl> Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LP92F-0008TS-Bx for emacs-orgmode@gnu.org; Tue, 20 Jan 2009 00:20:23 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LP92E-0008Sm-OS for emacs-orgmode@gnu.org; Tue, 20 Jan 2009 00:20:23 -0500 Received: from [199.232.76.173] (port=51133 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LP92E-0008SN-Fg for emacs-orgmode@gnu.org; Tue, 20 Jan 2009 00:20:22 -0500 Received: from mail-ew0-f20.google.com ([209.85.219.20]:42721) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LP92E-0002xN-7I for emacs-orgmode@gnu.org; Tue, 20 Jan 2009 00:20:22 -0500 Received: by ewy13 with SMTP id 13so886364ewy.18 for ; Mon, 19 Jan 2009 21:20:21 -0800 (PST) In-Reply-To: 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: Manish Cc: Emacs-orgmode mailing list On Jan 20, 2009, at 3:33 AM, Manish wrote: >> On Jan 19, 2009, at 5:10 PM, Manish wrote: >> >>> Hello, >>> >>> A figure is exported to LaTeX with markup like below. >>> >>> ,---- >>> | \begin{figure}[htb] >>> | \centerline{\includegraphics[scale=0.8]{./time-series.png}} >>> | \caption{\label{fig:bt}Weekly Business Transaction over Past Two >>> Years} >>> | \end{figure} >>> `---- >>> >>> How can I replace [htb] with [H] (during the export itself?) It is >>> required by "float" package to ensure that floats appear where I >>> want >>> them to appear. Is there an option that controls that? > > On Tue, Jan 20, 2009 at 2:48 AM, Carsten Dominik wrote: >> No, there is no such option yet....... > > No problem. Since I only want H all the time, I have modified > org-export-latex.el in a local git branch. > > I should be able to maintain my patch on top of your updates quite > easily. Git is good. :) There is even an Org-mode FAQ about this very issue. http://orgmode.org/worg/org-faq.php#keeping-local-changes-current-with-Org-mode-development - Carsten