inspirehep / plotextractor

Extract images and captions from TeX files in a tar archive.
GNU General Public License v2.0
3 stars 9 forks source link

plotextractor: store original plot format #2

Closed kaplun closed 8 years ago

kaplun commented 8 years ago

Moved from https://github.com/inveniosoftware/invenio/issues/316

By @tiborsimko: Originally on 2010-10-17

During plot extraction workflow, the original plot should be stored in whatever format we may have on the input side (usually EPS for arXiv files). We should then derive PNGs for web preview and store them as "derived formats" or perhaps "subformats" to its original EPS format, if the original format is not easily ready for nice in-browser-display. (Note also that storing PNGs as `derived formats' will help in saving storage space inodes.)

We should then update bfe_plots.py and friends in order to display "slave" PNG instead of "master" EPS where appropriate.