Small library for converting and mapping plots in TeX source used in scholarly communication.
- Free software: GPLv2
- Documentation: http://pythonhosted.org/plotextractor/
Originally part of Invenio https://github.com/inveniosoftware/invenio.
pip install plotextractor
from plotextractor import process_tarball
plots = process_tarball("/path/to/tarball.tar.gz")
print(plots[0])
{
'url': '/path/to/tarball.tar.gz_files/d15-120f3d.png',
'captions': ['The $\\rho^0$ meson properties: (a) Mass ...']
'name': 'd15-120f3d',
'label': 'fig:mass'
}
If you experience frequent DelegateError
errors you may need to update your version
of GhostScript.