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
tex2ipy uses the very convenient TexSoup package to parse LaTeX. This package has a few 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.2.tar.gz
.
File metadata
- Download URL: tex2ipy-0.2.tar.gz
- Upload date:
- Size: 12.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 624149d3fdaede1caae511fec725d1258ed81967c143db052f46bd6b54b6522e |
|
MD5 | bb7a2f7fd706db9d1a55444ce3a83d34 |
|
BLAKE2b-256 | 0ac6950809924bb3be659802d7d5836701efe37bc86b8fa2885d7732c6b191fc |
File details
Details for the file tex2ipy-0.2-py2-none-any.whl
.
File metadata
- Download URL: tex2ipy-0.2-py2-none-any.whl
- Upload date:
- Size: 11.9 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89832cc5efa75a89e3f046b5daa8eaeb06285c6388e8660e353f30732d775e08 |
|
MD5 | 4e4daca644031631d98ea76ec49f6449 |
|
BLAKE2b-256 | 70117acdfe179a27c506f9283d8205e3e9c255d835dd32d103fbb44852a2a129 |