summaryrefslogtreecommitdiff
path: root/crates/typst-library
AgeCommit message (Collapse)Author
2024-11-29Fix paragraph spacing in Rust 1.82+0.7Laurenz
2023-08-07Add hint for "access denied" messageLaurenz
2023-08-07Touch up docsLaurenz
2023-08-07Remove outdated docs about toml() not supporting datetimes (#1874)Gokul Soumya
2023-08-06Query-System for metadata (#1812)Beiri22
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2023-08-05Decode image (#1810)Beiri22
2023-08-05Add support for opacities (#1844)Laurenz Stampfl
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-03Bump hypherLaurenz
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-07-26Cleanup docs (#1797)Adrián Delgado
2023-07-26Add Listing's Spanish translation (#1798)Adrián Delgado
2023-07-25Gardening. (#1789)damaxwell
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-19Move `perp` symbol into correct category (#1741)DVDTSB
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-19Support OpenType writing script (#1697)damaxwell
2023-07-18Support `scope` argument for `eval`Laurenz
2023-07-18Support different modes for `eval`Laurenz
2023-07-18Extract syntax module into typst-syntax crateLaurenz
2023-07-18Improved math root layout (#1743)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-10Basic floating placementLaurenz
2023-07-10Better primes in math (#1614)sitandr
2023-07-10Customizable math classes (#1681)Eric Biedert
2023-07-08Add more math operators (#1090)Murphy Sünnenwold
2023-07-06Add alternative smartquotes (#1631)T0mstone
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-06Caption position (#1495) (#1496)Erik Bünnig
2023-07-06Add Japanese translation for LocalName (#1662)Shogo Takata
2023-07-06Make default margin behavior more precise (#1666)lolstork
2023-07-06Add support for weak elements in math (#1633)bluebear94
2023-07-05Add heading `bookmarked` toggle (#1566)Pg Biel
2023-07-05Clarify docs: Weak spacings eat markup space (#1648)raphCode
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2023-07-05Color mixing function (#1332)Lynn
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2023-07-02Move everything into `crates/` directoryLaurenz