Grammata Español

A Typst editor with real-time preview and rearrangeable panels.

Desktop app written in Rust, with the Typst compiler embedded.

Download the latest release

What it does

  • PDF preview generated by the compiler. With errors, it keeps the last version that compiled.
  • Highlighting with the official Typst parser, autocompletion, search, go to line and a document outline.
  • Problems panel that jumps to the line, also in included files.
  • 136 symbols and 22 structures (frac, sqrt, mat, cases…) with search; a scratchpad with its own preview for equations.
  • Built-in and custom snippets, with placeholders for the selection and the cursor.
  • Plugins: folders with a plugin.toml that provide Typst packages with a form, fonts, snippets and themes, or call external programs (Pandoc for Markdown). Those programs need your permission, which is lost if their command line changes.
  • Tabs and panels you can drag and split. The preview only rasterizes the visible pages.

Downloads

Packages in the latest release. Arch and Nix, from the repository.

SystemWhat to installStatus
Linux.deb, AppImage or .tar.gz (inside, ./install.sh)Tested on GNOME with Wayland.
Arch LinuxPKGBUILD in packaging/arch (makepkg -si)Tested.
Windows.zip with grammata.exeBuilt in CI, but nobody has tested it by hand.
Nixnix run github:lfreyes97/grammataThe flake hasn’t been tested yet.
macOSNo package.Not tested.

Grammata doesn’t read command-line arguments yet: it doesn’t open files passed as an argument or from the file manager.

Screenshots

Grammata with an essay open: the code on the left and, on the right, the page with title, epigraph and ornamental drop cap
Plate 01 Essay. Code on the left and, on the right, the page with title, epigraph and ornamental drop cap.
Grammata with a poster open: an italic quotation on a dark green background
Plate 02 Poster. An italic quotation on a dark green background.

License

GNU GPL v3 or later. Uses Typst (Apache-2.0) and other compatible dependencies. Bugs and ideas go in the issues; the code is on GitHub.