Convert beamer presentations to IPython notebooks
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file tex2ipy-0.3.tar.gz
.
File metadata
- Download URL: tex2ipy-0.3.tar.gz
- Upload date:
- Size: 12.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52f908a610920d20d5eee186a636c41fb264587b5e32a10abeaad472be274560 |
|
MD5 | 3f47d0b781707b0fe4c165c827d30a71 |
|
BLAKE2b-256 | d4bebd099a5614458999829bacc895c5cb1cf693caa3401339f3dc6e58949864 |
File details
Details for the file tex2ipy-0.3-py3-none-any.whl
.
File metadata
- Download URL: tex2ipy-0.3-py3-none-any.whl
- Upload date:
- Size: 12.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d307bcee57690873117eefa29392a854d908d07bdda26b72ebf02934195657a |
|
MD5 | 9cf1be3a0473be8520dcdab0cda3e1ff |
|
BLAKE2b-256 | f35c9780af47885d539252c1921011fa5fb14eb46dd7d98e0de46e7396de8c93 |