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
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
f87e3f8f29
test: convert table tests to snapshot tests
2025-07-31 13:49:39 +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
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
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
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
c9c2315ad3
Fix 2024 clippy warnings
2025-07-21 15:22:29 +02:00
Lachlan Kermode
627f5b9d4f
Add show rule for smallcaps in HTML ( #6600 )
2025-07-17 16:09:13 +00:00
Laurenz
c58766440c
Support intra-doc links in HTML ( #6602 )
2025-07-16 08:17:42 +00:00
Y.D.X.
ea5272bb2b
Support setting fonts repeatedly with different covers
( #6604 )
2025-07-16 08:10:21 +00:00
Malo
cdbf60e883
Change enum.item.number
to Smart
instead of Option
( #6609 )
2025-07-16 08:05:52 +00:00
Laurenz
9a6268050f
HTML frame improvements ( #6605 )
2025-07-15 14:48:31 +00:00
Laurenz
275012d7c6
Handle lower
and upper
in HTML export ( #6585 )
2025-07-10 10:54:06 +00:00
Laurenz
98802dde7e
Complete movement of HTML export code to typst-html
( #6584 )
2025-07-10 10:42:34 +00:00
Laurenz
3aa7e861e7
Support images in HTML export ( #6578 )
2025-07-09 13:48:43 +00:00
Max
f9b01f595d
Move math styling to codex and add math.scr
( #6309 )
2025-07-09 13:08:49 +00:00
Malo
1dc4c248d1
Add default
argument for str.first
and str.last
( #6554 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-07-09 12:10:24 +00:00
frozolotl
9e6adb6f45
Ignore spans when checking for RawElem equality ( #6560 )
2025-07-09 12:04:22 +00:00
Laurenz
9ad1879e9d
Anti-alias clip paths ( #6570 )
2025-07-09 12:02:13 +00:00
Laurenz
e71674f6b3
Construct library via extension trait instead of default & inherent impl ( #6576 )
2025-07-09 09:28:26 +00:00
Laurenz
0a3c6939dd
Rewrite foundations of native elements ( #6547 )
2025-07-08 08:52:43 +00:00
Malo
09c831d3b3
Use "subs" and "sups" font features for typographic scripts ( #5777 )
2025-07-02 08:00:45 +00:00
Max
74b1b10986
Bump typst-dev-assets
( #6514 )
2025-06-27 10:35:05 +00:00
+merlan #flirora
584dd5fec6
Fix panic when sampling across two coincident gradient stops ( #6166 )
2025-06-27 09:26:15 +00:00
+merlan #flirora
b9f3a95e03
Sort line items by logical order when constructing frame ( #5887 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-06-27 08:36:46 +00:00
Laurenz
9311f6f08e
Basic support for text decoration functions in HTML ( #6510 )
2025-06-26 13:44:45 +00:00
Laurenz
7420ec972f
Fix nested HTML frames ( #6509 )
2025-06-26 13:20:22 +00:00
Said A.
5dd5771df0
Disallow empty labels and references ( #5776 ) ( #6332 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-06-26 09:18:51 +00:00
Malo
04fd0acaca
Allow deprecating symbol variants ( #6441 )
2025-06-26 08:24:21 +00:00
Laurenz
35809387f8
Support in
operator on strings and modules ( #6498 )
2025-06-26 08:06:22 +00:00
Laurenz
f2f527c451
Also fix encoding of <textarea>
( #6497 )
2025-06-24 15:52:15 +00:00
Wannes Malfait
38dd6da237
Fix stroke cap of shapes with partial stroke ( #5688 )
2025-06-23 14:58:04 +00:00
Laurenz
bf8ef2a4a5
Properly handle raw text elements
2025-06-23 15:59:22 +02:00
Laurenz
f8dc1ad3bd
Handle pre elements that start with a newline
2025-06-23 15:56:01 +02:00
Laurenz
9050ee1639
Turn non-empty void element into export error
2025-06-23 14:22:09 +02:00
Laurenz
c1b2aee1a9
Test runner support for HTML export errors
2025-06-23 14:21:35 +02:00
Laurenz
e9dc4bb204
Typed HTML API ( #6476 )
2025-06-23 09:12:58 +00:00
Laurenz
d821633f50
Generic casting for Axes<T>
2025-06-20 17:32:37 +02:00
Laurenz
0bc68df2a9
Hint for label in both document and bibliography ( #6457 )
2025-06-19 07:29:38 +00:00