md2pdf重构为x2pdf:渲染层reportlab→WeasyPrint(md/txt/html)+LibreOffice(docx/xlsx/pptx/odt*),md/txt套默认黑白CSS并页码、html不套仅显式page生效,page/css参数化版式(默认CSS<page<css文件),依赖自带声明(requirements锁weasyprint==65.1/markdown==3.6——62.x对pydyf≥0.11无上界致transform崩,63+已适配;install.sh自检pango/cairo与CJK字体),删md2pdf整目录与cjk.ttf提取逻辑,img-utils改认系统wqy,README范例改指img-utils/x2pdf,system-prompt加PDF一律走x2pdf,技能清单段落格式改为名字:描述(listSkills已排序不动)
This commit is contained in:
+2
-1
@@ -39,9 +39,10 @@ ENV MPLBACKEND=Agg \
|
||||
# util-linux 提供 unshare/mount/umount(隔离 wrapper 必需);sudo 已刻意不装。
|
||||
RUN apt-get update -y && apt-get install -y --no-install-recommends \
|
||||
ca-certificates curl git python3 python3-pip python3-venv python3-dev \
|
||||
ripgrep wget jq p7zip-full unzip unar file tree \
|
||||
ripgrep wget jq p7zip-full unzip unar zip file tree \
|
||||
libreoffice-writer libreoffice-calc libreoffice-impress \
|
||||
fonts-noto-cjk fonts-dejavu fonts-stix \
|
||||
fonts-wqy-microhei fonts-wqy-zenhei \
|
||||
poppler-utils qpdf ghostscript imagemagick \
|
||||
tesseract-ocr tesseract-ocr-chi-sim \
|
||||
ffmpeg sqlite3 libsqlite3-dev \
|
||||
|
||||
Reference in New Issue
Block a user