mkorje
92d06fbd9a
Allow a function as an argument to size in accent
...
The short fall is now only applied in the default for `accent`
(`x => x - 0.5em`). This is the reason for the updated tests.
2025-04-25 22:36:21 +10:00
mkorje
3506ef446d
Allow a function as an argument to size
in stretch
and lr
...
Previously there was always a short fall when scaling delimiters, even if
the user requested a specific size. This is no longer the case; the short
fall is only present in the default for `lr` (`x => x - 0.1em`), and is
the reason for the updated tests - the size of the delimiters is now
actually what was specified in the size argument. This also makes the
default for `lr` much clearer to the user.
A slight hack was used by exploiting the `name` property in the `func`
attribute macro so that the default value in the docs for `lr.size` would
clearly show what the default function was (instead of just its name
`default_lr_size` which is meaningless and inaccessible to the user).
2025-04-25 22:14:57 +10:00
mkorje
d4d3d55348
Subtract short fall from target size in glyph assemblies
...
Previously the short fall was only considered when selecting a pre-made
variant glyph and was not propogated to the target size in a glyph
assembly.
2025-04-25 15:24:27 +10:00
Max
7e072e2493
Add test for flattened accents in math ( #6188 )
2025-04-17 14:10:27 +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
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
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
Myriad-Dreamin
758ee78ef5
Make World::font
implementations safe ( #6117 )
2025-03-31 08:08:55 +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
Max
96f6957371
Fix math.root
frame size ( #6021 )
2025-03-11 10:18:15 +00:00
Laurenz
e1a9166e1d
Hotfix for labels on symbols ( #6015 )
2025-03-07 08:22:42 +00:00
LN Liberda
63fda9935f
Run tests on 32-bit via Ubuntu multilib ( #5937 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-03-03 13:10:58 +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
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
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
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
Max
81efc82d3c
Fix math accent base height calculation ( #5941 )
2025-02-24 16:05:36 +00:00
Laurenz
69c3f95705
Bump MSRV to 1.83 and Rust in CI to 1.85 ( #5946 )
2025-02-24 12:28:01 +00:00
Max
55bc5f4c94
Make math shorthands noncontinuable ( #5925 )
2025-02-23 11:28:24 +00:00
PgBiel
240f238eee
Fix HTML export of table with gutter ( #5920 )
2025-02-23 11:26:14 +00:00
Laurenz
25c86accbb
More robust SVG auto-detection ( #5878 )
2025-02-17 10:56:00 +00:00
Laurenz
5fc679f3e7
Remove Linux Libertine warning ( #5876 )
2025-02-16 13:18:39 +00:00
+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
25f6a7ab16
Bump more dependencies ( #5813 )
2025-02-05 12:58: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
467968af07
Tweak HTML pretty printing ( #5745 )
2025-01-24 11:15:09 +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