Re: [O] Bug: Org-Babel Mode R Plot Output to LaTeX File [Babel] [7.5]

2011-07-18 Thread Feiming Chen
...@gmail.com Subject: Re: [O] Bug: Org-Babel Mode R Plot Output to LaTeX File [Babel] [7.5] To: Feiming Chen feimingc...@yahoo.com 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 size of the generated file e.g

Re: [O] Bug: Org-Babel Mode R Plot Output to LaTeX File [Babel] [7.5]

2011-07-18 Thread Feiming Chen
/18/11, Eric Schulte schulte.e...@gmail.com wrote: From: Eric Schulte schulte.e...@gmail.com Subject: Re: [O] Bug: Org-Babel Mode R Plot Output to LaTeX File [Babel] [7.5] To: Feiming Chen feimingc...@yahoo.com Cc: Eric Schulte schulte.e...@gmail.com, emacs-orgmode@gnu.org Date: Monday, July 18

Re: [O] Bug: Org-Babel Mode R Plot Output to LaTeX File [Babel] [7.5]

2011-07-18 Thread Eric Schulte
Mode R Plot Output to LaTeX File [Babel] [7.5] To: Feiming Chen feimingc...@yahoo.com 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 size of the generated file e.g.,   png(filename=a1.png,width

Re: [O] Bug: Org-Babel Mode R Plot Output to LaTeX File [Babel] [7.5]

2011-07-17 Thread Bastien
Hi Sebastien, Sebastien Vauban wxhgmqzgw...@spammotel.com 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

Re: [O] Bug: Org-Babel Mode R Plot Output to LaTeX File [Babel] [7.5]

2011-07-16 Thread Stephen Eglen
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 10em

Re: [O] Bug: Org-Babel Mode R Plot Output to LaTeX File [Babel] [7.5]

2011-07-16 Thread Eric Schulte
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

Re: [O] Bug: Org-Babel Mode R Plot Output to LaTeX File [Babel] [7.5]

2011-07-16 Thread Sebastien Vauban
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-complete your

Re: [O] Bug: Org-Babel Mode R Plot Output to LaTeX File [Babel] [7.5]

2011-07-15 Thread Eric Schulte
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 figures.

[O] Bug: Org-Babel Mode R Plot Output to LaTeX File [Babel] [7.5]

2011-07-14 Thread Feiming Chen
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,