Skip to content

Release v77

Latest

Choose a tag to compare

@github-actions github-actions released this 27 Nov 06:11
修复 PDF 代码块前多出的 -20pt 文本

- listings 的 linewidth 键按裸 dimen 赋值(\linewidth\lst@linewidth\relax),
  传入 \linewidth-20pt 时尾部 -20pt 被当作正文排版到每个代码块前
- 移除该设置,宽度已由 xleftmargin/xrightmargin 由 listings 内部从 \linewidth 扣除
- 移除仅服务于该行的 calc 宏包
- 顺带清理第 11 章代码块中的纯空白行尾空格,触发 PDF/EPUB 重新构建