Jul-07-2020, 08:13 PM
Hi ,
Im brand new to python and have recently purchased "python for civil and structural Engineers" . I currently work in engineering and im hoping to move away from excel and use python for some calculations , charts, graphs etc...
One of the main things that appeals to me is being able to export the jupyter notebook to LaTeX. This would automate a lot of reports i do and save me manually inputting mathematical notation.
I have installed nbconvert through anaconda using
-c conda-forge jupyter_contrib_nbextensions
I've then enabled the Nb extensions located https://python4civil.weebly.com/exporting-in-latex.html
ive also downloaded the default template like the book suggests .I then navigate to the folder where the notebook and the template are saved in the anaconda prompt.I have then typed :
jupyter nbconvert --to latex --template temp.tplx notebook_name.ipynb
where my file is notebook_name.ipynb and no .tex file is created .
ive also tried other formats , such as PDF and other templates such as
jupyter nbconvert --to latex --template article notebook_name.ipynb
None of which have worked either . Im just wondering if anyone else uses the conversion and has any issues as ive literally copied this bit out line by line from the book.
Im brand new to python and have recently purchased "python for civil and structural Engineers" . I currently work in engineering and im hoping to move away from excel and use python for some calculations , charts, graphs etc...
One of the main things that appeals to me is being able to export the jupyter notebook to LaTeX. This would automate a lot of reports i do and save me manually inputting mathematical notation.
I have installed nbconvert through anaconda using
-c conda-forge jupyter_contrib_nbextensions
I've then enabled the Nb extensions located https://python4civil.weebly.com/exporting-in-latex.html
ive also downloaded the default template like the book suggests .I then navigate to the folder where the notebook and the template are saved in the anaconda prompt.I have then typed :
jupyter nbconvert --to latex --template temp.tplx notebook_name.ipynb
where my file is notebook_name.ipynb and no .tex file is created .
ive also tried other formats , such as PDF and other templates such as
jupyter nbconvert --to latex --template article notebook_name.ipynb
None of which have worked either . Im just wondering if anyone else uses the conversion and has any issues as ive literally copied this bit out line by line from the book.