From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manish Subject: ATTR_LaTeX not honored - bug? Date: Mon, 19 Jan 2009 22:13:49 +0530 Message-ID: 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 1LOxEB-0004lM-Fz for emacs-orgmode@gnu.org; Mon, 19 Jan 2009 11:43:55 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LOxEA-0004kR-1E for emacs-orgmode@gnu.org; Mon, 19 Jan 2009 11:43:55 -0500 Received: from [199.232.76.173] (port=39303 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LOxE9-0004kM-NY for emacs-orgmode@gnu.org; Mon, 19 Jan 2009 11:43:53 -0500 Received: from ti-out-0910.google.com ([209.85.142.190]:23458) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LOxE8-0005Pi-M3 for emacs-orgmode@gnu.org; Mon, 19 Jan 2009 11:43:53 -0500 Received: by ti-out-0910.google.com with SMTP id u5so2058919tia.10 for ; Mon, 19 Jan 2009 08:43:50 -0800 (PST) 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 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. Regards, -- Manish