typst
typst copied to clipboard
A new markup-based typesetting system that is powerful and easy to learn.
This PR changes the CLI implementation such that fonts are scanned for lazily when first needed instead of eagerly doing it on construction of the `SystemWorld`. This means that unnecessary...
# Description ## Deprecates `query` subcommand Display a deprecation warning when the `query` subcommand is invoked and also in clap help. ## No tests? I have found no tests for...
### Description I was using the Metropolis theme for a Touying presentation, and it had a few PNGs at first, because I had some issues with native vector graphics. But...
Typst uses [`syntect`](https://github.com/trishume/syntect) for syntax highlighting. This PR additionally adds support for syntax highlighting with tree-sitter. Tree-sitter has several advantages over the current approach: - Far more customizable and integrated...
### Description I wanted to compress a pdf file that was produced with typst via ghostscript (to compress many embedded images). This mostly works fine. But with some fonts, letters...
When completing @, skip labels that have names that we know are incompatible with the @ syntax. For example, `label("t/1")` creates a label that is impossible to use with the...
### Description This issue occurs with all geometric functions such as `rect`, `line`, `curve`. When entering very large dimensions or coordinate such as `1e20pt`, the shape may not be displayed...
### Description See https://github.com/typst/typst/discussions/2295 ### Use Case It will enable me to refactor: ```typ // in foo/parts/part-01/ch-01/sec-01/subsec-01.typ #code-figure( file-path: "/foo/code/ch-01/src/main/java/com/example/ch01/sec01/subsec01/Point.java" ) ``` into: ```typ // in foo/parts/part-01/ch-01/sec-01/subsec-01.typ #code-figure(file-name: "Point.java") ```
related to https://github.com/typst/typst/issues/7219 - skip zero-advance glyphs when finding the first/last glyph for line overhang - restore comma and dash overhang when a preceding word injects label-driven zero-width glyphs -...
To test a PR, I cloned the repo and used nix to setup a dev shell. Everything compiled fine, however running the executable yields: ``` error while loading shared libraries:...