diff --git a/crates/texrra-tex-core/tests/execution_fractions.rs b/crates/texrra-tex-core/tests/execution_fractions.rs index 28f4aab..d837180 100644 --- a/crates/texrra-tex-core/tests/execution_fractions.rs +++ b/crates/texrra-tex-core/tests/execution_fractions.rs @@ -246,7 +246,7 @@ fn genuine_fraction_primitives_and_retained_boxes_survive_format_roundtrip() { let envelope: serde_json::Value = serde_json::from_slice(&bytes).unwrap(); let payload: serde_json::Value = serde_json::from_str(envelope["payload"].as_str().unwrap()).unwrap(); - assert_eq!(payload["schema"], 27); + assert_eq!(payload["schema"], 28); let state = State::initex().with_etex(); let loaded = FormatImage::decode(&bytes) .unwrap() diff --git a/crates/texrra-tex-core/tests/execution_pdf_unicode.rs b/crates/texrra-tex-core/tests/execution_pdf_unicode.rs index 91d0b3d..5615daf 100644 --- a/crates/texrra-tex-core/tests/execution_pdf_unicode.rs +++ b/crates/texrra-tex-core/tests/execution_pdf_unicode.rs @@ -334,7 +334,7 @@ fn old_schema_and_missing_unicode_state_are_rejected_even_with_valid_checksums() let envelope: serde_json::Value = serde_json::from_slice(&encoded).unwrap(); let original: serde_json::Value = serde_json::from_str(envelope["payload"].as_str().unwrap()).unwrap(); - assert_eq!(original["schema"], 27); + assert_eq!(original["schema"], 28); for (schema, expected) in [ (1, "incompatible native format"), (2, "incompatible native format"), @@ -363,6 +363,8 @@ fn old_schema_and_missing_unicode_state_are_rejected_even_with_valid_checksums() (25, "incompatible native format"), (26, "incompatible native format"), (27, "glyph_unicode"), + (28, "glyph_unicode"), + (29, "incompatible native format"), ] { let mut payload = original.clone(); payload["schema"] = schema.into(); diff --git a/crates/texrra-tex-core/tests/execution_vcenter.rs b/crates/texrra-tex-core/tests/execution_vcenter.rs index f7d6cc6..288a3c5 100644 --- a/crates/texrra-tex-core/tests/execution_vcenter.rs +++ b/crates/texrra-tex-core/tests/execution_vcenter.rs @@ -164,7 +164,7 @@ fn new_format_owns_vcenter_and_boxed_math_without_reinjecting_old_meanings() { let envelope: serde_json::Value = serde_json::from_slice(&bytes).unwrap(); let payload: serde_json::Value = serde_json::from_str(envelope["payload"].as_str().unwrap()).unwrap(); - assert_eq!(payload["schema"], 27); + assert_eq!(payload["schema"], 28); let executor = FormatImage::decode(&bytes) .unwrap() .new_job( diff --git a/docs/P2_M1_PROGRESS.md b/docs/P2_M1_PROGRESS.md index 89abfe1..d1d3bcb 100644 --- a/docs/P2_M1_PROGRESS.md +++ b/docs/P2_M1_PROGRESS.md @@ -1118,6 +1118,11 @@ aux 都与冻结的 pdfTeX 对照一致。所有页面有左右栏文字,最 `aps-original/receipt.json` SHA-256 为 `8a5c885e504171e88b6dae499c3403b99ddfe9d2c09b6aff0ef2a14c07ab4c23`。 按14份候选源码指纹合入,其中一处调用按 rustfmt 换行。 +原有分式、vcenter 和 PDF Unicode 三项格式回归已按新写入的 +schema28 更新。schema 1至26和29仍拒绝,27与28缺少必需 Unicode +状态仍拒绝。主工作区三项定向复验通过、零失败,回执 +`main-format-tests-receipt.json` SHA-256 为 +`36ee67944b1b63ccb27c0646e80db19b034e898aa88f850abdd1ed720ef65d06`。 [原样模板记录](PUBLISHER_TEMPLATE_MATRIX.md#aps-revtex-原样双栏样稿) [pdfTeX 的重音布局](https://github.com/TeX-Live/texlive-source/blob/trunk/texk/web2c/pdftexdir/pdftex.web#L28084-L28143)