consider iffalse state

This commit is contained in:
qingxu fu committed 2023-06-04 14:06:02 +08:00
1 parent 7296d054a2
commit b0fed3edfc
1 file changed
+1
+1
View File
@@ -239,6 +239,7 @@ class LatexPaperSplit():
split_worker(root, r"\\subsubsection\{(.*?)\}")
split_worker(root, r"\\bibliography\{(.*?)\}")
split_worker(root, r"\\bibliographystyle\{(.*?)\}")
split_worker(root, r"\\iffalse(.*?)\\fi", re.DOTALL)
split_worker(root, r"\\begin\{lstlisting\}(.*?)\\end\{lstlisting\}", re.DOTALL)
split_worker(root, r"\\begin\{wraptable\}(.*?)\\end\{wraptable\}", re.DOTALL)
split_worker(root, r"\\begin\{algorithm\}(.*?)\\end\{algorithm\}", re.DOTALL)