From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: bug in new exporter Date: Mon, 03 Jun 2013 17:03:52 -0400 Message-ID: <87fvwyrjnr.fsf@pierrot.dokosmarshall.org> References: <87d2s388l2.fsf@pank.eu> <87ip1vjdlg.fsf@pierrot.dokosmarshall.org> <874ndf7xkn.fsf@pank.eu> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49508) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjbvM-0004Ep-MT for emacs-orgmode@gnu.org; Mon, 03 Jun 2013 17:04:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UjbvH-0007Gh-FL for emacs-orgmode@gnu.org; Mon, 03 Jun 2013 17:04:16 -0400 Received: from plane.gmane.org ([80.91.229.3]:39446) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjbvH-0007GJ-8S for emacs-orgmode@gnu.org; Mon, 03 Jun 2013 17:04:11 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UjbvB-000318-Nj for emacs-orgmode@gnu.org; Mon, 03 Jun 2013 23:04:05 +0200 Received: from pool-108-7-96-134.bstnma.fios.verizon.net ([108.7.96.134]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Jun 2013 23:04:05 +0200 Received: from ndokos by pool-108-7-96-134.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Jun 2013 23:04:05 +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 Rasmus writes: >> One thing that I couldn't figure out is how to get rid of the width >> specification altogether. > > It's a feature. We had a lengthy discussion about it a while ago > (myself, Nicholas and Aaron, I believe) > Count me confused again: what's the feature? I'll go looking for the discussion I guess. > You can turn it permanently off by issuing > > (setq org-latex-image-default-width nil) > > I tested the code in my "own" Emacs and not emacs -q. To get no width > I do > > #+NAME: name > #+ATTR_LATEX: :placement [htb!] :options scale=1.5 :width "" > #+CAPTION: a float needs a caption > [[file:signature.pdf]] > OK, I just did an update, did emacs -q with a minimal .emacs and the ATTR_LATEX line above works. Presumably it would also work with my previous org-version, but I was trying things in a different order: if I rearrange the line to #+ATTR_LATEX: :width "" :placement [htb!] :options scale=1.5 I get the "Wrong argument type" error in the current version as well. So I guess :width has to be after the :options ?!? I don't quite understand the rules I guess. Org-mode version 8.0.3 (release_8.0.3-193-g334581 @ /home/nick/elisp/org-mode/lisp/) >> I also tried >> >> :width "" >> >> which fails with a > > This should work, though, also given the earlier discussion. At least > it does for me using the version above and emacs -q. > Very helpful: thanks for the elucidation! -- Nick