I needed to submit a book to Springer and they wanted figures in .eps format.
I had all my figures embedded in latex so had to find a way of converting all pdf to eps. So here goes the script I found online.
OK, but I had many pdf figures. So this simple command will help to iterate through all pdf images in the folder and pass it to the above script after removing the .pdf extension.
ls | grep pdf | while read x; do pdf2eps 1 ${x%.*}; done
I had all my figures embedded in latex so had to find a way of converting all pdf to eps. So here goes the script I found online.
OK, but I had many pdf figures. So this simple command will help to iterate through all pdf images in the folder and pass it to the above script after removing the .pdf extension.
ls | grep pdf | while read x; do pdf2eps 1 ${x%.*}; done
Comments
Post a Comment