From mboxrd@z Thu Jan 1 00:00:00 1970 From: Graham Smith Subject: Re: Org babel R Help Date: Sun, 21 Mar 2010 17:45:58 +0000 Message-ID: <2c75873c1003211045p1a51020blfe7d5c4eee552b61@mail.gmail.com> References: <20100319210128.15640tev1fryn3h4@www.studentmail.otago.ac.nz> <87mxy4wfi1.fsf@stats.ox.ac.uk> <5084fc611003210151x41850afcg36b275679ae76acb@mail.gmail.com> <20100321221848.100245krd2ozqirc@www.studentmail.otago.ac.nz> <2c75873c1003210253q491d221bib59d195a8c9e4e41@mail.gmail.com> <878w9liwpq.fsf@stats.ox.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NtPDx-0002Pp-7I for emacs-orgmode@gnu.org; Sun, 21 Mar 2010 13:46:05 -0400 Received: from [140.186.70.92] (port=48210 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NtPDv-0002P3-QK for emacs-orgmode@gnu.org; Sun, 21 Mar 2010 13:46:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NtPDu-00086o-B7 for emacs-orgmode@gnu.org; Sun, 21 Mar 2010 13:46:03 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:59975) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NtPDu-00086k-4P for emacs-orgmode@gnu.org; Sun, 21 Mar 2010 13:46:02 -0400 Received: by wyf22 with SMTP id 22so2157773wyf.0 for ; Sun, 21 Mar 2010 10:46:00 -0700 (PDT) In-Reply-To: <878w9liwpq.fsf@stats.ox.ac.uk> 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@gnu.org Dan > So I believe we do understand the situation. The question is how do we > improve it. First the facts: > As for improvements, it is tempting to think that > > 1. org-babel should automatically insert the ATTR_LaTeX line in > =C2=A0 accordance with :width and :height when creating latex output. > 2. org-babel should keep existing ATTR_LaTeX lines attached to their > =C2=A0 respective figures (contra Graham's thread linked above) > > I've had a brief look and doubtless all this is possible. It brings up > issues of what units :width and :height are assumed to be in (e.g. just > because R uses inches for pdf() doesn't mean that anyone else thinks > that's a sensible decision). And we have to be a careful because it > means altering what org-babel considers to be part of its results. Now that I know what is happening I am reasonably content with it as it is. However, it would seem to make sense that :width and :height commands "should" relate to the image size in the compiled pdf. And it would also make sense that these should be consistently in mm, regardless of file format. Graham