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
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
Malo
1082181a6f
Improve french smartquotes ( #5976 )
2025-03-31 09:01:01 +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
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
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
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
89e71acecd
Respect par
constructor arguments ( #5842 )
2025-02-10 14:37:19 +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
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
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
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
Ian Wrzesinski
7838da02ec
Add SymbolElem to realization
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
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
6fcc432284
Don't link items if container is already linked ( #5732 )
2025-01-22 13:24:14 +00:00
Max
be6629c7cb
Better math argument parsing ( #5008 )
2025-01-09 10:49:06 +00:00
Laurenz
cb8d862a55
Terminate pretty-printed HTML with trailing newline ( #5661 )
2025-01-06 13:55:34 +00:00
Johann Birnick
3a1503154f
Basic HTML heading
test ( #5619 )
2025-01-06 13:13:53 +00:00
Max
bb38a01d06
Fix math size resolving ( #5596 )
2024-12-20 12:35:57 +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
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