Tobias Schmitz
011c84ee0e
Merge branch 'main' into pdf-accessibility
2025-08-06 11:52:46 +02:00
Tobias Schmitz
00c74a0e3e
fix: manually generate tags for table and grid cells
...
This is a bit of a hack, but it works for now.
2025-08-06 11:43:14 +02:00
Tobias Schmitz
c738640113
refactor: avoid using transmute to work around the borrow checker
2025-08-06 11:40:19 +02:00
Laurenz
15d5591a42
Make HTML data structures cheaper to clone ( #6708 )
2025-08-06 09:30:45 +00:00
Johann Birnick
d0026093d4
Add title
element ( #5618 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-08-06 08:13:41 +00:00
Sebastian Eberle
6de2d9586a
Correct CeTZ spelling ( #6706 )
2025-08-06 08:11:20 +00:00
Y.D.X.
b98954c78b
Show aliases of citation styles in docs and completions ( #6696 )
2025-08-05 15:18:27 +00:00
Laurenz
4a975fdb8b
Ensure that whitespace is not collapsed in inline raw blocks ( #6703 )
2025-08-05 15:13:21 +00:00
Tobias Schmitz
1b49034fb3
refactor: fix some warnings
2025-08-05 16:38:29 +02:00
Tobias Schmitz
8c9e548cd7
feat: highlight, super- and sub-script text attributes
2025-08-05 16:34:33 +02:00
Tobias Schmitz
3bcfe54002
fix: only generate conflicting text decoration style error in PDF/UA-1
2025-08-05 10:56:13 +02:00
Tobias Schmitz
e5fcc3bf5e
feat: disable tags inside hide elem
2025-08-04 20:00:31 +02:00
Tobias Schmitz
7ea16f25b5
fix: ignore any tags inside of tilings
2025-08-04 19:52:21 +02:00
Tobias Schmitz
b312b45b19
feat: underline, overline, and strike text decoration attributes
...
Artifact content ids are no longer added to the tag tree. This greatly
simplifies the grouping of text items into span tags with text decoration
attributes.
Artifact IDs are dummy ids anyway and more of an implementation detail
of how krilla writes marked content/artifacts.
2025-08-04 18:01:55 +02:00
Laurenz
6177c1b22d
Support for raw syntax highlighting in HTML export ( #6691 )
2025-08-04 13:35:00 +00:00
Laurenz
04b8b3195f
Wrap raw blocks in <code>
tag additionally to <pre>
tag ( #6701 )
2025-08-04 13:21:27 +00:00
Laurenz Stampfl
2809dac6a7
Apply aspect ratio correction for linear gradients in PDF export ( #6689 )
2025-08-04 09:59:10 +00:00
Laurenz Stampfl
0fe8f09ba9
Add support for drawing COLR glyphs in SVG export ( #6693 )
2025-08-04 09:49:51 +00:00
Myriad-Dreamin
3683399a95
Add interface to disable timer ( #6695 )
...
Co-authored-by: Derived Cat <hooyuser@outlook.com>
2025-08-04 09:08:01 +00:00
枚鴉
b825df6bbc
Allow custom element names in HTML tag syntax ( #6676 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-08-01 12:57:07 +00:00
Tobias Schmitz
df6a4ba7f4
fix: allow closing mismatched tags while in artifacts
2025-08-01 14:24:23 +02:00
Tobias Schmitz
d92e54ac63
feat: put in assertion to validate all tags are closed
2025-08-01 14:23:38 +02:00
Max
cd1a786539
Prevent broken glyph assemblies when font data is incorrect ( #6688 )
2025-08-01 10:55:37 +00:00
Tobias Schmitz
1105e36546
refactor: split off context module from tags/mod.rs
2025-08-01 11:26:50 +02:00
Tobias Schmitz
9e7ef68bce
refactor: replace pub(crate) -> pub for items in private tags module
2025-08-01 11:17:26 +02:00
Tobias Schmitz
71433334b4
test: add tests for language tag attributes
2025-08-01 11:14:59 +02:00
Tobias Schmitz
e816af11f7
feat!: write language attribute on tags and change document language selection
...
The document language is now inferred from the first non-artifact text item
and will always be written.
2025-08-01 11:13:22 +02:00
3w36zj6
ef862654c2
Update guides welcome text to refer to list instead of specific guides ( #6685 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-08-01 09:12:07 +00:00
Abdul-Rahman Sibahi
7dff22db8a
Add cargo testit
alias for running integration tests ( #6682 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-08-01 09:11:34 +00:00
Y.D.X.
210968f54f
Fix several wrong anchors in $
docs link resolution ( #6684 )
2025-08-01 09:11:11 +00:00
Max
7dc99e92ec
Require parentheses in all function-like sub/superscripts ( #6442 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-08-01 08:37:49 +00:00
Malo
a7ad9d426a
Add --target
argument for typst query
( #6405 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-08-01 07:18:45 +00:00
Tobias Schmitz
ded845ec34
chore: update krilla
2025-07-31 13:49:48 +02:00
Tobias Schmitz
f87e3f8f29
test: convert table tests to snapshot tests
2025-07-31 13:49:39 +02:00
Laurenz
492bd27885
Faster constraint checking in comemo (bumps comemo & krilla) ( #6683 )
2025-07-31 09:21:24 +00:00
Laurenz
88dfe4d276
Use rustc-hash
for hash maps and sets ( #6678 )
2025-07-31 08:45:03 +00:00
Tobias Schmitz
55bc6abb60
feat: improve error message for broken tags
2025-07-31 00:01:05 +02:00
Tobias Schmitz
d9356abb39
refactor: use TagNode::group function
2025-07-30 18:40:45 +02:00
Tobias Schmitz
0e7d1f10ba
feat: write tags for raw text
2025-07-30 18:36:47 +02:00
Tobias Schmitz
95e0e76e9d
refactor: add convenience methods to access settable properties
2025-07-30 18:34:45 +02:00
Tobias Schmitz
7ca8468b16
fix: allow breaking spans
2025-07-30 16:24:03 +02:00
Tobias Schmitz
7c8a4e4243
Merge branch 'main' into pdf-accessibility
2025-07-30 15:27:00 +02:00
Tobias Schmitz
9f2fcca62b
test: add snapshots for pdftags
2025-07-30 14:59:04 +02:00
Tobias Schmitz
47edb8b46c
test: snapshot testing of pdf tag trees
2025-07-30 14:59:04 +02:00
Tobias Schmitz
e4825f7957
fix: footnotes referencing other footnotes
2025-07-29 13:22:22 +02:00
Tobias Schmitz
be04cdb029
feat: update krilla
2025-07-29 12:10:43 +02:00
Tobias Schmitz
5ebe5490b5
refactor: clean up link annotation code
2025-07-29 12:09:07 +02:00
Tobias Schmitz
6d0c4c620d
perf: optimize bbox computation
2025-07-29 11:57:02 +02:00
Tobias Schmitz
35f44f79de
refactor: fix some clippy warnings
2025-07-29 11:32:47 +02:00
Tobias Schmitz
e43da4b644
feat: handle overlapping introspection tags
2025-07-29 11:32:47 +02:00