- add Local Render Mermaid - add page-starе для указания смещения страниц - add Гиперссылки в документе на списки литературы
This commit is contained in:
+15
-1
@@ -44,8 +44,13 @@ datas += collect_data_files("docx")
|
||||
# Explicit mpl-data so DejaVu + matplotlib font cache files are always in the exe.
|
||||
# hook-matplotlib.py also collects this; PyInstaller dedupes by dest path.
|
||||
datas += collect_data_files("matplotlib", includes=["mpl-data/**"])
|
||||
for _pkg in ("mermaidx", "termaid", "quickjs", "quickjs_ng", "resvg_py", "playwright"):
|
||||
try:
|
||||
datas += collect_data_files(_pkg)
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
for pkg in ("lxml", "freetype"):
|
||||
for pkg in ("lxml", "freetype", "quickjs", "resvg_py"):
|
||||
try:
|
||||
binaries += collect_dynamic_libs(pkg)
|
||||
except Exception:
|
||||
@@ -78,6 +83,15 @@ hiddenimports += [
|
||||
"tkinter.filedialog",
|
||||
"tkinter.messagebox",
|
||||
"tkinter.ttk",
|
||||
"mermaidx",
|
||||
"mermaidx.diagram",
|
||||
"mermaidx.engines",
|
||||
"mermaidx.engines.quickjs_engine",
|
||||
"termaid",
|
||||
"quickjs",
|
||||
"resvg_py",
|
||||
"playwright",
|
||||
"playwright.sync_api",
|
||||
]
|
||||
# Do NOT collect_submodules("pygments.lexers") here — hook-pygments.py already
|
||||
# collects all lexers/formatters/styles once during Analysis.
|
||||
|
||||
Reference in New Issue
Block a user