Commit Graph

451 Commits

Author SHA1 Message Date
Laurenz Stampfl 0fe8f09ba9
Add support for drawing COLR glyphs in SVG export (#6693) 2025-08-04 09:49:51 +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
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
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
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
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
Laurenz 4bbd4e195b Migrate to 2024 edition 2025-07-21 15:22:28 +02:00
pog102 55dad02887
Add Lithuanian translations (#6587) 2025-07-21 10:57:40 +00:00
Malo b1c79b50d4
Fix documentation oneliners (#6608) 2025-07-18 13:25:17 +00:00
Robin 5661c20580
Slightly improve selector docs (#6544) 2025-07-16 16:15:49 +00:00
Laurenz c58766440c
Support intra-doc links in HTML (#6602) 2025-07-16 08:17:42 +00:00
Malo cdbf60e883
Change `enum.item.number` to `Smart` instead of `Option` (#6609) 2025-07-16 08:05:52 +00:00
Robin f51cb4b03e
Rephrase docs for truncation of float/decimal to integer (#6543) 2025-07-14 13:31:27 +00:00
Robin 0c12828c9a
Fix minor typo in text docs (#6589) 2025-07-14 13:26:25 +00:00
Robin b1a091a236
Use "whitespace" instead of "space" to denote block-level equation in docs (#6591) 2025-07-14 13:26:10 +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
Laurenz a45c3388a6
More consistent `Packed<T>` to `Content` conversion methods (#6579) 2025-07-09 13:40:22 +00:00
Max f9b01f595d
Move math styling to codex and add `math.scr` (#6309) 2025-07-09 13:08:49 +00:00
Robin eed3407051
Update Swedish translations based on defaults used for LaTeX and cleveref (#6519) 2025-07-09 12:44:42 +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
Robin 4534167656
Use "displayed" instead of "repeated" to avoid ambiguity in numbering docs (#6565) 2025-07-09 12:02:50 +00:00
Robin e5e813219e
Fix typo of Typst domain in quote docs (#6573) 2025-07-09 12:01:57 +00:00
Laurenz 52a708b988
Move `html` module to `typst-html` crate (#6577) 2025-07-09 09:46:40 +00:00
Laurenz e71674f6b3
Construct library via extension trait instead of default & inherent impl (#6576) 2025-07-09 09:28:26 +00:00
Laurenz e5e1dcd9c0
Target-specific native show rules (#6569) 2025-07-09 08:16:36 +00:00
Laurenz 0a3c6939dd
Rewrite foundations of native elements (#6547) 2025-07-08 08:52:43 +00:00
Robin 51ab5b815c
Fix minor typo in function docs (#6542) 2025-07-07 14:15:10 +00:00
Laurenz d1deb80bb8
Fix nightly warnings (#6558) 2025-07-05 12:23:48 +00:00
Malo 09c831d3b3
Use "subs" and "sups" font features for typographic scripts (#5777) 2025-07-02 08:00:45 +00:00
Robin 30ddc4a7ca
Fix typos in calc module docs (#6535) 2025-07-01 11:04:31 +00:00
Robin d978f8c33a
Fix minor typo in `array.product` docs (#6532) 2025-07-01 11:04:11 +00:00
+merlan #flirora 584dd5fec6
Fix panic when sampling across two coincident gradient stops (#6166) 2025-06-27 09:26:15 +00:00
Laurenz 9311f6f08e
Basic support for text decoration functions in HTML (#6510) 2025-06-26 13:44:45 +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 6a1d6c08e2
Consistent sizing for `html.frame` (#6505) 2025-06-26 08:07:41 +00:00
Laurenz 35809387f8
Support `in` operator on strings and modules (#6498) 2025-06-26 08:06:22 +00:00
+merlan #flirora d54544297b
Minor fixes to doc comments (#6500) 2025-06-25 16:58:40 +00:00
Andrew Voynov d4be7c4ca5
Add page reference customization example (#6480)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-06-24 13:00:51 +00:00
Andrew Voynov f162c37101
Improve equation reference example (#6481) 2025-06-24 12:49:28 +00:00