Commit Graph

304 Commits

Author SHA1 Message Date
+merlan #flirora 02cd43e27f
`Gradient::repeat`: Fix floating-point error in stop calculation (#5837) 2025-02-12 12:38:40 +00:00
Laurenz 89e71acecd
Respect `par` constructor arguments (#5842) 2025-02-10 14:37:19 +00:00
Laurenz e4f8e57c53
Fix unnecessary import rename warning (#5828) 2025-02-06 21:10:43 +00:00
Laurenz 0ea668077d
Bump codex to 0.1.0 (#5805) 2025-02-04 10:08:43 +00:00
Laurenz 50ccd7d60f
Scope deprecations (#5798) 2025-02-04 09:38:31 +00:00
Malo f239b0a6a1
Change the default math class of U+22A5 ⊥ UP TACK to Normal (#5714) 2025-01-31 10:05:03 +00:00
Hong Jiarong 46727878da
Disable cjk_latin_spacing in raw by default (#5753) 2025-01-31 10:02:42 +00:00
Laurenz a1f263862c
Change type repr to short name (#5788) 2025-01-31 09:56:49 +00:00
frozolotl 3eb6e87af1
Include images from raw pixmaps and more (#5632)
Co-authored-by: PgBiel <9021226+PgBiel@users.noreply.github.com>
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-01-31 09:56:25 +00:00
Laurenz be1fa91a00
Modular, multi-threaded, transitioning plugins (#5779) 2025-01-30 13:36:15 +00:00
Laurenz 1b2719c94c
Resolve bound name of bare import statically (#5773) 2025-01-29 14:20:30 +00:00
Laurenz 85d1778974
Support first-line-indent for every paragraph (#5768) 2025-01-27 13:15:20 +00:00
Laurenz 176b070c77
Fix space collapsing for explicit paragraphs (#5749) 2025-01-24 12:31:03 +00:00
Laurenz 26e65bfef5
Semantic paragraphs (#5746) 2025-01-24 12:11:26 +00:00
Laurenz cd044825fc
Handle boxes and blocks a bit better in HTML export (#5744)
Co-authored-by: Martin Haug <3874949+reknih@users.noreply.github.com>
2025-01-23 22:18:02 +00:00
Ian Wrzesinski 6fe1e20afb Update math TextElem layout to separate out SymbolElem 2025-01-23 16:30:29 -05:00
Ian Wrzesinski 7838da02ec Add SymbolElem to realization 2025-01-23 16:28:29 -05:00
Ian Wrzesinski fecdc39846 Use SymbolElem in more places and add `char` cast for content 2025-01-23 16:28:29 -05:00
Ian Wrzesinski c47b71b435 Basic SymbolElem addition 2025-01-23 16:28:29 -05:00
Malo 2d33393df9
Add support for `c2sc` OpenType feature in `smallcaps` (#5655) 2025-01-23 18:24:35 +00:00
T0mstone b7546bace7
Ignore shebang at start of file (#5702) 2025-01-23 13:05:12 +00:00
wznmickey ce299d5832
Support syntactically directly nested list, enum, and term list (#5728)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-01-23 12:52:20 +00:00
Ian Wrzesinski f7bd03dd76
Fix delimiter unparen syntax (#5739) 2025-01-23 12:27:38 +00:00
Michael Färber b3fb6c2326
Support quotes in HTML output (#5673) 2025-01-23 12:21:34 +00:00
Michael Färber e61cd6fb9e
Support `start` attribute for `enum` in HTML export (#5676) 2025-01-23 12:18:46 +00:00
Michael Färber dda486a412
HTML tables (#5666) 2025-01-23 12:08:48 +00:00
Laurenz 52ee33a275
Rework outline (#5735) 2025-01-23 11:50:51 +00:00
Laurenz 1bd8ff0e0f
Methods on elements (#5733) 2025-01-23 10:16:04 +00:00
Laurenz 6fcc432284
Don't link items if container is already linked (#5732) 2025-01-22 13:24:14 +00:00
Ian Wrzesinski 63c4720ed2
Fix list indent when starting at an open bracket (#5677) 2025-01-16 13:40:29 +00:00
Max be6629c7cb
Better math argument parsing (#5008) 2025-01-09 10:49:06 +00:00
Laurenz e2b37fef33
Revamp data loading and deprecate `decode` functions (#5671) 2025-01-09 09:34:16 +00:00
Niklas Eicker 0a374d2380
Embed files associated with the document as a whole (#5221)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-01-08 09:38:34 +00:00
Malo e09b55f00f
Allow adding and joining `arguments` (#5651) 2025-01-06 15:41:58 +00:00
Johann Birnick 3a1503154f
Basic HTML `heading` test (#5619) 2025-01-06 13:13:53 +00:00
Malo a2f685483a
Improve `repr` for `arguments` (#5652) 2025-01-06 12:43:41 +00:00
Max bb38a01d06
Fix math size resolving (#5596) 2024-12-20 12:35:57 +00:00
Malo 39706fe42f
Error on duplicate symbol variant with modifiers in different orders (#5587)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-12-20 11:15:14 +00:00
Max c3334a55fe
Fix arbitrarily nested equations in the base of `math.attach` (#5613) 2024-12-20 10:15:18 +00:00
PgBiel 6c2d54bbe3
Fix crash when block or text have negative sizes (#5610) 2024-12-20 10:03:12 +00:00
Michael Färber df4e6715cf
HTML tests (#5594)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-12-20 09:48:17 +00:00
PgBiel 9b697d59ae
Fix infinite loop with footnote which never fits (#5498) 2024-12-18 16:54:14 +00:00
Joshua Gawley 21e608e6e9
Change error when accessing non-existant label (#5571) 2024-12-18 16:52:37 +00:00
Emmanuel Lesueur 257764181e
New `curve` element that supersedes `path` (#5323)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-12-18 15:58:57 +00:00
wznmickey 05559a6638
Bump `unicode-bidi` (#5598)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-12-18 11:15:38 +00:00
Peng Guanwen 73253d4651
Support for defining which charset should be covered by a font (#5305)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-12-17 14:07:45 +00:00
PgBiel 60f246ece2
Fix sticky blocks at the top of blocks and pages (#5581)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-12-17 09:41:18 +00:00
Laurenz 1346385255
Rename `pattern` to `tiling` (#5590) 2024-12-17 09:25:27 +00:00
Laurenz ed67220e4b
Remove deprecated things and compatibility behaviours (#5591) 2024-12-17 09:25:15 +00:00
Eric Biedert 51020fcf3c
Get numbering of page counter from style chain (#5589) 2024-12-16 20:23:13 +00:00
Malo 8b1e0d3a23
Improve `symbol` `repr` (#5505) 2024-12-16 14:10:42 +00:00
+merlan #flirora d3620df4c6
Add reversed numbering (#5563) 2024-12-16 13:45:57 +00:00
Laurenz 521ceae889
Fix crash due to consecutive weak spacing (#5562) 2024-12-11 15:46:10 +00:00
Ian Wrzesinski 5e0e58d26e
Add number-syntax edge case tests (#5560) 2024-12-11 11:33:59 +00:00
Ian Wrzesinski ef4fc040b2
Improve raw trimming (#5541) 2024-12-11 11:31:04 +00:00
wznmickey bb0c814095
Forbid base prefix for numbers with a unit (#5548)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-12-09 10:56:42 +00:00
PgBiel c2cc09e71a
Forbid footnote migration in pending floats (#5497)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-12-09 09:55:58 +00:00
+merlan #flirora 73dd5a085e
Fix sizing of quadratic shapes (square/circle) (#5451)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
Co-authored-by: PgBiel <9021226+PgBiel@users.noreply.github.com>
2024-12-09 09:33:30 +00:00
Laurenz 4729d3d3bd
Fix language-dependant figure caption separator in outline (#5550) 2024-12-08 18:36:04 +00:00
Max 468a60103d
Fix multiline annotations in over- elems in math changing the baseline (#5459) 2024-12-08 16:55:34 +00:00
PgBiel 62567fc91e
Fix multiple footnotes in footnote entry (#5545) 2024-12-08 16:35:54 +00:00
Ian Wrzesinski e6de044b1d
Add test for issue #4573 (#5542) 2024-12-08 16:29:49 +00:00
PgBiel a1a5215234
Ensure par and align interrupt cite groups and lists (#5526) 2024-12-08 16:25:47 +00:00
Ian Wrzesinski 50dcacea9a
Convert unopened square-brackets into a hard error (#5414) 2024-12-08 16:23:14 +00:00
PgBiel 884c02872c
Fix text fill within `clip: true` blocks in PNG export (#5502) 2024-12-04 10:00:04 +00:00
+merlan #flirora 89d96c623d
Let decimal constructor accept decimal values (#5481) 2024-11-27 16:36:04 +00:00
Max 578ba640f3
Fix weak spacing being ignored unconditionally in `math.lr` (#5477) 2024-11-27 11:16:25 +00:00
Max f29fbea2fc
Use extended shape information for glyph `text_like`-ness (#5483) 2024-11-27 11:11:49 +00:00
+merlan #flirora 6bf1350b16
Add support for interpreting f32 in float.{from-bytes, to-bytes} (#5480) 2024-11-27 11:04:54 +00:00
Sébastien d'Herbais de Thun 85d3a49a1a
Added warning when explicit return in code (not markup) discards joined content (#5413)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-11-26 20:51:46 +00:00
Max 8fe8b2a239
Ignore leading and trailing ignorant fragments in `math.lr` (#5473) 2024-11-26 20:51:22 +00:00
Max 39e41ba3c6
Fix `path` with infinite length causing panic (#5457) 2024-11-26 12:39:00 +00:00
Max fd5e642fb4
Tags shouldn't affect row height in equations (#5458) 2024-11-26 12:37:53 +00:00
Malo 5c37a1cfea
Use `codex` for symbols (#5421) 2024-11-17 19:08:23 +00:00
Ian Wrzesinski 5672cc2a29
Update list/enum tests and recognize #762 as already closed (#5433) 2024-11-17 09:18:44 +00:00
wznmickey cce744cf78
Fix unnecessary hyphenation (#5394) 2024-11-17 09:04:07 +00:00
Max 8d4f01d284
Add support for page references through new `ref.form` property (#4729) 2024-11-12 12:54:25 +00:00
Andrew Voynov cb8eaddf98
Removed deprecated `diff` symbol (#5388) 2024-11-12 12:44:45 +00:00
wznmickey ada30cd5b1
Fix unstoppable empty footnote loop (#5354) (#5364) 2024-11-05 08:27:25 +00:00
Sébastien d'Herbais de Thun 692d846d25
Disable justification in `raw(block: true, ...)` (#4889)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-11-04 09:37:29 +00:00
Laurenz cb1aad3a0c
Refactor Parser (#5310) 2024-11-04 10:17:49 +01:00
Ian Wrzesinski 2c9728f53b 18. Restore list indent behavior 2024-11-03 22:04:06 -05:00
Ian Wrzesinski 9d9a1b1e33 17. Replace while loop closures and Parser::end() to use SyntaxSet 2024-11-03 20:28:49 -05:00
Ian Wrzesinski 26c61be1dc 15. Convert Markup mode to use newline modes
(And break out Newline info into separate struct)
2024-11-03 20:28:49 -05:00
Ian Wrzesinski a70b8a56ef
Disallow space between ident and paren in set rule (#5269) 2024-11-01 09:45:08 +00:00
LU Jialin 23313b0af0
Support Greek Numbering (#4273)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-11-01 09:20:10 +00:00
Ian Wrzesinski 88d86714a1 9. Parse math field access in the lexer 2024-10-31 18:26:12 -04:00
HydroH 066e9349f9
Add `calc.norm()` function to compute euclidean norms (#4581)
Co-authored-by: +merlan #flirora <uruwi@protonmail.com>
Co-authored-by: Yip Coekjan <69834864+Coekjan@users.noreply.github.com>
Co-authored-by: Malo <57839069+MDLC01@users.noreply.github.com>
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-10-31 12:41:50 +00:00
Max f85faf957f
Add `math.accent` support for `flac` and `dtls` OpenType features (#5202) 2024-10-30 15:29:15 +00:00
Kevin K. 33a035ee0d
Fix wrong Greek and Ukrainian language codes (#5261)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-10-28 14:42:25 +00:00
Eric Biedert 45377f25ec
Fix clipping with outset (#5295)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-10-28 14:31:00 +00:00
Ian Wrzesinski b8034a3438
Syntax set macro (#5138)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-10-22 13:25:52 +00:00
Laurenz 711a2d8807
Fix optimized linebreaks without justification (#5236) 2024-10-18 13:10:22 +00:00
PgBiel 382787d799
(Re-)implement rounding with negative digits (#5198)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-10-14 16:14:06 +00:00
Laurenz 6a8e29b2e5
Fix tag order with `place` and fr block bugs (#5203) 2024-10-14 14:18:25 +00:00
Laurenz 8b6f7298e3
Fix outline with CJK text (#5187) 2024-10-12 12:01:34 +00:00
Laurenz 61d461f080
Refactor and fix bounds metric (#5186) 2024-10-12 12:01:32 +00:00
Laurenz bb0e089474
Fix logical ordering of floats and footnotes (#5185) 2024-10-12 12:01:31 +00:00
PgBiel 16736feb13
Fix hashing of equal decimals with different scales (#5179)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-10-11 08:19:58 +00:00
Max b5b92e21e9
Fix bug in `math.frac` layout code (#5177) 2024-10-10 15:52:55 +00:00