From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: bug in new exporter Date: Wed, 05 Jun 2013 14:26:08 +0200 Message-ID: <877gi8n3q7.fsf@gmail.com> References: <87d2s388l2.fsf@pank.eu> <87ip1vjdlg.fsf@pierrot.dokosmarshall.org> <874ndf7xkn.fsf@pank.eu> <87fvwyrjnr.fsf@pierrot.dokosmarshall.org> <87y5aq7sin.fsf@pank.eu> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59475) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkCn4-00053Z-W8 for emacs-orgmode@gnu.org; Wed, 05 Jun 2013 08:26:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UkCmx-0006TY-H0 for emacs-orgmode@gnu.org; Wed, 05 Jun 2013 08:26:10 -0400 Received: from mail-wg0-x22c.google.com ([2a00:1450:400c:c00::22c]:54000) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkCmx-0006TU-5s for emacs-orgmode@gnu.org; Wed, 05 Jun 2013 08:26:03 -0400 Received: by mail-wg0-f44.google.com with SMTP id m15so211826wgh.23 for ; Wed, 05 Jun 2013 05:26:02 -0700 (PDT) In-Reply-To: <87y5aq7sin.fsf@pank.eu> (rasmus@gmx.us's message of "Tue, 04 Jun 2013 00:12:48 +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: Rasmus Cc: emacs-orgmode@gnu.org Hello, Rasmus writes: > Nick Dokos writes: >> 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. This bug should be fixed in maint. Thanks to both of you for identifying it. Regards, -- Nicolas Goaziou