Re: [Rcpp-devel] Formulas in Markdown of Rcpp-Gallery

2013-09-24 Thread Simon Zehnder
On Sep 24, 2013, at 3:30 PM, Dirk Eddelbuettel wrote: > > On 24 September 2013 at 14:58, Simon Zehnder wrote: > | Thanks for giving it a try! > > Seconded. > > By the same token, if there are any Ruby/jekyll whizzes in the audience, we'd > take enhancements for mathjax and/or plot displays.

Re: [Rcpp-devel] Formulas in Markdown of Rcpp-Gallery

2013-09-24 Thread Dirk Eddelbuettel
On 24 September 2013 at 14:58, Simon Zehnder wrote: | Thanks for giving it a try! Seconded. By the same token, if there are any Ruby/jekyll whizzes in the audience, we'd take enhancements for mathjax and/or plot displays. Otherwise the status quo (.Rmd or .cpp into nicely formatted html inclu

Re: [Rcpp-devel] Formulas in Markdown of Rcpp-Gallery

2013-09-24 Thread Simon Zehnder
J.J., absolutely. Do not spend any more time on it. Everyone does understand what O(N^3) or an order of N to the power of 3 means. Thanks for giving it a try! Best Simon On Sep 24, 2013, at 2:40 PM, JJ Allaire wrote: > Okay, let's do it that way for now (I spent about 30 minutes seeing if

Re: [Rcpp-devel] Formulas in Markdown of Rcpp-Gallery

2013-09-24 Thread JJ Allaire
Okay, let's do it that way for now (I spent about 30 minutes seeing if there was a workaround and haven't found one yet). J.J. On Tue, Sep 24, 2013 at 8:20 AM, Simon Zehnder wrote: > Hi Dirk, > > good to now. I worked with knitr a lot but never with Ruby/Jekyll, so I > deduced prematurely that

Re: [Rcpp-devel] Formulas in Markdown of Rcpp-Gallery

2013-09-24 Thread Simon Zehnder
Hi Dirk, good to now. I worked with knitr a lot but never with Ruby/Jekyll, so I deduced prematurely that formulas are possible. As I wrote to J.J. I can as well use just O(N^3) or write it out. I just didn't want to submit an article that does not exhibit the expected text form. Best Simon

Re: [Rcpp-devel] Formulas in Markdown of Rcpp-Gallery

2013-09-24 Thread Simon Zehnder
Hi J.J., thanks for the response. If there is no easy workaround I either use O(N^3) or write it out. I think everyone understands what it means. Best Simon On Sep 24, 2013, at 1:51 PM, JJ Allaire wrote: > Simon, > > This works differently than standard R Markdown because there is a differe

Re: [Rcpp-devel] Formulas in Markdown of Rcpp-Gallery

2013-09-24 Thread Dirk Eddelbuettel
On 24 September 2013 at 13:10, Simon Zehnder wrote: | I need a little help with the markdown in .cpp files for the Rcpp-Gallery: | How do I type in inline formulas? For example O(N^3)? I tried $O(N^3)$ and | also $$latex O(N^3)$$ but nothing seems to work (I forked the repository | and make/make p

Re: [Rcpp-devel] Formulas in Markdown of Rcpp-Gallery

2013-09-24 Thread JJ Allaire
Simon, This works differently than standard R Markdown because there is a different markdown processor (Maruku) being used by jekyll. So out of the box this doesn't work but a workaround might be possible -- I'll investigate later today and let you know if I find something that works. J.J. On T

[Rcpp-devel] Formulas in Markdown of Rcpp-Gallery

2013-09-24 Thread Simon Zehnder
Dear Rcpp::Users and Rcpp::Devels, I need a little help with the markdown in .cpp files for the Rcpp-Gallery: How do I type in inline formulas? For example O(N^3)? I tried $O(N^3)$ and also $$latex O(N^3)$$ but nothing seems to work (I forked the repository and make/make preview works perfect -