On 05/30/2012 05:32 PM, Nico Williams wrote:
On Wed, May 30, 2012 at 11:24 AM, Allen Barker<allen.l.bar...@gmail.com>  wrote:
I've set up a repo on github for the program.

The code:
https://github.com/abarker/lyxNotebook

For a quick overview, see the first section of the documentation:
https://github.com/abarker/lyxNotebook/blob/master/lyxNotebookDocs.pdf

I looked at the README and I get it.  This is very much like the
weaver tool, that lets you compile statistics using R right in the LyX
document.  But yours is more generic.  The idea is very cool.  I
second the sentiment that this should be added to the tools wiki page.

Nico

PS: I have no use for this right now, but I'll keep it in mind.  One
use that comes to mind is using this approach to automatically test
code samples in a book, but that would need a way to request that code
be tested but output not included in the document.

The printing of cells of various types can be suppressed
by including a Latex command in the preamble or in an ERT.
To suppress printing of output cells for Python 2, for
example, you would add \lyxNotebookPrintOffOutputPythonTwo.
(The current implementation then uses \let to redefine
those cells to be Verbatim comment blocks.)



Reply via email to