to the org file before the code block. That fixes the problem on my
system.
Also, there is no way that an #+attr_latex line could affect the
execution of a code block, precisely because of the simplifying
separation of distinct components mentioned earlier.
Best -- Eric
>
> Thanks!
&g
--- On Mon, 7/18/11, Eric Schulte wrote:
From: Eric Schulte
Subject: Re: [O] Bug: Org-Babel Mode R Plot Output to LaTeX File [Babel] [7.5]
To: "Feiming Chen"
Cc: "Eric Schulte" , emacs-orgmode@gnu.org
Date: Monday, July 18, 2011, 11:36 AM
Feiming Chen writes:
> Hi Eric:
e:
From: Eric Schulte
Subject: Re: [O] Bug: Org-Babel Mode R Plot Output to LaTeX File [Babel] [7.5]
To: "Feiming Chen"
Cc: emacs-orgmode@gnu.org
Date: Friday, July 15, 2011, 9:32 AM
Hi Feiming,
The "width" and "height" header arguments are passed to R to affect the
Hi Sebastien,
"Sebastien Vauban" writes:
> Shouldn't it more appropriate to give that var such a default:
>
> "width=0.9\\linewidth"
>
> 10em seems to me much to small in *all* cases, no?
Yes, you're right. I've just applied a patch changing the default to
what you suggest.
Thanks!
--
Hi Eric and Stephen,
Eric Schulte wrote:
>> why is the default width 10em for latex graphics? (Or at least, how can
>> I change this default?
>
> See the `org-export-latex-image-default-option' variable.
>
> Generally in such situation you can run the `describe-variable' function
> and tab-compl
See the `org-export-latex-image-default-option' variable.
Generally in such situation you can run the `describe-variable' function
and tab-complete your way to the name of the relevant variable. The
`apropos' function is also useful for suss out this sort of information.
Best -- Eric
Stephen Eg
> however they do not affect the generated latex code. Luckily Org-mode
> does support passing information like image width to latex figures. See
> my attached version of your test file which uses #+ATTR_LaTeX lines to
> specify the width during LaTeX export.
hi Eric,
why is the default width 1
Hi Feiming,
The "width" and "height" header arguments are passed to R to affect the
size of the generated file e.g.,
png(filename="a1.png",width=500,height=500)
however they do not affect the generated latex code. Luckily Org-mode
does support passing information like image width to latex fig
Hi, I like org-mode and org-babel mode very much, but recently I am having
problems outputting R graphics to LaTeX report with
Org-Babel mode. Attached is my test file, where I am generating 4
simple plots of different sizes and format (.png or .pdf). The HTML
export is satisfactory, however, t