Skip to content

Commit

Permalink
Find aux files also in underlying directories
Browse files Browse the repository at this point in the history
  • Loading branch information
kthoden committed Jul 9, 2021
1 parent 9d1e91f commit 1606fa6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/eoatex2imxml.py
Original file line number Diff line number Diff line change
Expand Up @@ -1038,7 +1038,8 @@ def number_lists( xmlChapters ):

def process_page_references( latex_dir, set_citations ):
dictPagelabels = {}
listAuxFiles = glob.glob( str(latex_dir / "*.aux") )
listAuxFiles = [str(x) for x in latex_dir.rglob('*.aux')]
# listAuxFiles = glob.glob( str(latex_dir / "*.aux") )
if len(listAuxFiles) == 0:
raise( Exception("No aux file found. Exiting") )
else:
Expand Down

0 comments on commit 1606fa6

Please sign in to comment.