From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manish Subject: Re: ATTR_LaTeX not honored - bug? Date: Tue, 20 Jan 2009 00:51:28 +0530 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LOzgi-0002n8-TO for emacs-orgmode@gnu.org; Mon, 19 Jan 2009 14:21:32 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LOzgh-0002mQ-99 for emacs-orgmode@gnu.org; Mon, 19 Jan 2009 14:21:32 -0500 Received: from [199.232.76.173] (port=35352 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LOzgh-0002mE-3O for emacs-orgmode@gnu.org; Mon, 19 Jan 2009 14:21:31 -0500 Received: from ti-out-0910.google.com ([209.85.142.186]:28443) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LOzgg-0006q5-FF for emacs-orgmode@gnu.org; Mon, 19 Jan 2009 14:21:30 -0500 Received: by ti-out-0910.google.com with SMTP id u5so2113971tia.10 for ; Mon, 19 Jan 2009 11:21:28 -0800 (PST) In-Reply-To: Content-Disposition: inline List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Emacs-orgmode mailing list On Mon, Jan 19, 2009 at 10:13 PM, Manish wrote: > Hello, > > It seems options specified with ATTR_LaTeX for an image are not > reflecting in the exported file. Yes, I did save the file and also did > a C-c C-c on the "#+ATTR_LaTeX: scale=0.5" line. > > Steps to reproduce. > > Download an image. > --8<---------------cut here---------------start------------->8--- > wget http://valuestockphoto.com/freehighresimages/snowy_trees1995.jpg > --8<---------------cut here---------------end--------------->8--- > > Save the following as an org file. > > --8<---------------cut here---------------start------------->8--- > #+TITLE: test file > > This is some test text. > > #+CAPTION: Eclipse > #+LABEL: fig:trees > [[./ig380-01-02.jpg]] > #+ATTR_LaTeX: scale=0.5 > > #+Local Variables: > #+ org-export-latex-append-header: " > #+\\usepackage{graphicx} > #+ " > #+End: > --8<---------------cut here---------------end--------------->8--- > > Execute "C-c C-e l". The exported tex file doesn't show the value of > attribute as specified in the #+ATTR line. It will still show the > default (or customized) value only. > > Either I am doing something very stupid or there might be a bug. > Please ignore this. This seems to be working alright and I am a dodo. -- Manish