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

+22
View File
@@ -0,0 +1,22 @@
% Strict native demo, with INITEX categories and no preloaded format.
\catcode123=1 \catcode125=2 \catcode35=6
\defaulthyphenchar=45 \font\nativefont=cmr10 \nativefont \hsize=468pt \baselineskip=12pt \parfillskip=0pt plus1fil
\dimendef\width=300
\skipdef\flex=301
\muskipdef\mathspace=302
\width=2.5pt
\advance\width by1.25pt
\flex=1pt plus2fil minus.5pt
\mathspace=3mu plus1fil
\mathchardef\symbol=4660
Native width: \the\width.\par
Glue value: \the\flex.\par
Math glue value: \the\mathspace.\par
Math character code: \number\symbol.\par
Current input line: \the\inputlineno.\par
\ifdim\width>3pt
\message{Native quantity checks passed.}
\else
\errmessage{Native quantity comparison failed}
\fi
\end