"Thomas S. Dye" <t...@tsdye.com> writes: > On Nov 1, 2009, at 1:42 PM, Dan Davison wrote: > >> "Thomas S. Dye" <t...@tsdye.com> writes: >> >>> On Nov 1, 2009, at 12:24 PM, Dan Davison wrote: >>> >>>> "Thomas S. Dye" <t...@tsdye.com> writes: >>>> >>>>> Aloha all, >>>>> >>>>> Is it possible to use the noweb syntax to pass LaTeX output from R >>>>> into a latex source block? I thought this would work, but the >>>>> noweb >>>>> expansion yields nil. <...> > > Hi Dan, > > This org file reproduces the results I'm seeing.
Hi Tom, Thanks, I've fixed that, change will be available soon. In the meantime, I believe that the example does work OK as long as the results of the r-weight-quantile block are *not* in the org buffer. Dan > > * test R->latex > > #+begin_src latex :tangle td2.tex > Here is the inner block: > <<inner-block>> > #+end_src > > #+srcname: inner-block > #+begin_src latex > Here is the output of the quantile > function: > <<r-weight-quantile()>>. > #+end_src > > #+srcname: r-weight-quantile > #+begin_src R :session :noweb :results output latex > library(xtable) > xtable(data.frame(cbind(a=1:3,b=4:6))) > #+end_src > > > % generated by org-babel-tangle > > % [[file:~/Public/projects/903_adzes/org-babel/test-noweb.org::*test > %20R%20latex][block-1]] > Here is the inner block: > > Here is the output of the quantile > function: > nil. > % block-1 ends here > > Tom > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode