Tex2IPython Notebook
This package makes it easy to convert a LaTeX file (currently) typically using the beamer package into an IPython notebook with RISE.
To use the package, simply run:
$ tex2ipy talk.tex talk.ipynb
This does not attempt to completely cover all TeX macros. Bulk of the basics should work hopefully covering 90% of the basic macros.
There is a simple example presentation LaTeX file in the examples directory along with the converted IPython notebook.
Customization
If you wish to support more macros or your own, you can subclass Tex2Cells and add any handlers for your own macros. Let us say you add additional methods to your subclass and in a file called customize.py you can use this file as follows:
$ tex2ipy -c customize.py talk.tex talk.ipynb
This will use your customizations for the conversion.
Known issues
Does not yet handle tables/tabular environments.
tex2ipy uses the very convenient TexSoup package to parse LaTeX. This package has a few minor issues with parsing inline math expressions embedded inside itemize/enumerate lists. This can cause some issues when converting files.
Metadata
Release files for tex2ipy 0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tex2ipy-0.3.tar.gz | 12.2 kB | Without provenance | Details for tex2ipy-0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tex2ipy-0.3-py3-none-any.whl | Python 3 | none | any | Details for tex2ipy-0.3-py3-none-any.whl |
Total release size: 24.3 kB
Release files / tex2ipy-0.3.tar.gz
| Download URL | tex2ipy-0.3.tar.gz |
|---|---|
| Size | 12.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
52f908a610920d20d5eee186a636c41fb264587b5e32a10abeaad472be274560
|
|
BLAKE2b-256 checksum How to use checksums |
d4bebd099a5614458999829bacc895c5cb1cf693caa3401339f3dc6e58949864
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / tex2ipy-0.3-py3-none-any.whl
| Download URL | tex2ipy-0.3-py3-none-any.whl |
|---|---|
| Size | 12.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0d307bcee57690873117eefa29392a854d908d07bdda26b72ebf02934195657a
|
|
BLAKE2b-256 checksum How to use checksums |
f35c9780af47885d539252c1921011fa5fb14eb46dd7d98e0de46e7396de8c93
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for tex2ipy 0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.