Commit Graph

1399 Commits

Author SHA1 Message Date
Y.D.X. 19325d5027
Warning when watching stdin (#6381)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-06-11 14:21:05 +00:00
Lachlan Kermode 1f5846ce24
Render `#super` as `<sup>`, `#sub` as `<sub>` in HTML (#6422) 2025-06-11 14:07:25 +00:00
T0mstone d7e0c52dd5
Use `codex::ModifierSet` (#6159)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-06-11 13:28:03 +00:00
Andrew Voynov 71032c8349
List both YAML file extensions in bibliography docs (#6426) 2025-06-11 10:04:10 +00:00
Malo 3a6d5fd6b2
Do not force `math.mid` elements to have the Large math class (#5980) 2025-06-11 08:29:38 +00:00
Laurenz 98034903e4
Adjust source file API surface (#6423) 2025-06-10 18:13:33 +00:00
Andrew Voynov a6ab6ac99a
Specify which CSL style is not suitable for bibliographies (#6306)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-06-10 17:59:06 +00:00
Andrew Voynov 5d34d54df4
Make a more descriptive definition of `module` (#6380) 2025-06-10 15:34:57 +00:00
Max 44d410dd00
Use the shaper in math (#6336) 2025-06-10 14:44:38 +00:00
PgBiel 7c7b962b98
Table multiple headers and subheaders (#6168) 2025-06-10 14:41:16 +00:00
Tobias Schmitz a18ca3481d
Report errors in external files (#6308)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-06-10 12:46:27 +00:00
Ian Wrzesinski 82da96ed95
Improve number lexing (#5969) 2025-06-10 09:11:27 +00:00
Andrew Voynov 2a3746c51d
Update docs for gradient.repeat (#6385) 2025-06-09 14:25:33 +00:00
cAttte df4c08f852
Autocomplete fixes for math mode (#6415) 2025-06-09 14:16:47 +00:00
Ian Wrzesinski 832fab58b3
Clean up some parser comments (#6398) 2025-06-09 13:48:55 +00:00
PgBiel 6725061841
Pin colspan and rowspan for blank cells (#6401) 2025-06-09 13:46:29 +00:00
Sam Ireson 494e6a6422
Numbering implementation refactor (#6122) 2025-06-04 13:31:06 +00:00
Max aee99408e1
Apply short fall consistently in math when stretching (#6377) 2025-06-04 10:14:24 +00:00
Linus Unnebäck 1de2095f67
Add support for WebP images (#6311) 2025-06-04 09:54:03 +00:00
Max 128c40d839
Apply script-style to numbers consistently in math (#6320) 2025-06-04 08:20:54 +00:00
Nazar Serhiichuk 4a8367e90a
Fix Ukrainian secondary smart quotes (#6372) 2025-06-04 08:13:39 +00:00
Andrew Voynov f7f163a8fa
Change Russian secondary smart quotes & remove alternatives (#6331) 2025-06-03 14:42:22 +00:00
Max dd95f7d594
Fix bottom accent positioning in math (#6187) 2025-06-03 14:08:18 +00:00
Kristofers Solo ff0dc5ab66
Add Latvian translations (#6348) 2025-06-03 12:38:21 +00:00
Laurenz 664d33a681
Be a bit lazier in function call evaluation (#6368) 2025-06-02 16:53:35 +00:00
Laurenz e023db5f1d
Bump Rust to 1.87 in CI (#6367) 2025-06-02 16:44:43 +00:00
Andrew Voynov fd08c4bb3f
Fix typo in layout docs, change "size" to "height" (#6344) 2025-06-02 13:12:42 +00:00
Malo 4329a15a1c
Improve `calc.round` documentation (#6345) 2025-06-02 13:04:49 +00:00
Andrew Voynov 83e249dd33
Fix Greek numbering docs (#6360) 2025-06-02 13:03:03 +00:00
Malo 61dee554ba
Add an example of show-set `place.clearance` for figures in the doc (#6208) 2025-06-02 13:02:01 +00:00
Mikołaj 3e7a39e968
Fix stroking of glyphs in math mode (#6243) 2025-05-28 17:29:40 +00:00
Andrew Voynov 82e869023c
Add remaining height example for layout (#6266)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-05-28 14:14:29 +00:00
Ian Wrzesinski 9a95966302
Remove line break opportunity when math operator precededes a closing paren (#6216) 2025-05-28 13:44:44 +00:00
Igor Khanin 9ac21b8524
Fix tracing of most field call expressions (#6234) 2025-05-28 13:41:35 +00:00
Shunsuke KIMURA 9bbfa5ae05
Clarify localization of reference labels based on lang setting (#6249)
Signed-off-by: Shunsuke Kimura <kimushun1101@gmail.com>
2025-05-28 13:29:45 +00:00
Igor Khanin 6e0f48e192
More precise math font autocomplete suggestions (#6316) 2025-05-28 13:05:10 +00:00
Tobias Schmitz 2a258a0c38
Remove unused Marginal type (#6321) 2025-05-23 07:31:26 +00:00
Malo df89a0e85b
Use the right multiplication symbol in expression tooltip (#6163) 2025-05-20 16:27:14 +00:00
Patrik Simic ca8d223fde
Removing unused warnings in nightly (#6169) 2025-05-20 16:25:26 +00:00
frozolotl d42d2ed200
Error if an unexpected named argument was received (#6192) 2025-05-20 16:24:46 +00:00
Max e90c2f74ef
Fix text overhang example in docs (#6223) 2025-05-20 16:20:40 +00:00
Tobias Schmitz d204a28818
Expand text link boxes vertically by half the leading spacing (#6252) 2025-05-12 18:12:35 +00:00
Tobias Schmitz 22a117a091
Prohibit some line break opportunities between LTR-ISOLATE and OBJECT-REPLACEMENT-CHARACTER (#6251)
Co-authored-by: Max <max@mkor.je>
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-05-12 09:16:38 +00:00
Tobias Schmitz 26c19a49c8
Use the infer crate to determine if pdf embeds should be compressed (#6256) 2025-05-12 08:07:43 +00:00
Tobias Schmitz 54c5113a83
Catch indefinite loop in realization due to cycle between show and grouping rule (#6259) 2025-05-12 08:06:18 +00:00
Tobias Schmitz 9b09146a6b
Use list spacing for attach spacing in tight lists (#6242) 2025-05-06 14:03:48 +00:00
Tobias Schmitz b322da930f
Respect RTL cell layouting order in grid layout (#6232)
Co-authored-by: PgBiel <9021226+PgBiel@users.noreply.github.com>
2025-05-06 08:26:55 +00:00
Malo 14241ec1aa
Use the right field name for `figure.caption.position` (#6226) 2025-05-01 15:43:07 +00:00
Andrew Voynov 3e6691a93b
Fix frac syntax section typo (#6193) 2025-04-18 14:27:07 +00:00
Malo c21c1c391b
Use `measure` `width` argument in `layout` doc (#6160) 2025-04-10 09:27:42 +00:00
Approximately Equal 94a497a01f
Add HTML meta tags for document authors and keywords (#6134) 2025-04-07 20:18:52 +00:00
alluring-mushroom 9829bd8326
Document exceptions and alternatives to using `type` (#6027)
Co-authored-by: Zedd Serjeant <Zedd.Serjeant@PumpkinEng.com.au>
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-04-07 19:56:20 +00:00
Andrew Voynov 43c3d5d3af
Improved ratio and relative length docs (#5750)
Co-authored-by: PgBiel <9021226+PgBiel@users.noreply.github.com>
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-04-07 19:47:02 +00:00
+merlan #flirora 14a0565d95
Show warnings from eval (#6100)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-04-07 18:42:29 +00:00
Andrew Voynov 14928ef962
Fix typo in module docs (#6146)
Co-authored-by: Alberto Corbi <alberto_corbi@icloud.com>
2025-04-07 17:47:29 +00:00
Markus Langgeng Iman Saputra ea336a6ac7
Add Indonesian translation (#6108)
Co-authored-by: Malo <57839069+MDLC01@users.noreply.github.com>
2025-04-04 15:50:13 +00:00
Malo 387a8b4895
Display color spaces in the order in which they are presented in the doc (#6140) 2025-04-04 11:53:14 +00:00
Malo ed2106e28d
Disallow empty font lists (#6049) 2025-04-02 11:47:42 +00:00
Malo 417f5846b6
Support comparison functions in `array.sorted` (#5627)
Co-authored-by: +merlan #flirora <uruwi@protonmail.com>
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-04-02 09:41:45 +00:00
Ian Wrzesinski 12699eb7f4
Parse multi-character numbers consistently in math (#5996)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-04-02 09:30:04 +00:00
Laurenz Stampfl 96dd67e011
Switch PDF backend to `krilla` (#5420)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-04-01 14:42:52 +00:00
Max 012e14d40c
Unify layout of `vec` and `cases` with `mat` (#5934) 2025-03-31 09:38:04 +00:00
Max 4f0fbfb7e0
Add dotless parameter to `math.accent` (#5939)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-03-31 09:17:49 +00:00
+merlan #flirora a64af130dc
Add default parameter for array.{first, last} (#5970) 2025-03-31 09:06:18 +00:00
Malo 1082181a6f
Improve french smartquotes (#5976) 2025-03-31 09:01:01 +00:00
+merlan #flirora e60d3021a7
Add env setting for ignore_system_fonts (#6092) 2025-03-31 08:17:37 +00:00
Astra3 326bec1f0d
Correcting Czech translation in `typst-library` (#6101) 2025-03-31 08:16:47 +00:00
Myriad-Dreamin 758ee78ef5
Make `World::font` implementations safe (#6117) 2025-03-31 08:08:55 +00:00
Matt Fellenz efdb75558f
IDE: complete jump-to-cursor impl (#6037) 2025-03-28 17:33:16 +00:00
frozolotl 20ee446eba
Fix descriptions of color maps (#6096) 2025-03-28 15:30:30 +00:00
Philipp Niedermayer b7a4382a73
Fix typo (#6104) 2025-03-28 15:28:03 +00:00
Laurenz Stampfl 838a46dbb7
Test all exif rotation types and fix two of them (#6102) 2025-03-27 10:59:32 +00:00
PgBiel 1f1c133878
Refactor grid header and footer resolving (#5919) 2025-03-24 20:42:48 +00:00
Eduardo Sánchez Muñoz 38213ed534
Use `u64` instead of `usize` to store counter and enumeration item numbers, so behavior does not vary from 64-bit to 32-bit platforms (#6026) 2025-03-24 18:16:33 +00:00
Andrew Voynov 636eea18bc
Expand page breaks' triggers for page(height: auto) in docs (#6081) 2025-03-24 18:08:39 +00:00
Ian Wrzesinski 91956d1f03
Use `std::ops::ControlFlow` in `Content::traverse` (#6053)
Co-authored-by: Max Mynter <maxmynter@me.com>
2025-03-24 18:07:19 +00:00
Laurenz 95a7e28e25
Make two typst-kit functions private (#6045) 2025-03-12 12:46:03 +00:00
Kevin K. 37bb632d2e
Fix missing words and paren in docs (#6046) 2025-03-12 12:45:57 +00:00
Andrew Voynov 0214320087
Fix parallel package installation (#5979)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-03-11 20:20:41 +00:00
Max 96f6957371
Fix `math.root` frame size (#6021) 2025-03-11 10:18:15 +00:00
evie 3650859ae8
Fix `cargo clippy` warnings (mostly about `.repeat.take` and `.next_back`) (#6038) 2025-03-11 10:00:53 +00:00
Caleb Maclennan bd531e08dc
Bump `rustybuzz` (and adjacent crates) (#5407) 2025-03-10 12:45:08 +00:00
Ludovico Gerardi e66e190a21
Fix typo in docs (#6034) 2025-03-10 11:39:30 +00:00
Laurenz e1a9166e1d
Hotfix for labels on symbols (#6015) 2025-03-07 08:22:42 +00:00
Andrew Voynov 6271cdceae
Fix debug implementation of Recipe (#5997) 2025-03-04 09:33:39 +00:00
3w36zj6 8820a00beb
Respect `quotes: false` in inline quote (#5991)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-03-03 11:50:47 +00:00
Andrew Voynov bf0d45e2c0
Make `array.chunks` example more readable (#5975) 2025-03-03 11:31:39 +00:00
Tijme 66679920b2
Fix docs example with type/string comparison (#5987) 2025-03-03 09:32:06 +00:00
Ian Wrzesinski cfb3b1a270
Improve clarity of `ast.rs` for newcomers to the codebase (#5784)
Co-authored-by: PgBiel <9021226+PgBiel@users.noreply.github.com>
Co-authored-by: T0mstone <39707032+T0mstone@users.noreply.github.com>
2025-02-26 20:10:36 +00:00
Emmanuel Lesueur 52f1f53973
Fix curve with multiple non-closed components. (#5963) 2025-02-26 18:07:29 +00:00
Malo d6b0d68ffa
Add more methods to `direction` (#5893) 2025-02-25 14:19:17 +00:00
Laurenz 8f039dd614
Only autocomplete methods which take self (#5824) 2025-02-25 14:10:01 +00:00
Malo 2eef9e84e1
Improve hints for show rule recursion depth (#5856) 2025-02-25 14:09:52 +00:00
evie d11ad80dee
Add `#str.normalize(form)` (#5631)
Co-authored-by: +merlan #flirora <uruwi@protonmail.com>
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-02-25 14:01:01 +00:00
Laurenz f31c971624
Deduplicate watcher update call (#5955) 2025-02-25 12:47:41 +00:00
aodenis acd3a5b7a5
Fix high CPU usage due to inotify watch triggering itself (#5905)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-02-25 12:41:54 +00:00
Laurenz 225e845021
Fix introspection of HTML root sibling metadata (#5953) 2025-02-25 11:31:15 +00:00
Sharzy 36d83c8c09
HTML export: fix elem counting on classify_output (#5910)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-02-24 16:35:13 +00:00
Malo 3744c99b07
Override the default math class of some characters (#5949) 2025-02-24 16:15:17 +00:00
Max 81efc82d3c
Fix math accent base height calculation (#5941) 2025-02-24 16:05:36 +00:00