From: Daniel F <difrumin@gmail.com>
Cc: "emacs-orgmode@gnu.org Mode" <emacs-orgmode@gnu.org>
Subject: Re: #+ATTR_LaTeX no longer honoured
Date: Mon, 20 May 2013 22:05:09 +0400 [thread overview]
Message-ID: <CACxkR4CjyQmsG_jn20Ht-w4y4fiF_u_dBi7eMYWYLF1ZwDaEiA@mail.gmail.com> (raw)
In-Reply-To: <87a9nq4spq.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2410 bytes --]
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.goaziou@gmail.com>wrote:
> Hello,
>
> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>
> > Paul Stansell <paulstansell@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
[-- Attachment #2: Type: text/html, Size: 3738 bytes --]
next prev parent reply other threads:[~2013-05-20 18:05 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-19 11:18 #+ATTR_LaTeX no longer honoured Paul Stansell
2013-05-19 13:27 ` Eric Abrahamsen
2013-05-19 20:31 ` Nicolas Goaziou
2013-05-20 2:05 ` Eric Abrahamsen
2013-05-20 18:05 ` Daniel F [this message]
2013-05-23 19:42 ` Paul Stansell
2013-05-24 0:15 ` Rasmus
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=CACxkR4CjyQmsG_jn20Ht-w4y4fiF_u_dBi7eMYWYLF1ZwDaEiA@mail.gmail.com \
--to=difrumin@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).