mkorje
08f1d93f9e
Allow a function as an argument to size
in stretch
and lr
...
Previously there was always a short fall when scaling delimiters, even if
the user requested a specific size. This is no longer the case; the short
fall is only present in the default for `lr` (`x => x - 0.1em`) - the
size of the delimiters is now actually what was specified in the size
argument. This also makes the default for `lr` much clearer to the user.
A slight hack was used by exploiting the `name` property in the `func`
attribute macro so that the default value in the docs for `lr.size` would
clearly show what the default function was (instead of just its name
`default_lr_size` which is meaningless and inaccessible to the user).
2025-07-08 21:00:31 +10:00
Laurenz
0a3c6939dd
Rewrite foundations of native elements ( #6547 )
2025-07-08 08:52:43 +00:00
Robin
36ecbb2c8d
Refer to json function instead of deprecated json.decode in groups docs ( #6552 )
2025-07-07 14:15:32 +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
Andrew Voynov
88e451b3dc
Fix typo in PackageStorage ( #6556 )
2025-07-04 17:02:02 +00:00
Tobias Schmitz
cc3a68ecb1
Remove duplicate language computation ( #6557 )
2025-07-04 17:00:45 +00:00
Max
22a57fcf5c
Use punctuation math class for Arabic comma ( #6537 )
2025-07-02 08:01:44 +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
Adrián Delgado
c99f3ffc7d
Fix typo in PDF standard CLI help part 2 ( #6531 )
2025-06-30 16:51:36 +00:00
Adrián Delgado
880f56c90d
Fix typo in PDF standard CLI help ( #6518 )
2025-06-30 08:27:42 +00:00
Robin
a6cf0247b2
Fix typo in Advanced Styling docs tutorial ( #6517 )
2025-06-30 08:27:22 +00:00
Laurenz
c4bcfb18c1
Support HTML tests in test-helper extension ( #6504 )
2025-06-30 08:27:02 +00:00
Laurenz
e8f9877fc5
Acknowledgements ( #6528 )
2025-06-30 08:23:15 +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
Florian Bohlken
e8ce894ee7
Improve sentence in guide for LaTeX users ( #6511 )
2025-06-26 15:24:55 +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
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
Connor K
d3caedd813
Fix typos in page-setup.md ( #6499 )
2025-06-25 16:59:19 +00:00
+merlan #flirora
d54544297b
Minor fixes to doc comments ( #6500 )
2025-06-25 16:58:40 +00:00
Laurenz
f2f527c451
Also fix encoding of <textarea>
( #6497 )
2025-06-24 15:52:15 +00:00
Laurenz
9e3c1199ed
Check that git tree is clean after build ( #6495 )
2025-06-24 15:05:02 +00:00
Tobias Schmitz
70399a94fd
Bump krilla
to current Git version ( #6488 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-06-24 13:23:37 +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
Andrew Voynov
87c5686560
Add docs for std
module ( #6407 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-06-24 10:22:55 +00:00
Max
899de6d5d5
Use ICU data to check if accent is bottom ( #6393 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-06-24 10:03:10 +00:00
Andrew Voynov
24293a6c12
Rewrite outline.indent
example ( #6383 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-06-24 09:56:58 +00:00
Ivica Nakić
87cb8f5094
Adding Croatian translations entries ( #6413 )
2025-06-23 15:09:03 +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
c2e2fd99f6
Extract write_children
function
2025-06-23 15:56:01 +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
fbb02f40d9
Consistent codepoint formatting in HTML and PDF error messages
2025-06-23 14:18:41 +02:00
Laurenz
e9dc4bb204
Typed HTML API ( #6476 )
2025-06-23 09:12:58 +00:00
Laurenz
3602d06a15
Support for generating native functions at runtime
2025-06-20 17:32:37 +02:00
Laurenz
15302dbe7a
Add typst_utils::display
2025-06-20 17:32:37 +02:00
Laurenz
4580daf307
More type-safe color conversions
2025-06-20 17:32:37 +02:00
Laurenz
d821633f50
Generic casting for Axes<T>
2025-06-20 17:32:37 +02:00
Laurenz
3b35f0cecf
Add Duration::decompose
2025-06-20 17:32:37 +02:00