Open ianjauslin-rutgers opened 11 months ago
My codebase is horribly mangled so I cannot submit a PR for this right now, but one fix is to change
to
if childNodes:
for grandchildNode in childNodes:
if grandchildNode.nodeName == 'thmenv':
return grandchildNode
Could you please test again with plastex's master branch? I pushed a fix there which should be relevant.
Correction: I realized my "fix" was incorrect so I reverted it. Sorry about the noise. I will continue to investigate.
It should be good now.
I ran into an issue where the dependency graph is not generated properly if the line preceding '\begin{theorem}' or '\begin{definition}' is not empty.
Setup:
Steps to reproduce: use the following tex file:
The dependency graph does not show the dependency between test and test2. It works fine if the lines before the theorems are blank.