From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: bug in new exporter Date: Mon, 03 Jun 2013 18:25:45 +0200 Message-ID: <87d2s388l2.fsf@pank.eu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40494) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjXaA-0002FL-Do for emacs-orgmode@gnu.org; Mon, 03 Jun 2013 12:26:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UjXa7-00055V-HK for emacs-orgmode@gnu.org; Mon, 03 Jun 2013 12:26:06 -0400 Received: from plane.gmane.org ([80.91.229.3]:34427) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjXa7-00055O-A2 for emacs-orgmode@gnu.org; Mon, 03 Jun 2013 12:26:03 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UjXa0-00030N-S6 for emacs-orgmode@gnu.org; Mon, 03 Jun 2013 18:25:56 +0200 Received: from ip-pool-133.iue.it ([192.167.90.133]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Jun 2013 18:25:56 +0200 Received: from rasmus by ip-pool-133.iue.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Jun 2013 18:25:56 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi Marvin, Marvin Doyley writes: > Hi there, > > When I include the following in my org file > > #+attr_latex: scale=1.5, placement =[htb!] > [[file:img/figure2.eps]] The syntax changes. Something like this might give you what you want. #+ATTR_LATEX: :placement [htb!] :options scale=1.5 #+CAPTION: a float needs a caption [[file:fig.pdf]] do check out: http://orgmode.org/org.html#LaTeX-specific-attributes >From the source code, ox-latex.el, you should be able to get it to accept placement without square brackets. It should also be possible to set something like htb! as the default value of floats, if you so desire. Check the variable org-latex-default-figure-position. –Rasmus -- In theory, practice and theory are the same. In practice they are not