mirror of
https://github.com/typst/typst
synced 2025-08-11 21:57:55 +08:00
Explain how to migrate symbols
This commit is contained in:
parent
3c9bef20a3
commit
51bfd6edc0
@ -297,10 +297,12 @@ feature flag.
|
|||||||
- `angle.r.double` from `》` to `⟫`
|
- `angle.r.double` from `》` to `⟫`
|
||||||
- `angstrom` from U+212B (`Å`) to U+00C5 (`Å`)
|
- `angstrom` from U+212B (`Å`) to U+00C5 (`Å`)
|
||||||
- Deprecated
|
- Deprecated
|
||||||
- `sect` and all its variants
|
- `sect` and all its variants in favor of `inter`
|
||||||
- `integral.sect`
|
- `integral.sect` in favor of `integral.inter`
|
||||||
- Removed
|
- Removed
|
||||||
- `degree.c`, `degree.f`, `ohm.inv`, `kelvin`
|
- `degree.c` in favor of `°C` (`[$upright(°C)$]` or `[$upright(degree C)$]` in math)
|
||||||
|
- `degree.f` in favor of `°F` (`[$upright(°F)$]` or `[$upright(degree F)$]` in math)
|
||||||
|
- `kelvin` in favor of just K (`[$upright(K)$]` in math)
|
||||||
|
|
||||||
## Deprecations
|
## Deprecations
|
||||||
- The [`path`] function in favor of the [`curve`] function
|
- The [`path`] function in favor of the [`curve`] function
|
||||||
@ -308,7 +310,8 @@ feature flag.
|
|||||||
- [`image.decode`], [`cbor.decode`], [`csv.decode`], [`json.decode`],
|
- [`image.decode`], [`cbor.decode`], [`csv.decode`], [`json.decode`],
|
||||||
[`toml.decode`], [`xml.decode`], [`yaml.decode`] in favor of the top-level
|
[`toml.decode`], [`xml.decode`], [`yaml.decode`] in favor of the top-level
|
||||||
functions directly accepting both paths and bytes
|
functions directly accepting both paths and bytes
|
||||||
- The `sect` symbol, its variants, and `integral.sect`
|
- The `sect` and its variants in favor of `inter`, and `integral.sect` in favor
|
||||||
|
of `integral.inter`
|
||||||
- Fully removed type/str compatibility behavior (e.g. `{int == "integer"}`)
|
- Fully removed type/str compatibility behavior (e.g. `{int == "integer"}`)
|
||||||
which was temporarily introduced in Typst 0.8 **(Breaking change)**
|
which was temporarily introduced in Typst 0.8 **(Breaking change)**
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user