Re: [O] #+ATTR_LaTeX no longer honoured

2013-05-23 Thread Paul Stansell
 here's the line you're looking for:
 
 #+ATTR_LaTeX: :width 5cm :options angle=90

Thanks very much, that does what I want.

Also, regarding the manual being up-to-date or not, I took my instructions
from the page at http://orgmode.org/manual/Images-in-LaTeX-export.html which
does seem out of date as it says one should use

  #+ATTR_LaTeX: width=5cm,angle=90

Regards,

Paul







Re: [O] #+ATTR_LaTeX no longer honoured

2013-05-23 Thread Rasmus
Paul Stansell paulstans...@gmail.com writes:

 here's the line you're looking for:
 
 #+ATTR_LaTeX: :width 5cm :options angle=90

 Thanks very much, that does what I want.

 Also, regarding the manual being up-to-date or not, I took my instructions
 from the page at http://orgmode.org/manual/Images-in-LaTeX-export.html which
 does seem out of date as it says one should use

I don't know what that page is and I can't find it in the manual.  It
seems like it somehow an outdated pages which is part of an older
version of the manual. 

Check out section 12.7 in the manual:

   http://orgmode.org/manual/index.html

–Rasmus

-- 
May contains speling mistake




Re: [O] #+ATTR_LaTeX no longer honoured

2013-05-20 Thread Daniel F
It's strange that you say that link is not up-to date (altho I can see that
the version you've linked to is also linked from the main page),
because it says here: http://orgmode.org/manual/index.html#Top

 This manual is for Org version 8.0.3 (release_8.0.3).

Is it possible to maybe put some sort of message that would say that the
manual is outdated?


On Mon, May 20, 2013 at 12:31 AM, Nicolas Goaziou n.goaz...@gmail.comwrote:

 Hello,

 Eric Abrahamsen e...@ericabrahamsen.net writes:

  Paul Stansell paulstans...@gmail.com writes:
 
  Hello,
 
  I've noticed that #+ATTR_LaTeX seems to be no longer honoured (I'm
  using release_8.0.3-133-ga5872)
 
  This is demonstrated for the attached org file.  It's the exact
  example from http://orgmode.org/manual/Images-in-LaTeX-export.html.
 
  I expect the exported latex file (C-c C-e l l) to contain something like
 
\includegraphics[width=5cm,angle=90]{./dummy.png}
 
  but I instead it contains
 
\includegraphics[width=.9\linewidth]{./dummy.png}
 
  Thanks,
 
  Paul
 
  PS. I'm using Emacs 24.2.1 and I tested with the minimal org-mode
  set-up from http://orgmode.org/manual/Feedback.html.
 
  I won't even attempt to give an overview of how attribute syntax has
  changed/is changing, or explain why and how the manual is out of date,
  but while we're waiting for someone else to do that, here's the line
  you're looking for:
 
  #+ATTR_LaTeX: :width 5cm :options angle=90

 The manual is up-to-date (sections about HTML and ODT export may lag
 a bit behind), but the URL isn't. In particular, see:

   http://orgmode.org/org.html#LaTeX-specific-attributes

  Very briefly, I think attributes that may be common to multiple backends
  are now given as eg :width or :height (with no equals sign before the
  value), while attributes that are rarer or likely backend-specific are
  stuffed into one :options attribute, with the keys/values written more
  literally.

 AFAIK, :options is specific to latex back-end. Common attributes are set
 the usual way, i.e. with :attribute value syntax. Though it's
 impossible to recognize them all. So :options is handy to add raw
 arguments.

 Anyway, all attributes should be documented in the manual.


 Regards,

 --
 Nicolas Goaziou




-- 
Sincerely yours,
-- Daniil


Re: [O] #+ATTR_LaTeX no longer honoured

2013-05-19 Thread Eric Abrahamsen
Paul Stansell paulstans...@gmail.com writes:

 Hello,

 I've noticed that #+ATTR_LaTeX seems to be no longer honoured (I'm
 using release_8.0.3-133-ga5872)

 This is demonstrated for the attached org file.  It's the exact
 example from http://orgmode.org/manual/Images-in-LaTeX-export.html.

 I expect the exported latex file (C-c C-e l l) to contain something like

   \includegraphics[width=5cm,angle=90]{./dummy.png}

 but I instead it contains

   \includegraphics[width=.9\linewidth]{./dummy.png}

 Thanks,

 Paul

 PS. I'm using Emacs 24.2.1 and I tested with the minimal org-mode
 set-up from http://orgmode.org/manual/Feedback.html.

I won't even attempt to give an overview of how attribute syntax has
changed/is changing, or explain why and how the manual is out of date,
but while we're waiting for someone else to do that, here's the line
you're looking for:

#+ATTR_LaTeX: :width 5cm :options angle=90

Very briefly, I think attributes that may be common to multiple backends
are now given as eg :width or :height (with no equals sign before the
value), while attributes that are rarer or likely backend-specific are
stuffed into one :options attribute, with the keys/values written more
literally.

More than that I can't venture...

Eric




Re: [O] #+ATTR_LaTeX no longer honoured

2013-05-19 Thread Nicolas Goaziou
Hello,

Eric Abrahamsen e...@ericabrahamsen.net writes:

 Paul Stansell paulstans...@gmail.com writes:

 Hello,

 I've noticed that #+ATTR_LaTeX seems to be no longer honoured (I'm
 using release_8.0.3-133-ga5872)

 This is demonstrated for the attached org file.  It's the exact
 example from http://orgmode.org/manual/Images-in-LaTeX-export.html.

 I expect the exported latex file (C-c C-e l l) to contain something like

   \includegraphics[width=5cm,angle=90]{./dummy.png}

 but I instead it contains

   \includegraphics[width=.9\linewidth]{./dummy.png}

 Thanks,

 Paul

 PS. I'm using Emacs 24.2.1 and I tested with the minimal org-mode
 set-up from http://orgmode.org/manual/Feedback.html.

 I won't even attempt to give an overview of how attribute syntax has
 changed/is changing, or explain why and how the manual is out of date,
 but while we're waiting for someone else to do that, here's the line
 you're looking for:

 #+ATTR_LaTeX: :width 5cm :options angle=90

The manual is up-to-date (sections about HTML and ODT export may lag
a bit behind), but the URL isn't. In particular, see:

  http://orgmode.org/org.html#LaTeX-specific-attributes

 Very briefly, I think attributes that may be common to multiple backends
 are now given as eg :width or :height (with no equals sign before the
 value), while attributes that are rarer or likely backend-specific are
 stuffed into one :options attribute, with the keys/values written more
 literally.

AFAIK, :options is specific to latex back-end. Common attributes are set
the usual way, i.e. with :attribute value syntax. Though it's
impossible to recognize them all. So :options is handy to add raw
arguments.

Anyway, all attributes should be documented in the manual.


Regards,

-- 
Nicolas Goaziou



Re: [O] #+ATTR_LaTeX no longer honoured

2013-05-19 Thread Eric Abrahamsen
Nicolas Goaziou n.goaz...@gmail.com writes:

 Hello,

 Eric Abrahamsen e...@ericabrahamsen.net writes:

 Paul Stansell paulstans...@gmail.com writes:

 Hello,

 I've noticed that #+ATTR_LaTeX seems to be no longer honoured (I'm
 using release_8.0.3-133-ga5872)

 This is demonstrated for the attached org file.  It's the exact
 example from http://orgmode.org/manual/Images-in-LaTeX-export.html.

 I expect the exported latex file (C-c C-e l l) to contain something like

   \includegraphics[width=5cm,angle=90]{./dummy.png}

 but I instead it contains

   \includegraphics[width=.9\linewidth]{./dummy.png}

 Thanks,

 Paul

 PS. I'm using Emacs 24.2.1 and I tested with the minimal org-mode
 set-up from http://orgmode.org/manual/Feedback.html.

 I won't even attempt to give an overview of how attribute syntax has
 changed/is changing, or explain why and how the manual is out of date,
 but while we're waiting for someone else to do that, here's the line
 you're looking for:

 #+ATTR_LaTeX: :width 5cm :options angle=90

 The manual is up-to-date (sections about HTML and ODT export may lag
 a bit behind), but the URL isn't. In particular, see:

   http://orgmode.org/org.html#LaTeX-specific-attributes

 Very briefly, I think attributes that may be common to multiple backends
 are now given as eg :width or :height (with no equals sign before the
 value), while attributes that are rarer or likely backend-specific are
 stuffed into one :options attribute, with the keys/values written more
 literally.

 AFAIK, :options is specific to latex back-end. Common attributes are set
 the usual way, i.e. with :attribute value syntax. Though it's
 impossible to recognize them all. So :options is handy to add raw
 arguments.

 Anyway, all attributes should be documented in the manual.

Sure enough, I should have just stopped with the working example!