summaryrefslogtreecommitdiff
path: root/crates/typst-library/src
AgeCommit message (Collapse)Author
2023-10-03Honor text’s fallback option for hyphenation (#2301)bluebear94
2023-10-03ShapedText::push_hyphen: Use self.base for default hyphen range (#2299)bluebear94
In the unlikely chance that we hyphenate after an empty line, we set the glyph range to self.base..self.base so that subtracting Fixes #2283.
2023-10-02Add capability to get current compiler version (#2016)T0mstone
2023-10-02Passing color to the augment line in matrix (#2281)LU Jialin
2023-09-30Fix dead linksLaurenz
2023-09-29Color fixes (#2262)Sébastien d'Herbais de Thun
2023-09-28Enable font fallback for hyphen (#2233)LU Jialin
2023-09-28initial Romanian support (#2246)DVDTSB
2023-09-28Handle compiler panics when handling infinite lengths (#2215)bluebear94
2023-09-27Refactor image handlingLaurenz
2023-09-26Extract IDE crateLaurenz
2023-09-26Prevent block spacing with placed elements (#2244)Eric Biedert
2023-09-26Resolve spacing before comparing (#2235)Eric Biedert
2023-09-26Add ability to set document keywords. (#2234)qj
2023-09-26Add `wide` spacing for math (#2224)DVDTSB
2023-09-25Add `background` parameter to `overline`, `underline` and `strike` (#2219)tingerrr
2023-09-25Add custom smart quotes (#2209)tingerrr
2023-09-25Fixing the styling issues of the empty pages caused by pagebreak (#2182)LU Jialin
2023-09-25feat: inital Hungarian language support (#2229)FlyinPancake
2023-09-25Fixing the baseline in math content (#2220)LU Jialin
2023-09-21Add gaps for matrix, case, and vector (#2186)SekoiaTree
2023-09-19Correct the consecutive hyphen cost (#2190)Peng Guanwen
This just fixes a mistake previously made. `0.3` is the correct number that is proportional to the parameters in Knuth's paper. The previously choosed value `300` is due to my calculation mistake and is too large that essentially prevent any consecutive hyphens.
2023-09-19Gradient Part 1 - Color rework (#2171)Sébastien d'Herbais de Thun
2023-09-19Allow multiple fallback fonts in SVGs (#2122)Eric Biedert
2023-09-18Fix "set align" for block equations (#2157)Eric Biedert
2023-09-18Fix duplicate state manipulationLaurenz
The flow layouts footnotes twice in some cases, which messed up the Vt's locator state. Typically, we use `thing.measure` instead of `thing.layout` to prevent side effects, but in this case it was simpler to just undo the modification. A future layout engine rewrite should try to make this kind of error harder to make. Fixes #1597
2023-09-14Minor docs fixesLaurenz
2023-09-14Fix invisibles on final page (#2141)Laurenz
2023-09-13Fix floating placement within containersLaurenz
Fixes #1879
2023-09-13Bump dependenciesLaurenz
2023-09-13Fix newline in text in mathLaurenz
Fixes #1948
2023-09-13Fix box in 100% width blockLaurenz
Fixes #2128
2023-09-13Add logical numbering support for PDF export (#1933)Kevin K
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2023-09-12Add figure separator field (#1791)Dmitrij
2023-09-12Add `figure.caption` element (#1704)MALO
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2023-09-11First-class typesLaurenz
Makes types first-class values.
2023-09-11Forward third-party errorsLaurenz
Better to know something even if it isn't always formatted in the prettiest way
2023-09-11Provide `highlight` function for setting the background color of text (#2076)LU Jialin
2023-09-09Fix font family mismatch between Typst and usvgLaurenz
Fixes #2051
2023-09-07Add note: footnote show/set rules at document start (#2078)raphCode
2023-09-06Fix arguments for hyberbolic functions (#2072)klMse
2023-09-06Fix spacing after number in mathLaurenz
Fixes #1052
2023-09-06Interpret vertical page number alignment differentlyLaurenz
The vertical alignment of `number-align` now selects header or footer instead of aligning within the footer. This is a minor breaking change because - top behaves differently now - horizon is now forbidden - bottom (the new default) behaves differently, too Typical number-align usage will likely not use the vertical component at all, though. Fixes #645
2023-09-05fix typo in the to-bytes conversion (#2067)LU Jialin
2023-09-04Docs fixesLaurenz
Fixes #2059 Fixes #1946 Fixes #1936 Fixes #1862 Fixes #1820 Fixes #1383
2023-09-04Fix improper line wrapping in the presence of medial newlines (#2056)bluebear94
Fixes #2019.
2023-09-04Add a page setup guide (#1911)Martin Haug
2023-08-31Replace tabs with spaces in raw elements. (#2042)Anton Wetzel
2023-08-31Modify sqrt example (#2028)Szymon Bęczkowski
2023-08-31Add regular polygons to visualize (#1215)Reid Johnson