comparison mrjunejune/README.md @ 247:70f2a3dafc1c

[build] Bundle offline Tectonic runtime Co-authored-by: Copilot <[email protected]>
author MrJuneJune <me@mrjunejune.com>
date Mon, 03 Aug 2026 20:20:06 -0700
parents b8aa08503378
children 667156fcd3e3
comparison
equal deleted inserted replaced
246:4f2b50bc78e7 247:70f2a3dafc1c
40 ``` 40 ```
41 41
42 ## LaTeX editor 42 ## LaTeX editor
43 43
44 `/tools/latex_editor` sends source to the C server, which compiles it with the 44 `/tools/latex_editor` sends source to the C server, which compiles it with the
45 host's `/usr/bin/pdflatex` and returns the PDF directly to the browser. Install 45 offline Tectonic runtime from `//third_party/tectonic:runtime` and returns the
46 TeX Live on production hosts before deploying: 46 PDF directly to the browser. Bazel pins the static compiler, prewarms common
47 47 packages, and includes both in the server runfiles and release bundle.
48 ```bash
49 sudo apt-get install texlive-latex-base texlive-latex-recommended
50 ```
51 48
52 The compiler child uses restricted TeX file access, Linux Landlock, a seccomp 49 The compiler child uses restricted TeX file access, Linux Landlock, a seccomp
53 network filter, and CPU, memory, file-size, process, and wall-clock limits. 50 network filter, and CPU, memory, file-size, process, and wall-clock limits.
54 Compilation fails closed when the Linux sandbox cannot be applied. 51 Compilation fails closed when the Linux sandbox cannot be applied.
55 52