Run cancellable pdfTeX matching in native frontends

This commit is contained in:
gloamxun committed 2026-11-20 16:43:48 +08:00
1 parent 091458d329
commit 6e573dc1ce
21 files changed
+665 -9

No files matched your search

@@ -313,6 +313,8 @@ pub enum Primitive {
Atopwithdelims,
Abovewithdelims,
Accent,
Pdfmatch,
Pdflastmatch,
}
impl Primitive {
@@ -363,6 +365,8 @@ impl Primitive {
| Pdfcreationdate
| Pdftexrevision
| Pdfstrcmp
| Pdfmatch
| Pdflastmatch
| Pdfcolorstackinit
| Csname
| Unless
@@ -920,6 +924,10 @@ impl Default for State {
("pdfcreationdate", Pdfcreationdate),
("pdfshellescape", Pdfshellescape),
("pdfstrcmp", Pdfstrcmp),
#[cfg(all(target_os = "linux", target_env = "gnu"))]
("pdfmatch", Pdfmatch),
#[cfg(all(target_os = "linux", target_env = "gnu"))]
("pdflastmatch", Pdflastmatch),
("pdfcolorstackinit", Pdfcolorstackinit),
("pdfcolorstack", Pdfcolorstack),
("pdfsave", Pdfsave),