File ghc-typst.changes of Package ghc-typst
-------------------------------------------------------------------
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>
- Update typst to version 0.5.0.3.
## 0.5.0.3
* Support grid.(cell,header,footer,hline,vline) (#44).
* Support table.(cell,vline,hline,header,footer) (#44).
* Allow space after equation in code (#43).
* Treat unicode whitespace characters as whitespace (#43).
* Allow raw (backticked) content as code expression (#43).
* Allow colon in label (#43).
* Allow line comments at end of file (#43).
* Depend on typst-symbols 0.1.6.
* Add Haddock docs to parts of the public API (Eli Adelhult,
Leopold Wigratt).
* Avoid backtracking in `pDictExpr` (Jonathan Widén).
* Allow colon in dict literal (Jonathan Widén) (#43, #45).
-------------------------------------------------------------------
Thu Mar 14 19:16:40 UTC 2024 - Peter Simons <psimons@suse.com>
- Update typst to version 0.5.0.2.
## 0.5.0.2
* Fix parsing of field access in math (#41). `$plus.circle_2$`
should give you a subscript 2 on the symbol `plus.circle`.
Underscores are not allowed in field access in math.
* Support toml-parser-2.0.0.0 (Eric Mertens).
-------------------------------------------------------------------
Wed Feb 14 20:16:16 UTC 2024 - Peter Simons <psimons@suse.com>
- Update typst to version 0.5.0.1.
## 0.5.0.1
* Set `evalPackageRoot` to working dir to start, even if the file to be
converted is somewhere else. This seems to be what the test suite expects.
* Make file loading relative to package root if present (#39).
* Parser: remove `pBindExpr` from `pBaseExpr`. It does not seem
to be necessary, and it causes problems with things like `$#x = $y$` (#34).
* Fix assignment of module name in package imports (#30).
* Don't allow `container.at` to insert new values (#26).
* Handle `dict.at(variable) = expression` (#25).
* Remove dependency on the unmaintained digits library (#24).
We just copy the code for the function we need (with
attribution): it is BSD3-licensed.
-------------------------------------------------------------------
Sat Dec 16 02:32:12 UTC 2023 - Peter Simons <psimons@suse.com>
- Update typst to version 0.5.
## 0.5
* Support "as" keyword in imports (#21).
[API change] In Typst.Syntax, the Imports type now contains
fields for an optional "as" identifier.
* Support version type (#21).
[API change] Add VVersion constructor to Val, TVersion to ValType.
Support the `version` constructor function and the `at` method (#21).
* Parser: Ensure that `set` rule doesn't pick up `if` on next line (#23).
* Parser: Allow multiline strings (#20).
* Allow function applications in dictionary key construction (#19).
[API change]: in Typst.Syntax, the Dict constructor for Expr
now takes type `[Spreadable (Expr, Expr)]` instead of
`[Spreadable (Identifier, Expr)]`. This is because the key
identifiers sometimes are not known at parse time and must
be computed in Evaluate.
## 0.4
* `evaluateTypst` now returns a single Content instead of a sequence
(breaking API change). The Content is a "document" element that wraps
the other contents. (This is added automatically in typst:
https://typst.app/docs/reference/model/document/#parameters-title.)
* Improve math parser.
* Add `sys` module and `sys.version`.
* Math: add `sech` and `csch` operators, `math.mid`.
* `math.op` is no longer limited to string argument.
* Remove automatic matching for `|..|` in math (typst 0.8 breaking change).
* Fix `in` so it works with a type.
* `repr` label with angle brackets.
* `cite` now just takes one positional element, a label
instead of strings (typst 0.9 breaing change).
* Add `quote` element.
* Add first-class types. `type()` function now returns a
ValType instead of a string. Allow ValTypes to == strings
for compatibility, as in typst.
* `highlight` element for text.
* Allow array `zip` method to take any number of arguments.
* Add `calc.tau`.
* Add array `intersperse` method.
* Add string `rev` method.
* Fix search path for typst packages, from
`cache/typst/packages/preview/packagename-major.minor.patch` to
`cache/typst/packages/preview/packagename-major/minor.patch` (#18).
* Add support of 'wide' spacing character.
* Fix precedence for numerical attachments (#17).
Typst makes a subtle distinction between `$a_1(x)$`, in which
the `_` groups more tightly than the `(..)`, and $`a_f(x)$`,
in which the `(..)` groups more tightly than the `_`.
This patch implements the distinction. This fixes conversion of,
e.g., `$n(a)^(b)$`.
* Use typst-symbols 0.1.5.
-------------------------------------------------------------------
Fri Oct 27 16:57:00 UTC 2023 - Peter Simons <psimons@suse.com>
- Update typst to version 0.3.2.1.
Upstream has edited the change log file since the last release in
a non-trivial way, i.e. they did more than just add a new entry
at the top. You can review the file at:
http://hackage.haskell.org/package/typst-0.3.2.1/src/CHANGELOG.md
-------------------------------------------------------------------
Wed Jun 7 00:20:03 UTC 2023 - Peter Simons <psimons@suse.com>
- Add typst at version 0.1.0.0.