Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

Convert beamer presentations to IPython notebooks

Project description

Build Status codecov

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.


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 you can use this file as follows:

$ tex2ipy -c 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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for tex2ipy, version 0.3
Filename, size File type Python version Upload date Hashes
Filename, size tex2ipy-0.3-py3-none-any.whl (12.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size tex2ipy-0.3.tar.gz (12.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page