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 @@
% Run: native --initex --etex paragraphs.tex paragraphs.pdf
\catcode123=1 \catcode125=2 \catcode35=6
\defaulthyphenchar=45 \font\body=cmr10 \body
\hsize=210pt \parindent=12pt \baselineskip=12pt
\parfillskip=0pt plus1fil \parskip=6pt
\pretolerance=100 \tolerance=200 \emergencystretch=2pt
\linepenalty=10 \hyphenpenalty=50 \adjdemerits=10000
\lefthyphenmin=2 \righthyphenmin=3
Native paragraphs are built from tokens and measured font glyphs. The line
breaks and spaces in this paragraph are retained when the document is exported.\par
{\hsize=140pt \hangindent=12pt \hangafter=1
A local measure and hanging indent apply to this paragraph. Leaving the group
restores the previous measure without changing these measured lines.\par}
\noindent The restored measure is \the\hsize. Each paragraph uses its own state,
and line spacing carries the previous line depth across paragraph boundaries.\par
\pretolerance=-1 \tolerance=10000
\hyphenation{para-graph hy-phen-a-tion con-struc-tion}
\hsize=100pt
Paragraph construction uses real hyphenation exceptions when a later pass
requires them. No language patterns are silently injected.\par
\message{Native paragraph construction completed.}
\end