Add the original OUP journal project to the publisher matrix

This commit is contained in:
gloamxun committed 2026-11-29 09:53:42 +08:00
1 parent 050ff5bde2
commit 893b46baae
4 files changed
+55 -3

No files matched your search

+19
View File
@@ -18,6 +18,25 @@
| W6 会话 | 实施中 | 共享库/CLI 与当前原生文字/数学/规则来源进入公共结果;真实 A4 副本九类/27 revision 与独立干净作业页面/PDF/aux/映射一致,新增数学场景独立参考通过;详细失败/捕获重放及宿主/离线/CLI观察已通过;原子项目版本/已知生成初态及TeX流记录已接通;原样 12 页 NeurIPS 的中部编辑与恢复已验证前后缀复用、仅更新一页,且与独立全量一致。全部副作用/交叉编辑、旧来源与正式性能门禁仍待闭合 |
| W7 总验收 | 未满足 | 原有和新增测试、原样项目、格式与会话门禁全部通过才能结项 |
## 2026-11-29 OUP 双栏分页与字形差异
原样 OUP Contemporary Large 覆盖跨栏表格、脚注、双栏浮动及实际
TikZ 图形。原生与参考从空辅助文件开始,各三轮生成 10 页,逐轮
aux 字节一致,最终 144 DPI 灰度图全等。第 1、7 页字形精确坐标
仍有差异。首处出现在同一字体的连续字符内。实际 PDF 一个 TJ
位移相差 1/1000 em。按第一处原版盒记录重建的 98 字形单行,
以及补入原生页前三个行首坐标的见证均在两端一致。原样页输出和
两个缩减结果都保留。下一入口是比较整页出页前的实际原始位置
与文字模式状态,追到最早分歧后按通用语义处理。
[pdfTeX 1.40.29 文字位置算法](https://github.com/TeX-Live/texlive-source/blob/trunk/texk/web2c/pdftexdir/pdftex.web#L15013-L15123)
旧格式缺少 special,较新的冻结格式越过该处。当时 90 秒上限曾
在内核完成 171,226,512 步、持有 10 页后打断导出。延长单轮等待后
三轮实际全量作业耗时为 82.5、89.2、89.7 秒。矩阵脚本新增可选的
单轮等待时间,以原样 IEEE 双栏走通该参数及三轮 aux。原样 OUP 的
编辑耗时尚待与独立全量建立对照。
[出版模板记录](PUBLISHER_TEMPLATE_MATRIX.md#2026-11-29-oup-原样双栏阶段对照)
## 2026-11-29 新增三份原样 REVTeX 期刊
当前已验证的 REVTeX 归档新增 AAPM、AIP JMP 与 SOR JOR 三项。
+22
View File
@@ -16,6 +16,7 @@
| 期刊双栏 | AAPM REVTeX aapmsamp.tex | [REVTeX 4.2 发布包](https://ctan.org/pkg/revtex) |
| 期刊单栏 | AIP Journal of Mathematical Physics aipsamp.tex | [AIP REVTeX 作者指南](https://mirrors.mit.edu/CTAN/macros/latex/contrib/revtex/aip/aipguide4-2.pdf) |
| 期刊单栏 | Society of Rheology sorsamp.tex | [REVTeX 4.2 发布包](https://ctan.org/pkg/revtex) |
| 期刊双栏 | Oxford University Press Contemporary Large | [OUP 官方类发布](https://ctan.org/pkg/oup-authoring-template) |
| 期刊单栏 | ACM `acmsmall.tex` | [ACM acmart 官方发布](https://ctan.org/pkg/acmart) |
| 期刊双栏 | ACM Transactions on Graphics `acmtog.tex` | [ACM acmart 官方发布](https://ctan.org/pkg/acmart) |
| 会议 | ACM `sigconf.tex` | [ACM acmart 官方发布](https://ctan.org/pkg/acmart) |
@@ -29,6 +30,7 @@
`<键名>.zip`。`scripts/probe-publisher-templates.py` 会校验包的 SHA-256,独立复制
源文件树,用固定参考格式和指定原生格式执行。它保留每轮命令、错误、aux 版本、
字体、页面与词框。需要 BibTeX 时,两端都从实际作业生成的 aux 独立运行。
大型作业可通过 --latex-timeout 调整每轮 LaTeX 的等待上限,参数写入报告。
两端从同一入口文件名取得作业名,参考端的生成文件单独存放。不会把参考端生成
的文件抄给原生。样例自带的 PDF 不用作本轮成功输出。依赖可用
`--texmf-overlay` 传入本地测试用 TeX 树,并用 `--font-map` 指定环境中实际使用的
@@ -1366,6 +1368,26 @@ AAPM 六页均有双栏正文,包含跨栏材料及实际行号。三份样稿
SHA256SUMS 指纹为
b28428bee893bb2b76ad01053fcc0aecbd99587bb5511a2bf3f3fb1462028f4f。
### 2026-11-29 OUP 原样双栏阶段对照
OUP 的 Contemporary Large 默认样稿按官方 1.5 版原样执行。实际使用
stfloats、flushend、footmisc、arydshln 及 TikZ。冻结的归档包含九份
文件。用随文提供的文献,从空辅助文件开始,参考与原生三轮均生成
10 页。三轮 aux 逐轮一致,末轮没有未定义引用。32,469 个字形的
身份与顺序、6,109 个提取词顺序、10 页 144 DPI 灰度图全部一致。
第 1、7 页分别有 733、28 个字形的位置存在差异,词框差异也限这两页。
第 1 页首个不同的横坐标为 250.4754 与 250.4674 bp,第 7 页首差
为 427.9244 与 427.9164 bp。现有版面容差保持。
首次对照保留了两端相同的依赖缺失、旧原生格式缺少 special 及后来
一次单轮超时。补充原版包并使用保留的较新原生格式后,原生三轮
实际约 82.5、89.2、89.7 秒。这是独立命令行全量作业耗时。
项目已注册为 oup-contemporary-large,后续联合运行可使用
--latex-timeout 240。实际环境、三轮结果及差异在
target/p3-oup-journals/。SHA256SUMS 指纹为
2db0efddfeeab2cad82a65db569d77463937b7566b6e0c08de39caf2ccb156da。
[OUP 官方包](https://ctan.org/pkg/oup-authoring-template)
单纯生成 PDF 或 DVI 只说明编译路径可达。完整验收要在参考环境闭合后比较页数、
双栏位置及跨栏材料、实际字体/字形、图表浮动、引用收敛、词框及墨迹;测试源
与容差都不得为通过而替换。类 Typst 的编辑延迟另用同批原样项目分规模测量,
+10 -3
View File
@@ -25,6 +25,8 @@ CASES = [
("aapm-revtex", "journal-two-columns", "revtex", "revtex/sample/aapm/aapmsamp.tex"),
("aip-revtex-jmp", "journal-single-column", "revtex", "revtex/sample/aip/aipsamp.tex"),
("sor-revtex-jor", "journal-single-column", "revtex", "revtex/sample/sor/sorsamp.tex"),
("oup-contemporary-large", "journal-two-columns", "oup-authoring-template",
"oup-authoring-template/oup-authoring-template.tex"),
("springer-lncs", "conference", "springer-lncs", "samplepaper.tex"),
("ieee-conference", "conference", "ieee", "IEEEtran/bare_conf.tex"),
("acl", "conference", "acl", "acl-style-files-master/acl_latex.tex"),
@@ -65,12 +67,12 @@ def unpack(path, directory):
archive.extractall(directory)
def run(command, cwd, env, label, evidence):
def run(command, cwd, env, label, evidence, *, timeout=90):
with (evidence / f"{label}.stdout.log").open("wb") as output, \
(evidence / f"{label}.stderr.log").open("wb") as errors:
try:
status = subprocess.run(command, cwd=cwd, env=env, stdout=output, stderr=errors,
timeout=90).returncode
timeout=timeout).returncode
except subprocess.TimeoutExpired:
status = 124
return {"command": list(map(str, command)), "exit_code": status, "label": label}
@@ -193,7 +195,7 @@ def compile_sample(template, entry, evidence, args, engine, figures):
if engine == "native":
command = [*latex[:-2], "--resource-manifest", evidence / f"{label}.resources.json",
"--layout-manifest", evidence / f"{label}.layout.json", *latex[-2:]]
step = run(command, cwd, env, label, evidence)
step = run(command, cwd, env, label, evidence, timeout=args.latex_timeout)
recorder = job_directory / f"{jobname}.fls"
if engine == "reference" and recorder.is_file():
shutil.copyfile(recorder, evidence / f"{label}.fls")
@@ -255,9 +257,13 @@ def main():
parser.add_argument("--ghostscript", type=lambda p: Path(p).resolve(strict=True),
help="Ghostscript executable for explicit conversion of the original EPS figures")
parser.add_argument("--max-passes", type=int, choices=range(4, 13), default=4)
parser.add_argument("--latex-timeout", type=int, default=90, metavar="SECONDS",
help="maximum time per LaTeX pass (default: 90 seconds)")
parser.add_argument("--case", action="append", choices=[item[0] for item in CASES],
help="run selected cases; omit to run the complete matrix")
args = parser.parse_args()
if args.latex_timeout <= 0:
parser.error("--latex-timeout must be positive")
if args.font_map and args.font_map.name != "pdftex.map":
parser.error("--font-map must name a pdftex.map file")
selected = [item for item in CASES if not args.case or item[0] in args.case]
@@ -308,6 +314,7 @@ def main():
"native_format_sha256": sha(args.native_format),
"reference_format_sha256": sha(args.reference_format), "texmf_overlay": additions,
"font_map_sha256": font_map_sha256,
"latex_timeout_seconds": args.latex_timeout,
"archive_preparation": archive_preparation, "templates": results}
assert not args.texmf_overlay or inputs(args.texmf_overlay) == additions
assert not args.font_map or sha(args.font_map) == font_map_sha256
+4
View File
@@ -3,6 +3,10 @@
"ea3a8a0fdbac77f95de47639541b09ef1583e059ace6783367490af9fa0b9a60",
"https://journals.plos.org/plosone/s/file?id=1457%2FPLOS_latex_template.zip"
],
"oup-authoring-template": [
"025434f53ed3a46b9fd84d50a78c734c309476bc47b1cb7a90c383734df38e97",
"https://mirrors.mit.edu/CTAN/macros/latex/contrib/oup-authoring-template.zip"
],
"springer-journal": [
"812e76dcaa9c28dc1bff1fb6065d51729b67d4ea140552a05088317414a3ecae",
"https://cms-resources.apps.public.k8s.springernature.io/springer-cms/rest/v1/content/18782940/data/v12"