From 146fde30b8026d49baf2777eb6767dd3d46c3b5b Mon Sep 17 00:00:00 2001 From: kaixindelele <1985790413@qq.com> Date: Tue, 27 Jun 2023 17:31:09 +0800 Subject: [PATCH] Update latex_utils.py --- crazy_functions/latex_utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/crazy_functions/latex_utils.py b/crazy_functions/latex_utils.py index c048fc9..29a0c21 100644 --- a/crazy_functions/latex_utils.py +++ b/crazy_functions/latex_utils.py @@ -292,6 +292,7 @@ def split_subprocess(txt, project_folder, return_dict, opts): text, mask = split_worker(text, mask, r"\\begin\{align\}(.*?)\\end\{align\}", re.DOTALL) text, mask = split_worker(text, mask, r"\\begin\{equation\}(.*?)\\end\{equation\}", re.DOTALL) text, mask = split_worker(text, mask, r"\\begin\{equation\*\}(.*?)\\end\{equation\*\}", re.DOTALL) + text, mask = split_worker(text, mask, r"\\includepdf\[(.*?)\]\{(.*?)\}") text, mask = split_worker(text, mask, r"\\item ") text, mask = split_worker(text, mask, r"\\label\{(.*?)\}") text, mask = split_worker(text, mask, r"\\begin\{(.*?)\}")