emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Manish <mailtomanish.sharma@gmail.com>
To: Emacs-orgmode mailing list <emacs-orgmode@gnu.org>
Subject: Re: ATTR_LaTeX not honored - bug?
Date: Tue, 20 Jan 2009 00:51:28 +0530	[thread overview]
Message-ID: <e7cdbe30901191121p52593c7fh283e98a264cfe546@mail.gmail.com> (raw)
In-Reply-To: <e7cdbe30901190843pcdbc5a8ka2b9235cb2d391d0@mail.gmail.com>

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

      reply	other threads:[~2009-01-19 19:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-19 16:43 ATTR_LaTeX not honored - bug? Manish
2009-01-19 19:21 ` Manish [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e7cdbe30901191121p52593c7fh283e98a264cfe546@mail.gmail.com \
    --to=mailtomanish.sharma@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).