@takowl bookbook looks very nice and promising! Jesus, Alternatively, I used the following trick: In jupyter_latex_envs <https://pypi.python.org/pypi/jupyter_latex_envs>, there is an option to convert a notebook to LaTeX without headers (preambule) or footer (\end{document}); see the documentation <https://rawgit.com/jfbercher/jupyter_latex_envs/master/src/latex_envs/static/doc/latex_env_doc.html>, section 3.1 <https://rawgit.com/jfbercher/jupyter_latex_envs/master/src/latex_envs/static/doc/latex_env_doc.html#Conversion-to-LaTeX-and-HTML-3> . You can then convert your individual chapters using this command and gather them into a main TeXfile (which will also include the standard header used by the ipynb --> latex conversion, eg for rendering code). In turn, you will just have to compile this source file via latex/pdflatex/xelatex. If you are used to makefile, you can also design a makefile to automate updates. I used this approach for a project "A Journey in Signal Processing with IPython <https://github.com/jfbercher/LecturesSignalProcessing>" (a bit stalled for now). An example source file is here <https://github.com/jfbercher/LecturesSignalProcessing/blob/master/tex/Poly.tex>, and an example makefile here <https://github.com/jfbercher/LecturesSignalProcessing/blob/master/Makefile> (update the conversion command). The resulting pdf is here <https://rawgit.com/jfbercher/LecturesSignalProcessing/master/tex/Poly.pdf>.
Le jeudi 8 décembre 2016 21:59:27 UTC+1, Jesus Castello a écrit : > > Hello, > I was wondering if there is an easy way to use Jupyter Notebook to write > programming books. > > My idea is to have multiple notebooks, where every notebook is a chapter > from the book. Then render all the notebooks into a single PDF, with the > correct chapter order. > > Would that be possible without creating a custom extension? > > Thank you. > > -- You received this message because you are subscribed to the Google Groups "Project Jupyter" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/208384b6-33ef-4bdd-adb3-22bebdda2dac%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
