As a person who just discovered Jupyter Notebooks and is working on one now for a project (calculating feeds and speeds for a CNC machine), I'd just like to note that having a native facility in LyX to import them, or better still round-trip them (at least some defined subset of their capabilities) would be _fabulous_.
William On Tue, Jan 23, 2018 at 12:12 PM, José Abílio Matos <jama...@lyx.org> wrote: > On Thursday, 18 January 2018 06.00.41 WET Joel Kulesza wrote: > > > b. > > > I will use such Notebooks more and more in the future, and it would be > > > extremely useful if I could import then in an easy way into LyX. > > > > > > > > > Here I've used the pdfpages package to include PDFs from Jupyter (or > other > > > tools) embedded in the containing LyX-produced PDF. > > > > If the purpose is to include the whole file maybe we could use an external > template, just like the pdfpages. > > > > The conversion to latex is done with > > > > jupyter nbconvert --to latex /path/to/notebook.ipynb > > > > and the final result will be /path/to/notebook.tex > > > > [This is a general question to other developers] > > I have a generic question regarding this procedure. Would it be possible > to extract the latex body from that file (basically everything inside the > document environment)? > > > > The rationale is that then all the document would be compiled with a > seamless integration. > > > > Actually this is a feature that although with some problems where I like > lyx a lot more than latex. We are able to insert full documents inside > other documents. I have seen this done with latex and it always requires to > use an extra layer in order to be able to use \input. > > > > Regards, :-) > > -- > > José Abílio >