• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

prabhuramachandran/tex2ipy: Convert LaTeX beamer files to Jupyter/IPython notebo ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

prabhuramachandran/tex2ipy

开源软件地址:

https://github.com/prabhuramachandran/tex2ipy

开源编程语言:

Python 100.0%

开源软件介绍:

Tex2IPython Notebook

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.

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.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap