emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Thomas Alexander Gerds <tag@biostat.ku.dk>
To: Nicolas Goaziou <n.goaziou@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: latex figure scaling question, backward compatibility and outdated manual
Date: Fri, 22 Mar 2013 08:47:55 +0100	[thread overview]
Message-ID: <grb615txo36fkk.fsf@linuxifsv005.sund.root.ku.dk> (raw)
In-Reply-To: <871ub87918.fsf@gmail.com> (Nicolas Goaziou's message of "Thu, 21 Mar 2013 22:11:31 +0100")


thanks for the reply!

when edebugging the function org-export-read-attribute it is unclear to
me which function generates (the text properties of) element.

do you have a script which translates from old syntax to new?

thanks. 

Nicolas Goaziou <n.goaziou@gmail.com> writes:

> Hello,
>
> Thomas Alexander Gerds <tag@biostat.ku.dk> writes:
>
>> I was learning about this by guessing around for some time ... it is
>> surprisingly hard to edebug the export process (any hints?).
>
> This is a bit vague.
>
>> next, the following educated guess does not work:
>> #+ATTR_LaTeX: :width 5cm :angle 90
>
> This is because :angle is not recognized as a special keyword. Unless
> it is implemented in `org-latex--inline-image', it should go in the
> miscellaneous :options keyword, e.g.
>
>   #+attr_latex: :width 5cm :options angle=90
>
>> instead one needs to say
>> #+ATTR_LaTeX: :width 5cm,angle 90
>
> Well, that works but only as a side-effect.
>
> Regards,
--
Thomas A. Gerds -- Assoc. Prof. Department of Biostatistics
University of Copenhagen, Øster Farimagsgade 5, 1014 Copenhagen, Denmark
Office: CSS-15.2.07 (Gamle Kommunehospital)
tel: 35327914 (sec: 35327901) 

  reply	other threads:[~2013-03-22  7:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-19 13:10 latex figure scaling question, backward compatibility and outdated manual Thomas Alexander Gerds
2013-03-20 12:04 ` Thomas Alexander Gerds
2013-03-21 21:11 ` Nicolas Goaziou
2013-03-22  7:47   ` Thomas Alexander Gerds [this message]
2013-03-22 15:02     ` Nicolas Goaziou

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=grb615txo36fkk.fsf@linuxifsv005.sund.root.ku.dk \
    --to=tag@biostat.ku.dk \
    --cc=emacs-orgmode@gnu.org \
    --cc=n.goaziou@gmail.com \
    /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).