summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2023-08-07Show warning to user if they use double/empty underscores (italic) (#1871)Mathias Fischler
2023-08-06Fix incomplete line endings (#1866)Matt Fellenz
2023-08-05Decode image (#1810)Beiri22
2023-08-05Period and slash are ordinary characters in math (#1855)damaxwell
2023-08-05Correct spacing between closing delimiter and large operators (#1857)damaxwell
2023-08-04Bytes typeLaurenz
- Moves `Bytes` from `util` to `eval` module - Accepts bytes in `str` function for bytes -> str conversion - Adds `bytes` function for str | array -> bytes conversion - Adds `array` function for bytes -> array conversion - Adds `len`, `at`, and `slice` methods for bytes - Adds `encoding` parameter to `read` function
2023-08-03layout::par::finalize: Bound allotted width when fitting to width (#1828)bluebear94
Sometimes, optimized line breaking outputs lines that are wider than the allotted width so that spacing between words can be narrowed to fit. However, the width calculation for the fit-to-width case does not account for this, causing the resulting width to exceed the width of the region. This commit takes the minimum of the calculated width with the width of the region. Fixes #1825.
2023-08-03Ensure normal weight math font face is consistent (#1774)damaxwell
2023-08-03large operators have limits in displays; relations have limits always (#1748)damaxwell
2023-08-03Warn if layout doesn't stabilize (#1684)bluebear94
2023-07-29Add start parameter to array enumerate (#1818)bluebear94
2023-07-26Update field mutation error message (#1742)Pg Biel
2023-07-20Improved #box baselines in math (#1755)damaxwell
* Improved #box baselines in math * add a test
2023-07-20Center delimiters vertically about the axis (#1756)damaxwell
2023-07-20Center large operators on axis (#1735)damaxwell
2023-07-19Identify state by key onlyLaurenz
2023-07-19Resolve `place` deltas relative to real container sizeLaurenz
2023-07-19Positions placed elements relative to real container size (#1745)Laurenz
This positions placed elements relative to the real container size instead of relative to the base size of the region. This makes its usage more versatile. Fixes #82 Fixes #685 Fixes #1705
2023-07-19Add infrastructure for compiler warnings (#1731)lolstork
2023-07-19Support OpenType writing script (#1697)damaxwell
2023-07-18Support `scope` argument for `eval`Laurenz
2023-07-18Extract syntax module into typst-syntax crateLaurenz
2023-07-18Improved math root layout (#1743)damaxwell
2023-07-18Adding `dedup` to `array` (#1738)Sébastien d'Herbais de Thun
2023-07-18split attach test (#1744)damaxwell
2023-07-17Support for bounding box text edges (#1626)damaxwell
2023-07-17Load theme for raw code (#1675)Myriad-Dreamin
2023-07-17Classify `dots.c`, `dots.down`, `dots.up` and `dots.v` as normal (#1726)Liam Murphy
Fixes #713. They were previously classified by Unicode as relations, which caused a '+' sign after one of them to be treated as a unary operator rather than a binary operator. This PR overrides the Unicode classification and classifies them as normal instead, which causes a '+' sign after one of them to be properly treated as a binary operator.
2023-07-17Rename math symbols (#1124)KG
Co-authored-by: Ryan Pitasky <111201305+rpitasky@users.noreply.github.com> Co-authored-by: Daniel Csillag <15617291+dccsillag@users.noreply.github.com>
2023-07-11Add fields and methods to several primitives (#790)Pg Biel
2023-07-10Do not take empty lines into account when computing `raw` block dedent (#1676)MALO
2023-07-10Basic floating placementLaurenz
2023-07-10Better primes in math (#1614)sitandr
2023-07-10Customizable math classes (#1681)Eric Biedert
2023-07-06Better error messages for `#` expressionsLaurenz
2023-07-06Better error messages for keywords in place of identifiersLaurenz
Fixes #1123
2023-07-06Raw syntax definition loading (#1655)Sébastien d'Herbais de Thun
2023-07-06Handle single and alternate substs for single glyphs in math mode (#1592)bluebear94
2023-07-06Add support for weak elements in math (#1633)bluebear94
2023-07-05Parser hints infrastructure (#1570)Mathias Fischler
2023-07-05Add heading `bookmarked` toggle (#1566)Pg Biel
2023-07-05Color mixing function (#1332)Lynn
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2023-07-04Disable `binary` feature of `oxipng` (#1640)LingMan
The `oxipng` crate contains a binary target in addition to the library target. Said binary has additional dependencies which are not needed by users of the library. Since Cargo unfortunately doesn't currently offer a good way to express such binary-only dependencies, they are enabled by default via the `binary` feature. Avoid downloading and building these unnecessary crates by disabling the `binary` feature.
2023-07-02Move everything into `crates/` directoryLaurenz
2023-06-30Minor improvementsLaurenz
2023-06-28Reintroduce `--root`Laurenz
2023-06-27Basic package managementLaurenz
2023-06-26support optical sizes for script/scriptscript when available (#1580)damaxwell
2023-06-26math under/overline now draws simple lines based on parameters in math font ↵damaxwell
table (#1568)
2023-06-26Make footnotes referenceable (#1546)MALO