Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 875 Bytes

README.md

File metadata and controls

15 lines (12 loc) · 875 Bytes

python script that prepares a latex project for submission by collecting the used figures and references

This assumes that the figures and bibfiles are in their own directory

run with:

./latex_preparer.py --project_path=/PATH_TO_LATEX_PROJECT/ --figures_folder=new_figures --main_tex=main.tex

Roadmap

  • when searching for the list of figures exclude the ones in commented out lines
  • remember! same as above for the bib files
  • check if multiple bib files
  • check if figures are under directories
  • tex file does not need to be the main tex file. It can be any tex file that is in the project. Maybe the script should scan all tex files that are used. Did this but the problem is that if a .tex file is not used it's still scanned. A better solution would be to find the main file and then scan all the tex files that are included from there.