Advance native LaTeX execution and preview
This commit is contained in:
1 parent
91f9d76b16
commit
2741546ca8
414 files changed
+99872
-933
No files matched your search
@@ -159,6 +159,12 @@ fn arxiv_fixture_is_three_letter_pages() {
|
||||
.join("arxiv-template")
|
||||
.join("template.tex");
|
||||
let source = std::fs::read_to_string(&path).expect("read arXiv fixture");
|
||||
// This layout oracle measures an October reference, not the wall clock.
|
||||
let source = source.replacen(
|
||||
r"\begin{document}",
|
||||
r"\date{October 31, 2026}\begin{document}",
|
||||
1,
|
||||
);
|
||||
let file_name = path.to_string_lossy().to_string();
|
||||
let value = fresh_preview(&source, &file_name);
|
||||
assert_eq!(value["status"], "ok", "{}", value["message"]);
|
||||
@@ -607,6 +613,12 @@ fn preprint_metadata_spacing_matches_reference() {
|
||||
.join("arxiv-template")
|
||||
.join("template.tex");
|
||||
let source = std::fs::read_to_string(&path).expect("read arXiv fixture");
|
||||
// This layout oracle measures an October reference, not the wall clock.
|
||||
let source = source.replacen(
|
||||
r"\begin{document}",
|
||||
r"\date{October 31, 2026}\begin{document}",
|
||||
1,
|
||||
);
|
||||
let value = fresh_preview(&source, &path.to_string_lossy());
|
||||
assert_eq!(value["status"], "ok", "{}", value["message"]);
|
||||
let svg = page_svg(&value, 0);
|
||||
|
||||
Reference in new issue
Block a user