Initial texrra engine

Rename the crate, binary, core crate, font families, env vars, and internal commands from texcraft/tex-engine to texrra. Serve the separately versioned texrra-web frontend from TEXRRA_WEB_DIR, ../web, or ./web instead of embedding index.html. Add starred section heading support and an arXiv template conformance fixture.
This commit is contained in:
gloamxun committed 2026-10-19 11:41:46 +08:00
commit bb1d9e0561
147 files changed
+66719

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
\documentclass{article}
\begin{document}
\section*{Box material demo}
A framed box: \fbox{Hello box}. An inline unbreakable box:
\mbox{alpha beta gamma} stays together.
\parbox{60mm}{This parbox wraps its content to a sixty millimetre
column and sits in the vertical flow without a frame.}
\begin{center}
Centered text
\end{center}
\hrule
\smallskip
After a small skip.
\bigskip
After a big skip: {\bfseries bold}, {\itshape italic}, {\ttfamily mono}.
\end{document}
+35
View File
@@ -0,0 +1,35 @@
\documentclass{article}
\begin{document}
\section*{Compatibility examples}
Spacing: A\quad B\qquad C, A\thinspace B\enspace C.
Symbols: \S\P\dag\ddag\copyright\textbullet\textregistered\texttrademark
\ldots\textendash\textemdash\guillemotleft x\guillemotright
\texteuro\textsterling\textyen\textdegree\textpm.
Letters: \ss\ae\AE\oe\OE\aa\AA\o\O\l\L\i.
Styles: {\bfseries bold}, {\itshape italic}, {\ttfamily mono}, \textsc{small caps}.
Breaks: A\nopagebreak[4] B\linebreak[2] C\samepage.
A\vspace*{6pt} B
\vspace{6pt}
A\hspace*{1cm}B
\begin{center}
Centered text
\end{center}
\hrule
\fbox{Framed box} and \mbox{unbreakable box}.
\parbox{60mm}{A parbox wraps its content to sixty millimetres and stays
in the vertical flow.}
\end{document}
+35
View File
@@ -0,0 +1,35 @@
\documentclass{article}
\begin{document}
\section*{Compatibility examples}
Spacing: A\quad B\qquad C, A\thinspace B\enspace C.
Symbols: \S\P\dag\ddag\copyright\textbullet\textregistered\texttrademark
\ldots\textendash\textemdash\guillemotleft x\guillemotright
\texteuro\textsterling\textyen\textdegree\textpm.
Letters: \ss\ae\AE\oe\OE\aa\AA\o\O\l\L\i.
Styles: {\bfseries bold}, {\itshape italic}, {\ttfamily mono}, \textsc{small caps}.
Breaks: A\nopagebreak[4] B\linebreak[2] C\samepage.
A\vspace*{6pt} B
\vspace{6pt}
A\hspace*{1cm}B
\begin{center}
Centered text
\end{center}
\hrule
\fbox{Framed box} and \mbox{unbreakable box}.
\parbox{60mm}{A parbox wraps its content to sixty millimetres and stays
in the vertical flow.}
\end{document}
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

+20
View File
@@ -0,0 +1,20 @@
@string{ publisher = "Addison-Wesley" }
@book{knuth1984,
author = {Donald E. Knuth},
title = {The TeXbook},
publisher = publisher,
year = {1984}
}
@proceedings{texrra2026,
booktitle = {Proceedings of the texrra Typesetting Workshop},
year = {2026},
organization = {texrra Community}
}
@inproceedings{texrra-runtime,
author = {Ada Lovelace},
title = {A Small Live Typesetting Backend},
crossref = {texrra2026}
}
+3
View File
@@ -0,0 +1,3 @@
\ProvidesPackage{texrra-extra}[2026/10/17 local preview example]
\newcommand{\texrranote}[1]{\textbf{Style macro loaded:} #1}