Bind native format jobs to their validated pdfTeX revision

This commit is contained in:
gloamxun committed 2026-11-21 06:43:26 +08:00
1 parent d02777a1fc
commit 75d3667397
4 files changed
+33 -10

No files matched your search

@@ -356,7 +356,6 @@ impl Executor {
// Compatibility level for the eight-bit native PDF interface.
// This is independent of the Route-D build version.
const PDFTEX_VERSION: i32 = 140;
const PDFTEX_REVISION: &str = "22";
pub fn new(state: State, limits: Limits) -> Self {
Self {
@@ -999,7 +998,7 @@ impl Executor {
self.print_tokens(&format!("{digest:X}"), token)?;
}
}
Pdftexrevision => self.print_tokens(Self::PDFTEX_REVISION, token)?,
Pdftexrevision => self.print_tokens(self.state.pdftex_revision(), token)?,
Etexrevision => self.print_tokens(".6", token)?,
Csname => {
let name = self.csname(files)?;