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
467968af07
Tweak HTML pretty printing ( #5745 )
2025-01-24 11:15:09 +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
Ian Wrzesinski
fecdc39846
Use SymbolElem in more places and add `char` cast for content
2025-01-23 16:28:29 -05:00
Ian Wrzesinski
c47b71b435
Basic SymbolElem addition
2025-01-23 16:28:29 -05:00
Malo
2d33393df9
Add support for `c2sc` OpenType feature in `smallcaps` ( #5655 )
2025-01-23 18:24:35 +00:00
SekoiaTree
58dbbd48fe
Add lcm as an operator in math mode ( #5718 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-01-23 12:35:29 +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
Eric Biedert
c22c47b9c9
Add font exception for NewCM Sans Math ( #5682 )
2025-01-16 13:40:57 +00:00
Laurenz
6b9b78596a
Don't generate accessors for required fields ( #5680 )
2025-01-10 16:54:11 +00:00
Laurenz
9473aface1
Fix memory size of `TextElem` ( #5674 )
2025-01-09 13:00:18 +00:00
Max
be6629c7cb
Better math argument parsing ( #5008 )
2025-01-09 10:49:06 +00:00
Laurenz
e2b37fef33
Revamp data loading and deprecate `decode` functions ( #5671 )
2025-01-09 09:34:16 +00:00
Laurenz
dacd6acd5e
More flexible and efficient `Bytes` representation ( #5670 )
2025-01-08 10:57:56 +00:00
Niklas Eicker
0a374d2380
Embed files associated with the document as a whole ( #5221 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-01-08 09:38:34 +00:00
Malo
e09b55f00f
Allow adding and joining `arguments` ( #5651 )
2025-01-06 15:41:58 +00:00
Michael Färber
5c876535cc
Move `CellGrid` from `typst-layout` to `typst-library` ( #5585 )
2025-01-06 15:20:28 +00:00
bbb651 🇮🇱
ce7f680fd5
Avoid stripping url prefixes multiple times or multiple prefixes ( #5659 )
2025-01-06 15:13:17 +00:00
Andrew Voynov
ec1e8f9e8d
Added precise definition for "character" in the docs for `str.split` ( #5616 )
2025-01-06 13:15:11 +00:00
Malo
a2f685483a
Improve `repr` for `arguments` ( #5652 )
2025-01-06 12:43:41 +00:00
Max
bb38a01d06
Fix math size resolving ( #5596 )
2024-12-20 12:35:57 +00:00
Malo
39706fe42f
Error on duplicate symbol variant with modifiers in different orders ( #5587 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-12-20 11:15:14 +00:00
Joshua Gawley
6953685358
Document result of splitting string with empty string as separator ( #5572 )
2024-12-20 10:18:52 +00:00
Max
c3334a55fe
Fix arbitrarily nested equations in the base of `math.attach` ( #5613 )
2024-12-20 10:15:18 +00:00
Joshua Gawley
21e608e6e9
Change error when accessing non-existant label ( #5571 )
2024-12-18 16:52:37 +00:00
Emmanuel Lesueur
257764181e
New `curve` element that supersedes `path` ( #5323 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-12-18 15:58:57 +00:00
Malo
24c08a7ec0
Mention the `calc` module in the operator list ( #5595 )
2024-12-18 13:37:32 +00:00
Peng Guanwen
73253d4651
Support for defining which charset should be covered by a font ( #5305 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-12-17 14:07:45 +00:00
Laurenz
1346385255
Rename `pattern` to `tiling` ( #5590 )
2024-12-17 09:25:27 +00:00
Laurenz
ed67220e4b
Remove deprecated things and compatibility behaviours ( #5591 )
2024-12-17 09:25:15 +00:00
Eric Biedert
51020fcf3c
Get numbering of page counter from style chain ( #5589 )
2024-12-16 20:23:13 +00:00
Johann Birnick
75273937f7
Transform high level headings to HTML ( #5525 )
2024-12-16 18:22:00 +00:00
Malo
8b1e0d3a23
Improve `symbol` `repr` ( #5505 )
2024-12-16 14:10:42 +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
Michael Färber
17f20c6944
Basic HTML pretty-printing ( #5533 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-12-10 09:57:22 +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
Laurenz Stampfl
67ef6066f4
Add support for converting text in SVGs to paths ( #5390 )
2024-12-08 17:06:25 +00:00
Jakob Peters
57f7c167d8
Document integer literal parsing ( #5462 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-12-08 16:52:57 +00:00
Tetragramm
d04cc61eee
Add missing functions to the gradient object. ( #5528 )
...
Co-authored-by: PgBiel <9021226+PgBiel@users.noreply.github.com>
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-12-08 16:43:25 +00:00
Borna Punda
fbcd624eeb
Add support for Croatian quotes ( #5539 )
2024-12-08 16:29:24 +00:00
Laurenz
0228462ba1
Bump Rust to 1.83 ( #5534 )
2024-12-05 15:57:01 +00:00
Michael Färber
60f1d8f9b5
Prepend section numbers to headings in HTML output. ( #5522 )
2024-12-04 16:55:37 +00:00
Laurenz
e0122a5b50
Add HTML export format
2024-12-04 10:12:07 +01: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
0ef97c104a
HTML DOM types
2024-12-04 10:12:07 +01:00
Laurenz
497446944c
Add `document.description` field
2024-12-04 10:12:07 +01:00
Laurenz
d00a5d6c9b
Add contextual `target` function
2024-12-04 10:12:07 +01:00
Laurenz
2b8dc9b14d
Add HTML feature flag
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
Nikolai Neff-Sarnow
76c24ee6e3
Add documentation example to `array.sorted()` ( #5475 )
...
Co-authored-by: Malo <57839069+MDLC01@users.noreply.github.com>
2024-11-30 09:10:22 +00:00
Laurenz
d40c8ab6ab
Compile-time `PicoStr` interning ( #5491 )
2024-11-29 15:03:08 +00:00
+merlan #flirora
89d96c623d
Let decimal constructor accept decimal values ( #5481 )
2024-11-27 16:36:04 +00:00
3w36zj6
27cc489a1d
Add missing full stop to documentation of `ImageElem` struct ( #5484 )
2024-11-27 15:38:41 +00:00
Deyan Ginev
c29c96562d
Add Bulgarian translation entries ( #5476 )
2024-11-27 11:14:20 +00:00
+merlan #flirora
6bf1350b16
Add support for interpreting f32 in float.{from-bytes, to-bytes} ( #5480 )
2024-11-27 11:04:54 +00:00
Sébastien d'Herbais de Thun
85d3a49a1a
Added warning when explicit return in code (not markup) discards joined content ( #5413 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-11-26 20:51:46 +00:00
Max
6d35972c3d
Update NewCM fonts to version 7.0.0 ( #5465 )
2024-11-26 12:36:53 +00:00
Johann Birnick
580e6811b0
Docs: note `par.linebreaks` in `text.costs` ( #5434 )
2024-11-26 12:35:45 +00:00
Iagoba Apellaniz
3d7284fc1b
Support for Basque language ( #5429 )
2024-11-26 12:34:53 +00:00
Malo
5c37a1cfea
Use `codex` for symbols ( #5421 )
2024-11-17 19:08:23 +00:00
Sébastien d'Herbais de Thun
5db179d67a
Timings for `state.at` and `state.get` ( #5411 )
2024-11-17 09:05:01 +00:00
Laurenz
525154a730
Add support for raw range spans
2024-11-13 10:21:40 +01:00
Laurenz
a5a4b0b72f
Introduce `IdeWorld` trait
2024-11-13 10:21:40 +01:00
Max
8d4f01d284
Add support for page references through new `ref.form` property ( #4729 )
2024-11-12 12:54:25 +00:00
Pascal Quach
dadc2176e2
Add `asymp` and `asymp.not` symbols ( #5391 )
2024-11-12 12:46:40 +00:00
Andrew Voynov
cb8eaddf98
Removed deprecated `diff` symbol ( #5388 )
2024-11-12 12:44:45 +00:00
Johann Birnick
115b0a7ffd
Add `sym.eq.triple.not` ( #5372 )
2024-11-05 08:42:44 +00:00
Sébastien d'Herbais de Thun
692d846d25
Disable justification in `raw(block: true, ...)` ( #4889 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-11-04 09:37:29 +00:00
Laurenz
fac7583745
Basic feature flag mechanism ( #5350 )
2024-11-01 20:02:27 +00:00
LU Jialin
23313b0af0
Support Greek Numbering ( #4273 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-11-01 09:20:10 +00:00
HydroH
066e9349f9
Add `calc.norm()` function to compute euclidean norms ( #4581 )
...
Co-authored-by: +merlan #flirora <uruwi@protonmail.com>
Co-authored-by: Yip Coekjan <69834864+Coekjan@users.noreply.github.com>
Co-authored-by: Malo <57839069+MDLC01@users.noreply.github.com>
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-10-31 12:41:50 +00:00
Andrew Voynov
30427ac842
Added Numero Sign № (U+2116) ( #5326 )
2024-10-31 11:56:37 +00:00
Abdul-Rahman Sibahi
b969c01b28
Replace `once_cell`'s `Lazy` as much as possible ( #4617 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-10-31 11:52:11 +00:00
Max
f85faf957f
Add `math.accent` support for `flac` and `dtls` OpenType features ( #5202 )
2024-10-30 15:29:15 +00:00
Laurenz
2634a8402c
Fix type of plugin ( #5321 )
2024-10-29 13:59:22 +00:00
Kevin K.
33a035ee0d
Fix wrong Greek and Ukrainian language codes ( #5261 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-10-28 14:42:25 +00:00
Eric Biedert
45377f25ec
Fix clipping with outset ( #5295 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-10-28 14:31:00 +00:00
lucaslugao
6dd05cc17a
Add explicit notice about unicode minus sign in the str function ( #5301 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-10-28 14:26:32 +00:00
Giacomo Stevanato
83927686d9
Fix wrong drop order for self-referential struct ( #5306 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-10-28 14:23:43 +00:00
Chad Skeeters
ead6c03a98
Corrects link to wasi-stub in plugin documentation ( #5308 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-10-28 14:21:11 +00:00
Laurenz
be7cfc85d0
Split out four new crates ( #5302 )
2024-10-27 18:04:55 +00:00
Laurenz
7eebafa783
Merge `typst` and `typst-library`
2023-11-24 12:30:02 +01:00
Laurenz
36c7301608
Tidy up some imports
2023-11-21 15:20:49 +01:00
Laurenz
c1bc529986
Support arbitrary content for document title
...
For PDF, they will be immediately turned into plain text. However, it's still useful because templates can now accept content titles (with math or such things) instead of forcing strings because of set document. Moreover, it will be useful with "get rules" in the future.
2023-11-20 18:31:29 +01:00
Sébastien d'Herbais de Thun
9b5b3b2557
Added `ghost` attr to `elem` macro ( #2718 )
2023-11-19 19:23:00 +01:00
Laurenz
c641044380
Workaround for show set propagation on citations
...
Fixes #2531
2023-11-19 18:57:28 +01:00
Laurenz
c97a01616a
More useful `Debug` impls
2023-11-19 18:16:18 +01:00
Laurenz
2da619e17c
Streamline imports
2023-11-19 16:34:38 +01:00
Laurenz
ea987ef4a3
Fix linebreaking at the end of links
...
Fixes #2689
2023-11-19 15:53:48 +01:00