Advance native LaTeX execution and preview

This commit is contained in:
gloamxun committed 2026-11-18 22:17:21 +08:00
1 parent 91f9d76b16
commit 2741546ca8
414 files changed
+99872 -933

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
% Run in a scratch working directory: native --initex --etex /path/to/job.tex job.pdf
\catcode123=1 \catcode125=2 \catcode35=6
\defaulthyphenchar=45 \font\nativefont=cmr10 \nativefont \hsize=468pt \baselineskip=12pt \parfillskip=0pt plus1fil
\immediate\openout0=job-time.aux
\immediate\write0{\the\year/\the\month/\the\day, minutes=\the\time}
\immediate\closeout0
\openin1=job-time.aux
\ifeof1\errmessage{The written job file was not found}\fi
\endlinechar=-1
\read1 to\captured
\closein1
Captured job time: \captured.\par
\message{Native job file was written and read back successfully.}
\end