From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: bug in new exporter Date: Tue, 04 Jun 2013 00:12:48 +0200 Message-ID: <87y5aq7sin.fsf@pank.eu> References: <87d2s388l2.fsf@pank.eu> <87ip1vjdlg.fsf@pierrot.dokosmarshall.org> <874ndf7xkn.fsf@pank.eu> <87fvwyrjnr.fsf@pierrot.dokosmarshall.org> 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]:35253) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ujczz-0004zp-14 for emacs-orgmode@gnu.org; Mon, 03 Jun 2013 18:13:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ujczt-0006ck-DL for emacs-orgmode@gnu.org; Mon, 03 Jun 2013 18:13:06 -0400 Received: from plane.gmane.org ([80.91.229.3]:45953) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ujczt-0006aa-4o for emacs-orgmode@gnu.org; Mon, 03 Jun 2013 18:13:01 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ujczr-0000v4-GW for emacs-orgmode@gnu.org; Tue, 04 Jun 2013 00:12:59 +0200 Received: from dynamic-adsl-94-34-191-111.clienti.tiscali.it ([94.34.191.111]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 Jun 2013 00:12:59 +0200 Received: from rasmus by dynamic-adsl-94-34-191-111.clienti.tiscali.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 Jun 2013 00:12:59 +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 Nick Dokos 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. including .9\textwidth when you least expect it is a feature. See this thread http://comments.gmane.org/gmane.emacs.orgmode/69963 > 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. I can reproduce this here. > I guess :width has to be after the :options ?!? I don't quite > understand the rules I guess. Neither do I in this case. I'm guessing it has do with the "escaping" of "" 'cause it also fails if you :placement behind width. With #+ATTR_LATEX: :options scale=1.5 :width "" :placement [htb!] it fails here (attr (org-export-read-attribute :attr_latex parent)) which evalues to something like Result: (:options "scale=1.5" :placement "[htb!]" :width "") when it doesn't crash. Perhaps, I'll have time to look at it later, but probably Nicolas is the right guy for the job. > Very helpful: thanks for the elucidation! Thanks you to you too! –Rasmus -- Enough with the bla bla!