||3 weeks ago|
|.gitignore||3 weeks ago|
|Example.ipynb||3 weeks ago|
|Example.tex||3 weeks ago|
|Logo-CMYK.jpg||3 weeks ago|
|README.md||3 weeks ago|
|Vorlage_Abschlussarbeit.pdf||3 weeks ago|
|Vorlage_Abschlussarbeit.tex||3 weeks ago|
|connector.tex||3 weeks ago|
|diagramm.png||3 weeks ago|
|frontmatter.tex||3 weeks ago|
|listing_conversion.py||3 weeks ago|
|listing_preamble.tex||3 weeks ago|
|literatur.bib||3 weeks ago|
|mainmatter.tex||3 weeks ago|
Jupyter notebook to python conversion example!
Use to convert a Juypter notebook into an
*.tex file that can easely be imported!
Create a jupyter notebook. Do your experiments.
Headlines will be converted into sections and subsections! Register in
listing_conversion.py. There is a
dict at the top! Use an
*.ipynb fiel Add the
listing_preamble.tex to support the listings. Please do not modify them.
If you want to ensure your code is properly formated install black jupyter with
pip install black[juypter].
If you want your
pd.DataFrames formated like tables display them in jupyter like this:
This will be converted to
dataframe via regex. The output will also be formated. Some formating options will work via the
listing_conversion.py. Input your latex file into your project.
Also include the
listing_preamble.tex before the content starts.
Build your document!
You can ignore a prefix section in the
*.ipynb by adding
# Start here in a MD section. Everithing before the first occurrence of that headline will be dropped. The
#Start here tag will get lost to. This is optional!
You can ignore a suffix section in the
*.ipynb by adding
# End here in a MD section. Everithing after the first occurrence of that headline will be dropped. The
# End here tag will get lost to. This is optional!
Please contribute for additional functionality. Support for plots is still missing!