schlaicha / jupyter-publication-scripts Goto Github PK
View Code? Open in Web Editor NEWUseful scripts for Making publication ready Python Notebooks
License: BSD 2-Clause "Simplified" License
Useful scripts for Making publication ready Python Notebooks
License: BSD 2-Clause "Simplified" License
There is a nice package available at https://gitcafe.com/yuexue/unicode_tex/ which we should incorporate in pre_cite2c.py
instead of maintaining our own list there.
On my machine running python -m jupyterpublicationscripts
leaves an empty config (Python2 vs 3 problem?).
Also the template folder has to be added. One has to be careful, because the ~ expansion doesn't work...
Finally, this should be merged into the normal setup routine...
Maybe @schlaicha can help.
Dear jupyter-publication-scripts-Team,
it would be nice to add a custom LaTeX preamble to add extra packages and definitions.
Thanks a lot.
Following the tutorial in here, found the following issues in Converting notebook to LaTeX/PDF:
pymdpreprocessor.py
.bibprepreprocessor.py
also not found in the provided linkWhat is the correct way to get output format of nbconvert?
When nbconvert is called with --to=pdf bibtex is not called, although according to documentary this should work automatically... Investigate and fix :)
Currently we have two tplx templates, that contain almost the same content. Change this into a inheritance based concept.
Currently we have almost no proper licence texts in the sources. Change them all to the licence from Jupyter!
The cite2c preprocessor crashes, if certain fields such as author are missing. One should write some exception handling for that...
A nice way to include external figures in a notebook is e.g.
from IPython.display import Image
Image(filename='test.png')
However, that way we still have the [out]
block present in the LaTeX file.
Is there any nicer way of handling figures? Otherwise we should modify the LaTeX preprocessors correspondingly.
According to the documentation of the Revtex-package we can easily have two-column tables:
_To set a table to the full width of the page, rather than the column, use the table_
environment.*
We should add a corresponding flag to the metadata and modify the preprocessors correspondingly!
If we write not only the jupyter_nbconvert_config.json
but also the jupyter_notebook_config.json
, we can get perfect pdf output directly from the browser without the need of the commandline. Works really nice... especially if the bibtex upstream bug is fixed (they seem to agree with me^^)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.