[O] highlight latex code

2012-02-15 Thread Riccardo Romoli
Hi, is there a way to highlight latex code like \ref{}, \si{}, \ce{}, and so on, such as in org *bold* and /emph/? Regards Riccardo

Re: [O] org-babel export table from R to LaTeX

2012-02-15 Thread Riccardo Romoli
caption = "ANOVA Table", label = "tab:one", > > digits = c(0, 0, 2, 0, 2, 3, 3)) > > #+end_src > > > > Does it solve your problem? > > > > Christophe > > > > Riccardo Romoli writes: > > > >&

Re: [O] org-babel export table from R to LaTeX

2012-02-14 Thread Riccardo Romoli
If I set :export latex when I exports to LaTeX I have only the R code, not the table. Best 2012/2/14 Christophe Pouzat > Riccardo Romoli writes: > > > Hi, I work with org-babel and R. > > In the R session I create a table that I have to export to LaTeX. > >

[O] org-babel export table from R to LaTeX

2012-02-14 Thread Riccardo Romoli
Hi, I work with org-babel and R. In the R session I create a table that I have to export to LaTeX. This is the code I use: #+headers: :results latex #+begin_src R :session *R* :exports results . print(xtable(summary(mypca))) #+end_src I do not understand why the exported table is delimited

Re: [O] R export graphics

2012-02-13 Thread Riccardo Romoli
Hi Thomas, thanks for your fast replay. I had thought of this solution too but, since I have many folders that I need to move between, I need to have a "pivot" to start with. Best Riccardo 2012/2/13 Thomas S. Dye > Riccardo Romoli writes: > > > Hi, I have some trouble

[O] R export graphics

2012-02-12 Thread Riccardo Romoli
Hi, I have some trouble exporting figures from an R-org-babel session. The code I use to generate the figure is: #+name: my figure #+headers: :results graphics :file /Users/riccardoromoli/Documents/ Dropbox/PhD/myFigure.pdf #+begin_src R :session *R* :exports results ... #+end_src So, if I us

Re: [O] AUCTex within org-babel

2012-02-09 Thread Riccardo Romoli
: fig:foo > [[foo.jpg]] > I prefer to use the "original" LaTeX code!! Best Riccardo 2012/2/9 Jonas Hörsch > On Thu, Feb 09 2012, Riccardo Romoli wrote: > > > I have a further question: how can I export a code like this: > > > > #+begin_src latex > > \be

Re: [O] AUCTex within org-babel

2012-02-09 Thread Riccardo Romoli
t Riccardo 2012/2/9 Jonas Hörsch > hi riccardo, > > On Thu, Feb 09 2012, Riccardo Romoli wrote: > > > if you enter in the AUCTeX buffer (C-c') and than you use the AUCTeX C-c > > C-e, you can choose the environment you need in the emacs minibuffer such > > as in L

Re: [O] AUCTex within org-babel

2012-02-09 Thread Riccardo Romoli
Hi, Jonas if you enter in the AUCTeX buffer (C-c') and than you use the AUCTeX C-c C-e, you can choose the environment you need in the emacs minibuffer such as in LaTeX. Best Riccardo 2012/2/8 Jonas Hörsch > Hi list, > > On Wed, Feb 08 2012, Riccardo Romoli wrote: > > >

Re: [O] AUCTex within org-babel

2012-02-08 Thread Riccardo Romoli
Hi Eric, thanks a lot for your answer!! I completely ignore that C-c' lunch the small buffer for all the code within the src blocks. I belive it was used only for ESS Best Riccardo 2012/2/8 Eric Schulte > Riccardo Romoli writes: > > > Hi, is there a way to include the AUC

[O] AUCTex within org-babel

2012-02-08 Thread Riccardo Romoli
Hi, is there a way to include the AUCTeX function (i.e. to create a figure or a table or insert a font...) and markup color, within an org-babel document? Best Riccardo

Re: [O] Generating plot with org-babel-R

2012-02-06 Thread Riccardo Romoli
gt; Software. You can find it here: http://www.jstatsoft.org/v46/i03 > > Perhaps you could use the examples in the JSS article to get started? > If these don't work for you, or if they raise questions that are difficult > to answer, please do come back to the list with your queries.

Re: [O] Generating plot with org-babel-R

2012-02-05 Thread Riccardo Romoli
Hi, this is the URL: http://orgmode.org/worg/org-contrib/babel/how-to-use-Org-Babel-for-R.html Best R 2012/2/5 Thomas S. Dye > Hi Riccardo, > > This code appears to be outdated. I don't recall this code on the org > site. Could you send a URL? > > All the best, &g

[O] Generating plot with org-babel-R

2012-02-04 Thread Riccardo Romoli
Hi, I'm trying to generate some figure with R, into an org session. Firstly I use the code in the org site. The problem is that the code do not generate any figure. This is the code: #+TITLE:Test #+AUTHOR: Your Name #+EMAIL: your-em...@server.com #+BABEL: :session *R* :cache yes :results output g

Re: [O] org-babel export latex problem

2012-02-04 Thread Riccardo Romoli
Thanks for the suggestion, the update fix the problem. Best Riccardo 2012/2/3 Thomas S. Dye > The current version is 7.8. Could you update and see if the problem > persists? > > Tom > > Sent from my iPhone > > On Feb 3, 2012, at 1:43 AM, Riccardo Romoli wrote: > >

Re: [O] org-babel export latex problem

2012-02-03 Thread Riccardo Romoli
The version is 6.33x Best 2012/2/3 Thomas S. Dye > Riccardo Romoli writes: > > > Hi, I'm new of these list and of the org-babel world. > > I need to use both LaTeX and R, so I write the R code within an src > > block: > > > > #+begin_src R :result

[O] org-babel export latex problem

2012-02-02 Thread Riccardo Romoli
Hi, I'm new of these list and of the org-babel world. I need to use both LaTeX and R, so I write the R code within an src block: #+begin_src R :results output silent :exports none library(chemometrics) library(MASS) library(lattice) #+end_src When I export to LaTex (C-c C-e l) the R code I w