Links across Typst Documentation

I create a few diagrams of links across Typst Documentation by leveraging Graphviz.

TIP: Texts in these diagrams are real <svg:text> tags, and are annotated with links to the official documentation. Unfortunately, this forum cannot render them properly. So I’ll put PNGs here. Click the image to go to the SVG version.

https://ydx-2147483647.github.io/typst-docs-links/

Tutorial (pink) & Guide (red)

Tutorial & Guide

In terms of how topics are organized, the current tutorial is satisfying.

  1. Writing in Typst introduces the foundational concepts—text, layout, math.
  2. Formatting adds more models and visualization.
  3. Advanced Styling links to Styling.
  4. Making a Template links to Scripting.

In addition, Guide for LaTeX Users provides an entrance to all the information for experienced people, while Table Guide and Page Setup Guide explore the corresponding topics specifically.

However, it should be noted that Context is totally neglected. There isn’t even a single link!
I heard that the Typst team is rewriting the tutorial. Hope it can be improved s∞n soon in Typst 0.14.

Introspection (violet blue)

Introspection

Now let’s see pages on Introspection. Again, Context is kind of the elephant in the room. But this time, readers are clearly instructed at the title page:

Most of the functions are contextual. It is recommended to read the chapter on context before continuing here.

Foundations (orange)

You may have noticed that Foundations is heavily linked by Introspection. In fact other chapters are the same.

Overview

I guess it’s because there are too many things under Foundations

Foundations

Perhaps Foundations should be further split? For instance:

More chapters

Structures of other chapters lie between Introspection and Foundations.

Model (brown)

Model
Model

Text (black)

Text
Text

Layout (green)

Layout
Layout

Visualize (dark blue)

Visualize
Visualize

Math (sky blue)

Math

Math is an exception. It’s quite flat, which means cross links are rare.

It’s partly because of the systematic intro on title page, but it also indicates that the math docs need improvement.

To name a few:

:wave: If you are willing to improve it, you can edit the files and submit pull requests to github.com/typst/typst.
No prior knowledge or local installation of the rust toolchain is required. (but be aware that Laurenz Mädje is very strict about wording :-)
If you encounter difficulties, you can refer to 📝 Memo: Editing typst.app/docs or ask on #Documentation | Discord.

All links

All links

Please refer to Links across Typst Documentation or its git repo for more info.
Besides, links.json is also available for coding.

8 Likes