You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Congratulations on thank you for this magnificent tool!
I was wondering whether a recursive function is needed to parse LatexGroupNodes?
E.g.
def traverse(node):
#Parsing for enumerate environments
if node.isNodeType(LatexEnvironmentNode) and node.environmentname == "enumerate":
[omitted]
#check for enumeration nested within LatexGroupNodes
if node.isNodeType(LatexGroupNode): #Recurse into groupnodes
traverse(node)
#loop through nodes
for node in nodes:
traverse(node)
If so, what's the best approach to avoid infinite recursion?
The text was updated successfully, but these errors were encountered:
Congratulations on thank you for this magnificent tool!
I was wondering whether a recursive function is needed to parse LatexGroupNodes?
E.g.
If so, what's the best approach to avoid infinite recursion?
The text was updated successfully, but these errors were encountered: