Skip to content

Getting Started en

AminiamEva edited this page Nov 29, 2026 · 2 revisions

Getting Started (English)

中文 · English

Use online

Open http://lineae.aminiam.com/. This is the version automatically deployed from main after every CI pass; nothing to install and no local TeX distribution required.

Desktop (Windows / macOS / Linux)

Download the latest release (currently v0.2.3) from Releases:

Platform Artifacts
Windows x64 Offline installer / portable ZIP
macOS Apple Silicon DMG / app ZIP (ad-hoc signed)
Linux x86_64 AppImage / Debian package

The desktop app bundles rtex 0.0.8 (LuaLaTeX) and opens documents in the native typesetting workspace by default: pages are rendered by real LuaLaTeX and you edit text, math, and tables directly on the rendered result. See Desktop.

Run locally (web)

Requirements

  • Node.js and npm
  • A modern browser (recent Chromium or Firefox)
  • Python 3 or any static HTTP server

Build

git clone https://github.com/AminiamEva/Lineae.git
cd Lineae
npm ci
npm run build

npm run build bundles apps/web/src/main.js into apps/web/editor.mjs with esbuild. The bundle is a build artifact and is not committed.

Prepare MathLive

MathLive ships as a separate browser asset and must be placed in apps/web/vendor/mathlive:

archive="$(npm pack mathlive@0.108.0 --silent)"
mkdir -p apps/web/vendor/mathlive
tar -xzf "$archive" -C apps/web/vendor/mathlive --strip-components=1 package/mathlive.min.js package/fonts
rm "$archive"

Start a local server

python3 -m http.server 8000 --directory apps/web

Then open http://localhost:8000.

Do not double-click apps/web/index.html. The page uses ES modules and fetch; the browser's same-origin policy blocks them under file://.

First steps

  1. The app opens ready to edit: new documents use the default template preamble, and you can open an existing .tex file or project.
  2. Edit text, math, and tables directly; constructs the web app does not support are kept as source blocks, visible in Source mode.
  3. Ctrl+S (macOS: Cmd+S) saves. If the browser supports the File System Access API the file is written back, otherwise it falls back to a download.
  4. Create or open a project to manage multi-file documents: sidebar file tree, \include/\input navigation, and outline jumps. See Features.
  5. Use "Export YAML / Import YAML" to back up or move your interface and shortcut configuration. See Configuration.

Next steps

  • Features: what can be edited directly today.
  • LaTeX Support: check whether your document's syntax is in the supported subset.
  • Shortcuts: math input relies heavily on shortcuts.

Clone this wiki locally