|
|
|
@@ -1,3 +1,191 @@
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Wed May 28 21:49:44 UTC 2025 - Peter Simons <psimons@suse.com>
|
|
|
|
|
|
|
|
|
|
- Update typst to version 0.8.0.1.
|
|
|
|
|
## 0.8.0.1
|
|
|
|
|
|
|
|
|
|
* Fix subtracting units, e.g. `1mm-0mm` (#71, Luke Grehan).
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Mon May 12 20:56:24 UTC 2025 - Peter Simons <psimons@suse.com>
|
|
|
|
|
|
|
|
|
|
- Update typst to version 0.8.
|
|
|
|
|
## 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).
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Sun Mar 16 17:15:48 UTC 2025 - Peter Simons <psimons@suse.com>
|
|
|
|
|
|
|
|
|
|
- Update typst to version 0.7.
|
|
|
|
|
## 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.
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Sun Feb 9 03:12:11 UTC 2025 - Peter Simons <psimons@suse.com>
|
|
|
|
|
|
|
|
|
|
- Update typst to version 0.6.2.
|
|
|
|
|
## 0.6.2
|
|
|
|
|
|
|
|
|
|
* Allow types to act as constructor functions, as in typst (#61).
|
|
|
|
|
Add new unexported module, Typst.Constructors, defining the
|
|
|
|
|
constructors for each of the typst types.
|
|
|
|
|
Fix name of string type: it is `str`, not `string` (which is only
|
|
|
|
|
the `repr`).
|
|
|
|
|
|
|
|
|
|
* Support `dict`, `datetime`, `symbol` constructors.
|
|
|
|
|
|
|
|
|
|
* Improve path handling when loading files (#60).
|
|
|
|
|
We now look in the "local path" (the path of the containing file)
|
|
|
|
|
except when the path begins with `/` (in which case it is resolved
|
|
|
|
|
relative to the package path).
|
|
|
|
|
|
|
|
|
|
* Fix issue with expression parsing involving labels (#59).
|
|
|
|
|
|
|
|
|
|
* Remove spurious trace in `getPath`.
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Sat Dec 7 21:53:05 UTC 2024 - Peter Simons <psimons@suse.com>
|
|
|
|
|
|
|
|
|
|
- Update typst to version 0.6.1.
|
|
|
|
|
## 0.6.1
|
|
|
|
|
|
|
|
|
|
* Fix precedence for functions (#55).
|
|
|
|
|
`1(x)` and `!(x)` should not be parsed as functions.
|
|
|
|
|
Note that we still don't match typst's behavior for `f_"!"(x)`.
|
|
|
|
|
For us this works just like `f_!(x)`, but for typst we get
|
|
|
|
|
a function in the subscript for the former but not the latter.
|
|
|
|
|
Fixing this would require some changes in the types.
|
|
|
|
|
|
|
|
|
|
* Define sys.version and sys.inputs.typst-hs-version (#56).
|
|
|
|
|
The former is set to the version of typst we are trying to
|
|
|
|
|
implement. The latter is a stringified version number from typst-hs.
|
|
|
|
|
This will allow typst programs to tell when they're running
|
|
|
|
|
on typst-hs (or pandoc), and react accordingly.
|
|
|
|
|
|
|
|
|
|
* Rename stBeforeSpace -> stSpaceBefore to avoid confusion.
|
|
|
|
|
|
|
|
|
|
* Fix precedence issues in math parsing (#54).
|
|
|
|
|
Increased precedence of ! (factorial).
|
|
|
|
|
`_` or `^` should eagerly gobble a grouped argument (`c_(a)`).
|
|
|
|
|
|
|
|
|
|
* Minimal support for `context` (#53). Parse `context` keyword.
|
|
|
|
|
New Context constructor in Expr [API change].
|
|
|
|
|
Evaluate this by just evaluating the expression, for now.
|
|
|
|
|
Note that we don't support the features (like location or
|
|
|
|
|
numbering) that context is used to affect anyway, so this change
|
|
|
|
|
probably won't be enough for meaningful support. But it might
|
|
|
|
|
prevent some documents from issuing errors.
|
|
|
|
|
|
|
|
|
|
* Arguments at method.
|
|
|
|
|
|
|
|
|
|
* Array windows, reduce, to-dict methods.
|
|
|
|
|
|
|
|
|
|
* Allow parentheses in import.
|
|
|
|
|
|
|
|
|
|
* Make standard module available under std (typst 0.12).
|
|
|
|
|
|
|
|
|
|
* Add over/underparen, over/undershell in math module.
|
|
|
|
|
|
|
|
|
|
* Add stretch function.
|
|
|
|
|
|
|
|
|
|
* Add skew.
|
|
|
|
|
|
|
|
|
|
* Depend on typst-symbols 0.1.7 and start to target typst 0.12.
|
|
|
|
|
|
|
|
|
|
* Reset indentation requirements inside `[]` content block. e.g.
|
|
|
|
|
```
|
|
|
|
|
/ B: #block[
|
|
|
|
|
- a
|
|
|
|
|
]
|
|
|
|
|
```
|
|
|
|
|
We don't need indentation inside the block content.
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Tue Sep 10 01:23:44 UTC 2024 - Peter Simons <psimons@suse.com>
|
|
|
|
|
|
|
|
|
|
- Update typst to version 0.6.
|
|
|
|
|
## 0.6
|
|
|
|
|
|
|
|
|
|
* Recognize figure.caption function (#52).
|
|
|
|
|
|
|
|
|
|
* Allow defined identifiers to override math defaults (#51).
|
|
|
|
|
Previously we evaluated all math in a special environment that
|
|
|
|
|
shadowed any user-defined functions with the same-named functions
|
|
|
|
|
from the math or sym modules. This change gives user-defined identifiers
|
|
|
|
|
priority over the math defaults, allowing things like `bb` to be
|
|
|
|
|
overridden.
|
|
|
|
|
|
|
|
|
|
* Typst.Types: EvalState now has two new fields, `evalMathIdentifiers` and
|
|
|
|
|
`evalStandardIdentifiers`. `evalIdentifiers` is now just for user-defined
|
|
|
|
|
identifiers. [API change]
|
|
|
|
|
|
|
|
|
|
* Don't implicitly load sys module for math.
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Sun Jul 28 20:33:33 UTC 2024 - Peter Simons <psimons@suse.com>
|
|
|
|
|
|
|
|
|
|
- Update typst to version 0.5.0.5.
|
|
|
|
|
## 0.5.0.5
|
|
|
|
|
|
|
|
|
|
* Allow numbers like `1.` in math mode (#50).
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Mon Jun 24 18:45:46 UTC 2024 - Peter Simons <psimons@suse.com>
|
|
|
|
|
|
|
|
|
|
- Update typst to version 0.5.0.4.
|
|
|
|
|
## 0.5.0.4
|
|
|
|
|
|
|
|
|
|
* Add built-in identifiers for standard types (#21):
|
|
|
|
|
array, bool, content, int, float, regex, length,
|
|
|
|
|
alignment, color, symbol, string.
|
|
|
|
|
|
|
|
|
|
* Adjust emphasis parser for CJK characters (#49).
|
|
|
|
|
Typst documentation says that `*` strong emphasis
|
|
|
|
|
"only works at word boundaries." However, in typst/typst#2648
|
|
|
|
|
this was changed for CJK.
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Sun Apr 7 05:58:34 UTC 2024 - Peter Simons <psimons@suse.com>
|
|
|
|
|
|
|
|
|
|