Also, just noticed that the jupyter notebook apparently isn't flushing old 
versions of the notebook before converting to PDF via LaTeX.  A major 
change and re-saving of the notebook still generates the old PDF.  Exiting 
and restarting the jupyter server still keeps the old notebook version to 
generate the PDF.  The only fix I found required me to give the notebook a 
new name to generate an updated PDF.  :(


On Sunday, September 10, 2017 at 11:27:57 AM UTC-6, Pstrang Rzekle wrote:
>
> *[user@host ~]$ sage -n jupyter*
> The above starts a jupyter notebook correctly.  After installing some 
> additional packages, I can now "*Download as.../PDF via LaTeX (.pdf)*" 
> correctly.  Yea!
>
> However, after using "*%display latex*" in the notebook, the equations 
> are still rendered as text in the PDF, *not* LaTeX as they are displayed 
> in the notebook.
>
> This is the reason for trying to use the command-line to generate the 
> LaTeX so I can use other tools to generate actual LaTeX equations from the 
> notebook.
>
> ===========================================================
> *[user@host ~]$ jupyter nbconvert --to latex test1.ipynb *
> *Traceback (most recent call last):*
> *  File "/usr/bin/jupyter-nbconvert", line 7, in <module>*
> *    from nbconvert.nbconvertapp import main*
> *  File "/usr/lib/python2.7/site-packages/nbconvert/__init__.py", line 4, 
> in <module>*
> *    from .exporters import **
> *  File 
> "/usr/lib/python2.7/site-packages/nbconvert/exporters/__init__.py", line 1, 
> in <module>*
> *    from .base import (export, get_exporter, *
> *  File "/usr/lib/python2.7/site-packages/nbconvert/exporters/base.py", 
> line 10, in <module>*
> *    from traitlets.log import get_logger*
> *ImportError: No module named traitlets.log*
> ===========================================================
>
> Thank you!
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to