65 Commits

Author SHA1 Message Date
Laurenz
b89348b92a
Read EXIF data and apply image rotation (#3413) 2024-02-14 14:12:28 +00:00
Martin Haug
9f1e0390c1
Add color-managed CMYK to RGB conversion (#3288) 2024-02-12 13:03:36 +00:00
Laurenz
71ed779599
Fix terms show rule (#3325) 2024-02-04 11:25:28 +00:00
Sébastien d'Herbais de Thun
712eaaa5f4
Fix CMYK on gradients (#3142) 2024-01-08 15:53:22 +00:00
Pol Dellaiera
d651c6e0e6
Bump New Computer Modern fonts to version 5.02 (#3072)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-01-04 17:21:56 +00:00
Wenzhuo Liu
28a5069f95
Fix linebreak fallback tofu (#3123) 2024-01-03 09:41:41 +00:00
Emmett Rayes
6808e58a3b
Cycle list markers by default (#2788)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2023-12-18 18:25:28 +01:00
Carson McManus
754e1788b2
Fix a parser bug causing x.) to be treated as a field access (#2962) 2023-12-18 12:33:29 +01:00
Laurenz
0813e05a60 Add regression test for #1597 2023-12-07 17:37:18 +01:00
Laurenz
63c19a194c Bump hayagriva 2023-11-29 18:40:47 +01:00
Leedehai
b9d025de83
Update New Computer Modern fonts to version 4.7 (#2764) 2023-11-29 12:36:40 +01:00
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