3817 Commits

Author SHA1 Message Date
cAttte
f9897479d2
Unify EvalMode and LexMode into SyntaxMode (#6432) 2025-06-12 14:09:37 +00:00
Ilia
bd41fb9427
Check that all translation files are added to TRANSLATIONS and ends with newline (#6424)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-06-12 10:30:53 +00:00
cAttte
46d57b00b5
Warn when using variable fonts (#6425) 2025-06-11 14:42:57 +00:00
Laurenz
ada90fdd87 Fix untidy Cargo.lock 2025-06-11 16:44:13 +02:00
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
Tobias Schmitz
d1c7757da8
Fix panic when test source is not found in world (#6428) 2025-06-11 10:19:41 +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
3w36zj6
5d13b35458
Standardize trailing slashes in docs route paths (#6420) 2025-06-10 15:34:27 +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
e632bffc2e
Document how to escape lr delimiter auto-scaling (#6410)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-06-09 16:34:39 +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
5f776c7372
Bump New CM fonts to version 7.0.2 (#6376) 2025-06-04 09:41:08 +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
dependabot[bot]
1b399646c2
Bump crossbeam-channel from 0.5.14 to 0.5.15 (#6369)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-03 12:53:13 +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
Lachlan Kermode
6164ade9ce
Add typst-html to architecture crates list (#6364) 2025-06-02 14:15:04 +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
Eric Biedert
bef4e20434 Add test for location of migrated block
Previously, this would result in a position on the first page.
2025-05-28 13:03:17 +02:00
Eric Biedert
811996eb70 Update references of existing tests
In `grid-header-containing-rowspan`, the first region is now correctly
not stroked.

Not sure what happened in `grid-header-orphan-prevention`, but the "B"
in the first header was too bold before.
2025-05-27 15:27:04 +02:00
Eric Biedert
02f07e7912 Don't label empty orphan frames
Adding a label makes a previously empty frame non-empty, but we want to
keep orphans empty.
2025-05-27 15:27:04 +02:00
Eric Biedert
693edb475d Don't break blocks after empty frame
Instead, spill the whole child into the next region to prevent small
leftovers to influence layout. This is not done when all frames are
empty (e.g. for an explicitly sized block without content or fill).

This helps with the following cases:
- Previously, if a sticky block was followed by a leftover frame, the
  stickiness would be ignored, as the leftover was in fact sticking.
  This is not currently a problem, as sticky blocks aren't really
  breakable at the moment, but probably will be in the future.
- When ignoring stroke and fill for a first empty frame, a nested broken
  block would previously make the first frame not be considered empty
  anymore, which would lead to the leftover frame being filled.
- Similarly, when the fill of an explicitly sized block is ignored in
  the first empty frame, the leftover part would still be considered as
  laid out, making the actually visible block too small.
2025-05-27 15:21:15 +02:00