From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [ANN] e-latex back-end: changes to attributes syntax Date: Fri, 23 Nov 2012 12:59:53 +0100 Message-ID: <87mwy8r0li.fsf@gmail.com> References: <87haoiewwr.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:33026) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TbrzT-0003cQ-6E for emacs-orgmode@gnu.org; Fri, 23 Nov 2012 07:04:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TbrzN-0002AE-B4 for emacs-orgmode@gnu.org; Fri, 23 Nov 2012 07:04:15 -0500 Received: from mail-we0-f169.google.com ([74.125.82.169]:56080) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TbrzM-00028V-Tw for emacs-orgmode@gnu.org; Fri, 23 Nov 2012 07:04:09 -0500 Received: by mail-we0-f169.google.com with SMTP id t49so1695069wey.0 for ; Fri, 23 Nov 2012 04:04:08 -0800 (PST) In-Reply-To: (Alan Schmitt's message of "Fri, 23 Nov 2012 10:00:16 +0100") 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: Alan Schmitt Cc: Org Mode List Alan Schmitt writes: > Nicolas Goaziou writes: > >> * Images (from manual) >> >> #+caption: The black-body emission of the disk around HR 4049 >> #+name: fig:SED-HR4049 >> #+attr_latex: :options "5cm,angle=90" >> [[./img/sed-hr4049.pdf]] >> >> #+attr_latex: :float wrap :placement "{r}{0.4\\textwidth}" :options "width=0.38\\textwidth" >> [[./img/hst.png]] > > I just tried this (using current head on master), but the following > > #+begin_src org > #+attr_latex: :options "0.9}\linewidth" > [[./objets.pdf]] > #+end_src > > yields > > #+begin_src latex > \includegraphics[(:options 0.9linewidth)]{./prototype.pdf} > #+end_src latex > > The problem is that even if I remove the ":option", then I get > "(0.9linewidth)" with extra parentheses and the backslash removed. > > This is for a beamer file. > > Is this a bug? This is a bug which I fixed some hours ago. Though, you need to escape the backslash. Regards, -- Nicolas Goaziou