3936 Commits

Author SHA1 Message Date
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
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
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
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
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
zefr0x
59243dadbb
Specify the standard smart quotes for Arabic (#6626) 2025-07-28 12:11:15 +00:00
Erik
48c3fb32fb
Hint that deprecated items will be removed in 0.15.0 (#6617) 2025-07-28 11:59:28 +00:00
hpcfzl
178c3beb4e
Improve Guide for LaTeX users, Query Function, and replace invisible emojis (#6620)
Co-authored-by: PgBiel <9021226+PgBiel@users.noreply.github.com>
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-07-28 10:00:31 +00:00
Igor Khanin
d415834528
Allow explicit autocomplete immediately after comma and colon (#6550) 2025-07-28 09:40:14 +00:00
Y.D.X.
d446cde4fa
Miscellaneous minor docs improvements (#6651)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-07-28 09:39:13 +00:00
Marcono1234
a4d4dfb1b6
Fix incorrect vline.x docs (#6657) 2025-07-28 09:06:18 +00:00
Laurenz
a676c78a05
Remove duplicate center alignment style for equations (#6667) 2025-07-28 09:04:10 +00:00
Laurenz
a42501c613
Remove unnecessary comemo dependency in typst-syntax (#6668) 2025-07-28 09:03:57 +00:00
Niklas Eicker
3adbedc3a8
Create constructor methods for manifest types (#6625) 2025-07-28 09:03:37 +00:00
Tobias Schmitz
cf25b8d18d
docs: add todo 2025-07-25 15:43:17 +02:00
Tobias Schmitz
7a3e2dbcbe
feat: better error reporting for missing link alt text
this can only really happen using a position as a link target
2025-07-25 13:22:57 +02:00
Tobias Schmitz
b7ccf9717e
feat: error when both --disable-pdf-tags and --pdf-standard=ua-1 are passed 2025-07-24 18:32:57 +02:00
Tobias Schmitz
50a280b6c2
feat: avoid doing extra work when --disable-pdf-tags is passed 2025-07-24 18:24:06 +02:00
Tobias Schmitz
820ea27a41
feat: write BBox for Table, Formula, and Figure tags 2025-07-24 18:02:45 +02:00
Laurenz
e9f1b5825a
Lint for iterations over hash types (#6652) 2025-07-24 11:34:08 +00:00
Tobias Schmitz
71425fc2b3
feat: use a span tag for marked content sequences containing text 2025-07-23 16:46:34 +02:00
Tobias Schmitz
3c206702c4
Merge branch 'main' into pdf-accessibility 2025-07-23 16:26:37 +02:00
Tobias Schmitz
042330cd66
feat: add alt field to figure 2025-07-23 16:17:50 +02:00
Tobias Schmitz
7278d887cf
Fix bounding box computation for lines in curves (#6647)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-07-23 14:17:03 +00:00
Tobias Schmitz
3909bdae6b
refactor: format code 2025-07-23 12:50:30 +02:00
Tobias Schmitz
d1202d9617
refactor: update krilla 2025-07-23 12:50:30 +02:00
Tobias Schmitz
de72040ce6
Merge branch 'main' into pdf-accessibility 2025-07-22 23:31:41 +02:00
Laurenz
78355421ad
Add pdf extension to image autocompletions (#6643) 2025-07-22 12:07:29 +00:00
Laurenz Stampfl
af2253ba16
Add support for PDF embedding (#6623)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-07-22 11:06:44 +00:00
Laurenz
b036fd97ab Reformat with 2024 edition 2025-07-21 15:22:29 +02:00
Laurenz
e81a5a6ef2 Yeet if_chain macro 2025-07-21 15:22:29 +02:00