Laurenz
e0122a5b50
Add HTML export format
2024-12-04 10:12:07 +01:00
Laurenz
f8f2ba6a5f
Rename Document
to PagedDocument
2024-12-04 10:12:07 +01:00
Max
8d4f01d284
Add support for page references through new ref.form
property ( #4729 )
2024-11-12 12:54:25 +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
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
2da619e17c
Streamline imports
2023-11-19 16:34:38 +01:00
Sébastien d'Herbais de Thun
f39a8bc015
Add span information to realized ParElem
( #2675 )
2023-11-15 14:49:29 +01:00
Dimitri Kokkonis
897447e859
Translate local names to Greek ( #2684 )
...
Additionally, add support for single and double quotes in Greek.
2023-11-14 15:59:30 +01:00
Wenzhuo Liu
e07275163f
Filter out meta items when adding CJK-Latin ( #2655 )
...
spacing.
2023-11-13 12:13:05 +01:00
Anton Wetzel
ba05164bb6
Change rectangle clip to use the inside of the stroke, not the middle. ( #2626 )
2023-11-08 15:30:00 +01:00
KronosTheLate
3a1e47913d
Make reference to spreading in arguments of grid
( #2593 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2023-11-07 16:56:09 +01:00
Sébastien d'Herbais de Thun
c0f6d2004a
Content rework 2 - Electric Boogaloo ( #2504 )
2023-11-06 21:37:50 +01:00
Laurenz
c177a63c9b
Fix citation grouping bug with spaces
2023-10-31 12:19:30 +01:00
Laurenz
ab5dd2a1cb
CSL support
2023-10-31 01:33:06 +01:00
Fritz Rehde
c3114fa380
Fixed typos ( #2524 )
2023-10-30 23:25:28 +01:00
Laurenz
995fc40363
Remove duplicated lookup
2023-10-29 22:41:28 +01:00
Laurenz
4c75adbb04
Simplify linebreaking
...
Switches from an iterator to callback style, which significantly increases the clarity of the whole thing.
2023-10-28 23:03:09 +02:00
Laurenz
0f4f37cc09
Bump ICU data
2023-10-28 20:35:38 +02:00
Laurenz
aa62d05453
Fix justification with hanging indent and negative spacing
...
Fixes #2419
2023-10-28 20:05:51 +02:00
Laurenz
c3b1e32d11
Fix justified linebreaking without justifiables
2023-10-28 18:02:16 +02:00
tingerrr
1603e2df26
Fix trailing mandatory breaks being swallowed ( #2502 )
2023-10-27 00:17:47 +02:00
Francisco J. Sanchez
c29a31b6c5
Fix pagebreak.to check ( #2475 )
2023-10-25 17:16:34 +02:00
Wenzhuo Liu
b97ee93b8f
Support adjustment of more CJK punctuation ( #2456 )
2023-10-22 13:45:51 +02:00
MALO
cf9ca6cb59
Fix compiler panic for float with no vertical alignment ( #2437 )
2023-10-22 13:43:24 +02:00
Eric Biedert
3ed6462ee0
Don't hyphenate on no-break characters ( #2396 )
2023-10-22 13:36:33 +02:00
tingerrr
80175db397
Filter out prohibited line breaks in par
( #2376 )
2023-10-17 11:26:34 +02:00
Peng Guanwen
e4d9db83ea
Automatically add spacing between CJK and Latin characters ( #2334 )
2023-10-17 11:14:09 +02:00
Sébastien d'Herbais de Thun
9bca0bce73
Fix clipping when a box/block has a radius
( #2338 )
2023-10-10 11:51:22 +02:00
HydroH
7b61d722dd
Adjust table inset behavior to the same as container's ( #1979 ) ( #2323 )
2023-10-09 15:52:04 +02:00
bluebear94
6bb776029e
Fix crashes with infinite lengths (part 2) ( #2298 )
2023-10-05 10:26:36 +02:00
Sébastien d'Herbais de Thun
a4e357fb37
Gradient Part 2 - Linear gradients ( #2279 )
2023-10-03 19:31:02 +02:00
bluebear94
d709b0e247
Honor text’s fallback option for hyphenation ( #2301 )
2023-10-03 15:04:15 +02:00
DVDTSB
e84cd13ce7
initial Romanian support ( #2246 )
2023-09-28 11:15:45 +02:00
bluebear94
553da642bd
Handle compiler panics when handling infinite lengths ( #2215 )
2023-09-28 11:15:09 +02:00
Eric Biedert
0d39fa021f
Prevent block spacing with placed elements ( #2244 )
2023-09-26 16:59:51 +02:00
Eric Biedert
c8ebcd70d6
Resolve spacing before comparing ( #2235 )
2023-09-26 11:42:05 +02:00
DVDTSB
34b3f72370
Add wide
spacing for math ( #2224 )
2023-09-26 10:29:43 +02:00
tingerrr
063e9afccf
Add custom smart quotes ( #2209 )
2023-09-25 16:19:22 +02:00
LU Jialin
079ccd5e5b
Fixing the styling issues of the empty pages caused by pagebreak ( #2182 )
2023-09-25 14:13:54 +02:00
FlyinPancake
44bbfded5f
feat: inital Hungarian language support ( #2229 )
2023-09-25 13:52:26 +02:00
Peng Guanwen
50f354e989
Correct the consecutive hyphen cost ( #2190 )
...
This just fixes a mistake previously made. `0.3` is the correct number that is proportional to the parameters in Knuth's paper. The previously choosed value `300` is due to my calculation mistake and is too large that essentially prevent any consecutive hyphens.
2023-09-19 17:05:32 +02:00
Laurenz
72d8a9c89a
Fix duplicate state manipulation
...
The flow layouts footnotes twice in some cases, which messed up the Vt's locator state. Typically, we use `thing.measure` instead of `thing.layout` to prevent side effects, but in this case it was simpler to just undo the modification. A future layout engine rewrite should try to make this kind of error harder to make.
Fixes #1597
2023-09-18 10:51:29 +02:00
Laurenz
3dd12d13f8
Fix invisibles on final page ( #2141 )
2023-09-14 13:36:39 +02:00
Laurenz
ff2650373c
Fix floating placement within containers
...
Fixes #1879
2023-09-13 15:26:23 +02:00
Laurenz
8fb225feb4
Fix box in 100% width block
...
Fixes #2128
2023-09-13 13:44:28 +02:00
Kevin K
8927f3d572
Add logical numbering support for PDF export ( #1933 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2023-09-13 10:18:08 +02:00
Laurenz
b471ac7d59
First-class types
...
Makes types first-class values.
2023-09-11 14:40:22 +02:00