56 Commits

Author SHA1 Message Date
Tobias Schmitz
9d788cd73d
feat: [WIP] allow specifying alt text for links
skip-checks:true

# Please enter the commit message for your changes. Lines starting
# with '#' will be kept; you may remove them yourself if you want to.
# An empty message aborts the commit.
#
# Date:      Wed May 28 17:47:35 2025 +0200
#
# On branch pdf-accessibility
# Your branch and 'origin/pdf-accessibility' have diverged,
# and have 11 and 5 different commits each, respectively.
#
# Changes to be committed:
#	modified:   crates/typst-ide/src/jump.rs
#	modified:   crates/typst-layout/src/flow/distribute.rs
#	modified:   crates/typst-layout/src/modifiers.rs
#	modified:   crates/typst-library/src/foundations/content.rs
#	modified:   crates/typst-library/src/layout/frame.rs
#	modified:   crates/typst-library/src/model/bibliography.rs
#	modified:   crates/typst-library/src/model/footnote.rs
#	modified:   crates/typst-library/src/model/link.rs
#	modified:   crates/typst-library/src/model/outline.rs
#	modified:   crates/typst-library/src/model/reference.rs
#	modified:   crates/typst-pdf/src/convert.rs
#	modified:   crates/typst-pdf/src/link.rs
#	modified:   crates/typst-render/src/lib.rs
#	modified:   crates/typst-svg/src/lib.rs
#	modified:   tests/src/run.rs
#
2025-06-11 13:55:35 +02:00
Tobias Schmitz
3f131e9c26
feat: [WIP] make more things locatable
skip-checks:true
2025-06-11 13:55:35 +02:00
Andrew Voynov
71032c8349
List both YAML file extensions in bibliography docs (#6426) 2025-06-11 10:04:10 +00:00
Andrew Voynov
a6ab6ac99a
Specify which CSL style is not suitable for bibliographies (#6306)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-06-10 17:59:06 +00:00
PgBiel
7c7b962b98
Table multiple headers and subheaders (#6168) 2025-06-10 14:41:16 +00:00
Tobias Schmitz
a18ca3481d
Report errors in external files (#6308)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-06-10 12:46:27 +00:00
PgBiel
6725061841
Pin colspan and rowspan for blank cells (#6401) 2025-06-09 13:46:29 +00:00
Sam Ireson
494e6a6422
Numbering implementation refactor (#6122) 2025-06-04 13:31:06 +00:00
Andrew Voynov
83e249dd33
Fix Greek numbering docs (#6360) 2025-06-02 13:03:03 +00:00
Malo
61dee554ba
Add an example of show-set place.clearance for figures in the doc (#6208) 2025-06-02 13:02:01 +00:00
Shunsuke KIMURA
9bbfa5ae05
Clarify localization of reference labels based on lang setting (#6249)
Signed-off-by: Shunsuke Kimura <kimushun1101@gmail.com>
2025-05-28 13:29:45 +00:00
Tobias Schmitz
9b09146a6b
Use list spacing for attach spacing in tight lists (#6242) 2025-05-06 14:03:48 +00:00
Malo
14241ec1aa
Use the right field name for figure.caption.position (#6226) 2025-05-01 15:43:07 +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
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
Kevin K.
37bb632d2e
Fix missing words and paren in docs (#6046) 2025-03-12 12:45:57 +00:00
evie
3650859ae8
Fix cargo clippy warnings (mostly about .repeat.take and .next_back) (#6038) 2025-03-11 10:00:53 +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
PgBiel
240f238eee
Fix HTML export of table with gutter (#5920) 2025-02-23 11:26:14 +00:00
Laurenz
89e71acecd
Respect par constructor arguments (#5842) 2025-02-10 14:37:19 +00:00
Malo
ca702c7f82
Documentation fixes and improvements (#5816) 2025-02-06 10:18:10 +00:00
Laurenz
029ae4a5ea
Export target docs (#5812)
Co-authored-by: Martin Haug <3874949+reknih@users.noreply.github.com>
2025-02-05 13:24:10 +00:00
Laurenz
eee903b0f8
Refactor Scope (#5797) 2025-02-03 16:04:54 +00:00
Andrew Voynov
9665eecdb6
Fixed typo in the new outline docs (#5772) 2025-01-28 10:08:12 +00:00
Laurenz
85d1778974
Support first-line-indent for every paragraph (#5768) 2025-01-27 13:15:20 +00:00
Laurenz
26e65bfef5
Semantic paragraphs (#5746) 2025-01-24 12:11:26 +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
Malo
2d33393df9
Add support for c2sc OpenType feature in smallcaps (#5655) 2025-01-23 18:24:35 +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
Laurenz
b45f574703
Move no-hyphenation style in link from show to show-set rule (#5731) 2025-01-22 12:58:57 +00:00
Laurenz
b90ad470d6
Remove redundant doc comments on standard arguments (#5725) 2025-01-21 11:10:06 +00:00
Laurenz
6b9b78596a
Don't generate accessors for required fields (#5680) 2025-01-10 16:54:11 +00:00
Laurenz
e2b37fef33
Revamp data loading and deprecate decode functions (#5671) 2025-01-09 09:34:16 +00:00
bbb651 🇮🇱
ce7f680fd5
Avoid stripping url prefixes multiple times or multiple prefixes (#5659) 2025-01-06 15:13:17 +00:00
Laurenz
ed67220e4b
Remove deprecated things and compatibility behaviours (#5591) 2024-12-17 09:25:15 +00:00
Johann Birnick
75273937f7
Transform high level headings to HTML (#5525) 2024-12-16 18:22:00 +00:00
+merlan #flirora
d3620df4c6
Add reversed numbering (#5563) 2024-12-16 13:45:57 +00:00
Joshua Gawley
a3ad0a0bba
Document new counting symbols (#5568) 2024-12-13 11:26:52 +00:00
PgBiel
c2cc09e71a
Forbid footnote migration in pending floats (#5497)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-12-09 09:55:58 +00:00
Laurenz
4729d3d3bd
Fix language-dependant figure caption separator in outline (#5550) 2024-12-08 18:36:04 +00:00
Michael Färber
60f1d8f9b5
Prepend section numbers to headings in HTML output. (#5522) 2024-12-04 16:55:37 +00:00
Laurenz
885c7d96ee A few basic HTML show rules
These are very incomplete and ignore various properties. They are just to get things started.
2024-12-04 10:12:07 +01:00
Laurenz
497446944c Add document.description field 2024-12-04 10:12:07 +01:00
Laurenz
008b59839f Add some more spans 2024-12-04 10:12:07 +01:00
Laurenz
f8f2ba6a5f Rename Document to PagedDocument 2024-12-04 10:12:07 +01:00
Laurenz
d40c8ab6ab
Compile-time PicoStr interning (#5491) 2024-11-29 15:03:08 +00:00