393 Commits

Author SHA1 Message Date
Tobias Schmitz
602d831ffa
docs: update doc comment mentioning LoadedWithin 2025-06-10 13:47:42 +02:00
Tobias Schmitz
0ed6b31b70
refactor: implement TryFrom<&Bytes> for Lines
- remove Bytes::load_str and impl From<Utf8Error> for LoadError
2025-06-10 13:47:41 +02:00
Tobias Schmitz
37c5e0cdce
refactor: format code 2025-06-10 13:47:41 +02:00
Tobias Schmitz
2d3e883d2b
refactor: apply some suggestions
- rename Loaded::bytes to data
- change `let data = source.load()` to `let loaded`
- only expose a single `within` method for the LoadedWithin trait
    - invalid utf-8 data is a rare edge case
- only store one EcoString inside LoadError
    - mutate it when using `LoadedWithin::within` method
2025-06-10 13:47:41 +02:00
Tobias Schmitz
1c08683248
feat: print path of external file if it isn't valid utf-8 2025-06-10 13:47:41 +02:00
Tobias Schmitz
8e9e8a753c
docs: update some comments 2025-06-10 13:47:41 +02:00
Tobias Schmitz
80491a459c
docs: update some comments 2025-06-10 13:47:41 +02:00
Tobias Schmitz
fc9697fd46
perf: reduce size of LoadError 2025-06-10 13:47:41 +02:00
Tobias Schmitz
1c4eea8353
feat: use LoadError to avoid polluting memoization with callsite spans and file ids 2025-06-10 13:47:41 +02:00
Tobias Schmitz
23f1c86b84
feat: try to report line and column in files that contain invalid utf-8 2025-06-10 13:47:41 +02:00
Tobias Schmitz
e5d8f02554
refactor: factor out a general Lines struct from Source 2025-06-10 13:47:41 +02:00
Tobias Schmitz
2e2f646f2a
refactor: Loaded err_at to err_in_text 2025-06-10 13:47:41 +02:00
Tobias Schmitz
3879d0826a
experiment with utf8_iter 2025-06-10 13:47:41 +02:00
Tobias Schmitz
a79120b668
refactor: rename Data to Loaded 2025-06-10 13:47:41 +02:00
Tobias Schmitz
7e6c3b4159
feat: show external error messages in csv, json, toml, xml, yaml, and syntax/theme files 2025-06-10 13:47:41 +02:00
Tobias Schmitz
9e820f883e
fix: silent hayagriva bibliography parsing error due very lenient biblatex parser
Fixes #6030
2025-06-10 13:47:41 +02:00
Tobias Schmitz
a5f410a76d
feat: show bibliography errors in bibtex/hayagriva files 2025-06-10 13:47:41 +02:00
Andrew Voynov
2a3746c51d
Update docs for gradient.repeat (#6385) 2025-06-09 14:25:33 +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
Linus Unnebäck
1de2095f67
Add support for WebP images (#6311) 2025-06-04 09:54:03 +00:00
Nazar Serhiichuk
4a8367e90a
Fix Ukrainian secondary smart quotes (#6372) 2025-06-04 08:13:39 +00:00
Andrew Voynov
f7f163a8fa
Change Russian secondary smart quotes & remove alternatives (#6331) 2025-06-03 14:42:22 +00:00
Max
dd95f7d594
Fix bottom accent positioning in math (#6187) 2025-06-03 14:08:18 +00:00
Kristofers Solo
ff0dc5ab66
Add Latvian translations (#6348) 2025-06-03 12:38:21 +00:00
Laurenz
e023db5f1d
Bump Rust to 1.87 in CI (#6367) 2025-06-02 16:44:43 +00:00
Andrew Voynov
fd08c4bb3f
Fix typo in layout docs, change "size" to "height" (#6344) 2025-06-02 13:12:42 +00:00
Malo
4329a15a1c
Improve calc.round documentation (#6345) 2025-06-02 13:04:49 +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
Andrew Voynov
82e869023c
Add remaining height example for layout (#6266)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-05-28 14:14:29 +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
Igor Khanin
6e0f48e192
More precise math font autocomplete suggestions (#6316) 2025-05-28 13:05:10 +00:00
Tobias Schmitz
2a258a0c38
Remove unused Marginal type (#6321) 2025-05-23 07:31:26 +00:00
Patrik Simic
ca8d223fde
Removing unused warnings in nightly (#6169) 2025-05-20 16:25:26 +00:00
Max
e90c2f74ef
Fix text overhang example in docs (#6223) 2025-05-20 16:20:40 +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
Andrew Voynov
3e6691a93b
Fix frac syntax section typo (#6193) 2025-04-18 14:27:07 +00:00
Malo
c21c1c391b
Use measure width argument in layout doc (#6160) 2025-04-10 09:27:42 +00:00
alluring-mushroom
9829bd8326
Document exceptions and alternatives to using type (#6027)
Co-authored-by: Zedd Serjeant <Zedd.Serjeant@PumpkinEng.com.au>
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-04-07 19:56:20 +00:00
Andrew Voynov
43c3d5d3af
Improved ratio and relative length docs (#5750)
Co-authored-by: PgBiel <9021226+PgBiel@users.noreply.github.com>
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-04-07 19:47:02 +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
Andrew Voynov
14928ef962
Fix typo in module docs (#6146)
Co-authored-by: Alberto Corbi <alberto_corbi@icloud.com>
2025-04-07 17:47:29 +00:00
Markus Langgeng Iman Saputra
ea336a6ac7
Add Indonesian translation (#6108)
Co-authored-by: Malo <57839069+MDLC01@users.noreply.github.com>
2025-04-04 15:50:13 +00:00
Malo
387a8b4895
Display color spaces in the order in which they are presented in the doc (#6140) 2025-04-04 11:53:14 +00:00
Malo
ed2106e28d
Disallow empty font lists (#6049) 2025-04-02 11:47:42 +00:00
Malo
417f5846b6
Support comparison functions in array.sorted (#5627)
Co-authored-by: +merlan #flirora <uruwi@protonmail.com>
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-04-02 09:41:45 +00:00
Laurenz Stampfl
96dd67e011
Switch PDF backend to krilla (#5420)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-04-01 14:42:52 +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