djsutherland / arxiv-collector

A little Python script to collect LaTeX sources for upload to the arXiv.
BSD 3-Clause "New" or "Revised" License
334 stars 23 forks source link

Should replace ".eps" file extension in tex files #20

Open Tobias-Fischer opened 3 years ago

Tobias-Fischer commented 3 years ago

My arxiv-collector version is:

0.3.5 (installed via conda-forge)

Description:

arxiv-collector places pdf files instead of eps files in the .tar.gz (and does rightly so). However, the includegraphics command does not get updated - it still refers to the eps file. A simple regex / replace should fix the issue.

arxiv.tar.gz

djsutherland commented 2 years ago

When I'm using eps-to-pdf, I always avoid putting an extension on the \includegraphics, which is why I didn't write code to do this. I'll add it to the list to optionally do, though.