Releases
v1.12.51
Compare
Sorry, something went wrong.
No results found
linhut
released this
04 Aug 11:27
v1.12.51 — v1.12.50 优化方案修复 + 座签样式对齐示例
批次一 P0
FIX-A001 (check-fix 死循环):CHK/FIX 页边距行距同步——FIX-C003 页边距改 2.8/2.8/2.7/2.7cm、
FIX-C015/body/CHK-C006/speech.yaml 行距统一 33pt;Python 硬编码 16 处清零
(gongwen×6 / inject×8 含 EMU 367665→419100、twips '579'→'660' / modifier×1 / style_profile×3)
FIX-A002+B003 (批注锚定):_anchor_comment 重构——向上追溯锚定点到 w:p 直接子元素
(commentRangeStart/End 不再落入 w:ins/w:del 内部)+ w:delText 搜索(纯删除段可锚定)
FIX-A003 (验证误报):批注验证 W 命名空间去花括号,f-string 展开与 lxml tag 一致
批次二 P1
FIX-B001 (座签 BOM):三层防御——gongwen utf-8-sig + parse_name_list 入口剥离 + _format_name 深层剥离
FIX-B002 (md2docx 页码):generate_docx 后注入 - {PAGE} -(宋体 14pt 居中)
FIX-B003 :并入 FIX-A002(delText 搜索)
批次三 P2
FIX-C001 (md2docx BOM):输入改 utf-8-sig(顺带修复 # 标题失配)
FIX-C002 (docx_to_image):subprocess 统一 encoding='utf-8'
座签样式(对齐示新座签.docx)
页面 20.99×29.70cm、表格 2 行 1 列(正反各 1 行)、边框 color=auto、
修复 tblW 重复节点 bug(宽 10838 twips)、新增模板布局测试
验证
You can’t perform that action at this time.