Laurenz
c641044380
Workaround for show set propagation on citations
...
Fixes #2531
2023-11-19 18:57:28 +01:00
Wenzhuo Liu
e07275163f
Filter out meta items when adding CJK-Latin ( #2655 )
...
spacing.
2023-11-13 12:13:05 +01:00
Laurenz
ab5dd2a1cb
CSL support
2023-10-31 01:33:06 +01:00
Laurenz
221609b11c
Add regression test for #80
2023-10-28 20:35:28 +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
LU Jialin
34ebbaeb10
Passing color to the augment line in matrix ( #2281 )
2023-10-02 16:22:33 +02:00
Sébastien d'Herbais de Thun
62f37ad4ab
Color fixes ( #2262 )
2023-09-29 15:04:08 +02:00
Eric Biedert
0d39fa021f
Prevent block spacing with placed elements ( #2244 )
2023-09-26 16:59:51 +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
LU Jialin
04b4536772
Fixing the baseline in math content ( #2220 )
2023-09-25 13:13:16 +02:00
Eric Biedert
13758b9c97
Allow multiple fallback fonts in SVGs ( #2122 )
2023-09-19 10:28:50 +02:00
Laurenz
3dd12d13f8
Fix invisibles on final page ( #2141 )
2023-09-14 13:36:39 +02:00
Laurenz Stampfl
a5e39d814c
Update to usvg 0.35 ( #2113 )
2023-09-13 16:41:45 +02:00
Laurenz
68b365b351
Fix newline in text in math
...
Fixes #1948
2023-09-13 13:45:05 +02:00
Laurenz
8fb225feb4
Fix box in 100% width block
...
Fixes #2128
2023-09-13 13:44:28 +02:00
Laurenz
e39be71a54
Fix newline parsing behaviour in markup
2023-09-12 11:45:24 +02:00
Laurenz
305524d005
Update tests for type system changes
2023-09-11 14:42:43 +02:00
LU Jialin
d056280165
Wrap into an equation when a Math expr is evaluated ( #2081 )
2023-09-11 10:47:08 +02:00
Laurenz
073effc740
Fix font family mismatch between Typst and usvg
...
Fixes #2051
2023-09-09 22:33:17 +02:00
Laurenz
65aeea3142
Fix spacing after number in math
...
Fixes #1052
2023-09-06 12:15:27 +02:00
Laurenz
3dcd8e6e6b
Positions placed elements relative to real container size ( #1745 )
...
This positions placed elements relative to the real container size instead of relative to the base size of the region. This makes its usage more versatile.
Fixes #82
Fixes #685
Fixes #1705
2023-07-19 12:53:36 +02:00
damaxwell
7dc605307c
Improved math root layout ( #1743 )
2023-07-18 15:41:35 +02:00
damaxwell
7a1cd362aa
Support for bounding box text edges ( #1626 )
2023-07-17 18:19:46 +02:00
damaxwell
9eb350d7de
support optical sizes for script/scriptscript when available ( #1580 )
2023-06-26 13:51:27 +02:00
bluebear94
9ef4643ba1
shape_tofus: respect text direction when inserting tofus ( #1519 )
...
This ensures that the ranges of the shaped glyphs are monotonically
decreasing in right-to-left-text, thus avoiding nonsensical results
in find_safe_to_break that later causes a panic (see #1373 ).
Additionally, debug assertions have been added to catch non-monotonic
glyph ranges.
2023-06-26 13:40:21 +02:00
bluebear94
622cef8e00
layout::par::collect: Treat linebreak element as whitespace ( #1542 )
...
Fixes #1540 .
2023-06-24 14:26:06 +02:00
Laurenz
c5cdbaeaf8
Fix bug with extra table lines
...
Fixes #183
2023-06-12 17:48:30 +02:00
Laurenz
6720d8c301
Fix bug with missing table row
...
Fixes #1388
2023-06-12 17:20:54 +02:00
Laurenz
378ebe5f56
Delayed errors
...
Fixes #785 . Thanks to @Dherse for the idea!
2023-06-12 15:42:01 +02:00
Laurenz
a1b0a41883
Fix a bug with footnotes in blocks/lists/etc.
...
This still not gives the "footnote and entry" are on same page invariant for blocks, but at least we do not get random extraneous page breaks anymore.
Relevant issues: #1275 , #1433
2023-06-08 11:51:42 +02:00
Laurenz
f3e3061a7f
Fix a bug in footnote together-keeping logic
2023-06-08 11:21:35 +02:00
Laurenz
10ae0a2c2b
Fix line alignment
...
Fixes #1398 . How this works for the other shapes is a hack, but the line was missing from that hack.
2023-06-08 10:20:24 +02:00
Laurenz
f90fcd664b
Fix pagebreak before place
...
Fixes #1368
2023-05-30 14:36:34 +02:00
Laurenz
363836a28e
Fix layout panic in rounded rectangle
...
Fixes #1216 both by hardening the rounded rectangle against negative size and by ensuring that the negative size doesn't occur in the first place for this case.
2023-05-23 15:30:28 +02:00
Laurenz
183997d5fe
Don't hide introspection metadata
...
Fixes #622
2023-05-22 16:45:23 +02:00
Leedehai
e8de8a49c5
Adjust attach() per TeXbook Appendix G 18a ( #1129 )
2023-05-11 17:38:04 +02:00
Martin Haug
17cef8dcee
Add ICC profiles to images in PDF and update usvg
, svg2pdf
( #822 )
2023-05-02 13:53:20 +02:00
chris-02
407d8a3ab2
Fix smartquotes in outline ( #1047 )
...
Fixes #1041 .
2023-05-01 13:29:40 +02:00
Leedehai
ecd589a84f
Add a test checking equations can embed function-built pieces ( #1033 )
2023-04-29 20:51:29 +02:00
jdierkes
249d5fe515
Fix grid-cell misalignment bug ( #963 ) ( #978 )
...
Having a table span multiple pages can cause an alignment bug in the
table itself. If the first region in a cell in a grid row is empty, all
other cells in this row will skip the first region. A misalignment bug
can occur, since the calculation of all region sizes happen before the
skip. The overall size allocated for the content of a cell with multiple
regions and content in the first region thus is too little.
Fixes #963
2023-04-26 11:22:35 +02:00
Laurenz
f08ae95b9d
Fix argument sinks
...
Fixes #886 .
2023-04-19 17:51:33 +02:00
Laurenz
5a6330dbfc
Fix math hiding once more
2023-04-19 16:51:47 +02:00
Laurenz
f8966f9e86
Fix realize in math
2023-04-19 11:06:52 +02:00
Daniel Csillag
f548223663
Fix hiding of math ( #587 )
2023-04-05 12:04:11 +02:00
Laurenz
7597b99789
New default style
2023-02-25 20:04:30 +01:00
Laurenz
b9c0fd87d3
Fix grid sizing
2023-02-14 12:34:16 +01:00
Laurenz
cc9b52ddd4
Better table lines
2023-02-14 12:08:05 +01:00
Laurenz
b1b4e52af9
Block sizing
2023-02-13 16:04:25 +01:00
Laurenz
ebbee6274c
Fix square base
2023-02-12 16:38:18 +01:00