Compare commits

...

2 Commits

Author SHA1 Message Date
Laurenz
5bf0d2ff93 Symbols 2025-02-04 10:53:32 +01:00
Laurenz
c6ceafa415 Review comments 2025-02-04 10:53:26 +01:00

View File

@ -9,10 +9,10 @@ description: Changes in Typst 0.13.0
- There is now a distinction between [proper paragraphs]($par) and just
inline-level content. This is important for future work on accessibility and
means that [first line indent]($par.first-line-indent) can now be enabled for
all paragraph instead of just consecutive ones.
all paragraphs instead of just consecutive ones.
- The [`outline`] has a better out-of-the-box look and is more customizable
- The new [`curve`] function (that supersedes the `path` function) provides a
simpler and more flexible interface for creating Beziér curves
simpler and more flexible interface for creating Bézier curves
- The `image` function now supports raw [pixel raster formats]($image.format)
for generating images from within Typst
- Functions that accept [file paths]($syntax/#paths) now also accept raw
@ -23,7 +23,8 @@ description: Changes in Typst 0.13.0
would be displayed in italics
- You can now specify which charset should be [covered]($text.font) by which
font family
- The [`pdf.embed`] function lets you embed files into the exported PDF
- The [`pdf.embed`] function lets you embed arbitrary files in the exported
PDF
- HTML export is currently under active development. The feature is still _very_
incomplete, but already available for experimentation behind a feature flag.
@ -52,7 +53,7 @@ description: Changes in Typst 0.13.0
for a grid-like look
- Automatic indentation now also indents entries without a numbering
- Titles wrapping over multiple lines now have hanging indent
- The page number won't appear alone on its own line number anymore
- The page number won't appear alone on its own line anymore
- The link now spans the full entry instead of just the title and page number
- The default spacing between outline leader dots was increased
- The [`fill`]($outline.entry.fill) parameter was moved from `outline` to
@ -102,7 +103,7 @@ description: Changes in Typst 0.13.0
## Scripting
- Functions that accept [file paths]($syntax/#paths) now also accept raw
[bytes] instead
[bytes]
- [`image`], [`cbor`], [`csv`], [`json`], [`toml`], [`xml`], and [`yaml`] now
support a path string or bytes and their `.decode` variants are deprecated
- [`plugin`], [`bibliography`], [`bibliography.style`], [`cite.style`],
@ -121,14 +122,14 @@ description: Changes in Typst 0.13.0
impure initialization in a way that doesn't break Typst's purity guarantees
- The variable name bound by a bare import (no renaming, no import list) is now
determined statically and dynamic imports without `{as}` renaming (e.g.
`{import "ot" + "her.typ}`) are a hard error **(Breaking change)**
`{import "ot" + "her.typ"}`) are a hard error **(Breaking change)**
- Values of the [`arguments`] type can now be added with `+` and
[joined]($scripting/#blocks) in curly-braced code blocks
- Functions in an element function's scope can now be called with method syntax,
bringing elements and types closer (in anticipation of a future full
unification of the two). Currently, this is only useful for [`outline.entry`]
as no other element function defines methods.
- Added [`calc.norm`] function for computing Euclidean norms
- Added [`calc.norm`] function
- Added support for 32-bit floats in [`float.from-bytes`] and [`float.to-bytes`]
- The [`decimal`] constructor now also accepts decimal values
- Improved `repr` of [symbols]($symbol), [arguments], and [types]($type)
@ -138,7 +139,7 @@ description: Changes in Typst 0.13.0
## Math
- Fixed a bug where single letter strings in math (`[$"a"$]`) would be displayed
in italics
- Math function calls can now have hypheanted named arguments and support
- Math function calls can now have hyphenated named arguments and support
[argument spreading]($arguments/#spreading)
- Better looking accents thanks to support for the `flac` (Flattened Accent
Forms) and `dtls` (Dotless Forms) OpenType features
@ -210,7 +211,7 @@ TODO (update after hayagriva bump)
- A shebang `#!` at the very start of a file is now ignored
## PDF export
- Added `pdf.embed` function for embedding files in the exported PDF
- Added `pdf.embed` function for embedding arbitrary files in the exported PDF
- Added support for PDF/A-3b export
- The PDF timestamp will now contain the timezone by default
@ -253,8 +254,34 @@ feature flag.
- Fixed crash when piping `typst fonts` output to another command
## Symbols
- Added: `numero`, `eq.triple.not`, `asymp`, `asymp.not`
TODO (update after codex bump)
- New
- `inter`, `inter.and`, `inter.big`, `inter.dot`, `inter.double`, `inter.sq`,
`inter.sq.big`, `inter.sq.double`, `integral.inter`
- `asymp`, `asymp.not`
- `mapsto`, `mapsto.long`
- `divides.not.rev`, `divides.struck`
- `interleave`, `interleave.big`, `interleave.struck`
- `eq.triple.not`, `eq.dots`, `eq.dots.down`, `eq.dots.up`
- `smt`, `smt.eq`, `lat`, `lat.eq`
- `colon.tri`, `colon.tri.op`
- `dagger.triple`, `dagger.l`, `dagger.r`, `dagger.inv`
- `hourglass.stroked`, `hourglass.filled`
- `die.six`, `die.five`, `die.four`, `die.three`, `die.two`, `die.one`
- `errorbar.square.stroked`, `errorbar.square.filled`,
`errorbar.diamond.stroked`, `errorbar.diamond.filled`,
`errorbar.circle.stroked`, `errorbar.circle.filled`
- `numero`
- `Omega.inv`
- Renamed
- `ohm.inv` to `Omega.inv`
- Changed codepoint
- `angle.l.double` from `《` to `⟪`
- `angle.r.double` from `》` to `⟫`
- Deprecated
- `sect` and all its variants
- `integral.sect`
- Removed
- `degree.c`, `degree.f`, `ohm.inv`, `angstrom`, `kelvin`
## Deprecations
- The [`path`] function in favor of the [`curve`] function
@ -262,6 +289,9 @@ TODO (update after codex bump)
- [`image.decode`], [`cbor.decode`], [`csv.decode`], [`json.decode`],
[`toml.decode`], [`xml.decode`], [`yaml.decode`] in favor of the top-level
functions directly accepting both paths and bytes
- The `sect` symbol, its variants, and `integral.sect`
- Fully removed type/str compatibility behaviour (e.g. `{int == "integer"}`)
which was temporarily introduced in Typst 0.8 **(Breaking change)**
## Development
- The `typst::compile` function is now generic and can return either a