Typsastra documentation demo project¶
Open this folder as a project in Typsastra. The configured main document is
main.typ; it includes four chapter files, two local raster images,
two Fletcher diagrams, and a CeTZ canvas so the Explorer, Image Tools, and
multi-file preview have useful content.
Explore the project¶
- Open
main.typand inspect the PDF preview. It includes the files underchapters/and the images underassets/. - Switch to Image Tools, select either image, and inspect its dimensions, references, crop controls, and optimization preview.
- Open
chapters/04-diagrams.typand switch the preview between Normal and Draft. Draft replaces the two Fletcher diagrams and the CeTZ canvas with labeled placeholders while preserving their layout. Hover a placeholder to inspect its cached rendering. - Switch to Table Tools and select the Basic table already stored in
this demo project's configuration. Its ID matches the
//@table:basic_tableanchor inmain.typ, and its generated Typst block is synchronized there. - Change a table cell and inspect the live preview update.
- Open Search Project and search for
researchto see matches across the main document and chapters. Enter a replacement and use Review to inspect the before/after changes before applying them. - Edit a chapter, wait for the unsaved-work snapshot, and reopen the project to review the recovered text as a unified diff. Restoring opens an unsaved buffer; it does not overwrite the source file.
The project declares Latin script → English (United States) in
.typsastra/config.json, so the language status and spellcheck tools have a
usable default. New projects inherit this assignment from Settings → Language →
Default document languages.
Follow the guides¶
- Getting started covers opening this project and working with its main document.
- Explorer and projects explains its included chapters and project files.
- Image Tools walks through the bundled images.
- Draft Preview compares the Fletcher and CeTZ placeholders with their rendered diagrams.
- Table Tools uses the linked Basic table in this project.
- Editor and PDF preview describes the shared main-document preview.
- Standalone files and PDFs explains the optional Enhanced Unicode Engine used for explicit PDF export. See also the engine validation guide.
The project contains ordinary Typst source and image files. Table state is
created by the tool and stored in the local .typsastra/config.json project
metadata when opened; generated preview caches remain machine-local.