Commit 77898e6
committed
textproc/hs-typst: update to typst-0.8.0.1
## 0.8.0.1
* Fix subtracting units, e.g. `1mm-0mm` (#71, Luke Grehan).
## 0.8
* Allow `json`, `toml`, `xml` to take either file path or bytes.
* Allow `read` to return bytes if encoding is 'none'.
* `bibliography`, `image`: change parameter name to `source` and allow bytes.
* Add 'bytes' as a type name and constructor.
* Add VBytes constructor for Val and TBytes for ValType. [API change]
* Allow values of arguments type to be added together.
* Support `calc.norm`.
* Math: add `lcm` operator.
* Require typst-symbols >= 0.1.8.1 (#67), giving us typst 0.13 symbols.
* Add "dictionary" as name of TDict type (#65).
## 0.7
* Fix problems with module loading paths (#62).
* Skip whitespace before parsing key/value values in math (#64).
* Parse the `delim` attribute (and any others) in `math.mat` (#64).
* Methods: fix 'has' method so it works for sequences of elements.
* Evaluate: run show rules after looking up an identifier.
* Show rule changes:
+ ShowRule now has an extra parameter for a unique identifier.
This allows us to prevent double application of show rules,
while allowing distinct rules with the same selector. [API change]
+ In applying show rules, we no longer recurse into an element's
fields, as this caused double application of show rules in nested
contexts. (See #63.) However, this is not a complete fix because there
are some tests that still fail.
+ Ensure that show rules are applied to text elements.
* Reorganized tests. Now put the `.out` and `.typ` files in same directory,
rather than having separate trees.1 parent 94b5b62 commit 77898e6
4 files changed
Lines changed: 12 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
| 8 | + | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
0 commit comments