Hacker News new | ask | show | jobs
by brianto2010 5052 days ago
This is a huge stretch, but will there be any support for noweb?

Whenever I use LaTeX, it's usually for math/physics/stat homework where either computation or graphs are involved. It would be lovely if I could somehow inject (for example)

    <<echo=FALSE,fig=TRUE>>=
    x <- -5:5
    y <- (x - 2)^2 - 5

    plot(x, y)
    @
into the page and have a graph show up.
1 comments

Creator here...

That would be really cool -- I use Sweave and R a lot, and I often wish I could do this in writeLaTeX, but I haven't made much progress on it. The server side would be pretty complicated.

For simple plots, it's amazing what you can do in LaTeX with pgfplots and similar -- e.g. http://writelatex.com/4134bzfwng

Thanks for the comment!