Commit Graph

530 Commits

Author SHA1 Message Date
Laurenz
7b92bd7c34 Basic package management 2023-06-27 18:40:17 +02:00
Laurenz
9c7f31870b Fix warnings 2023-06-26 18:15:42 +02:00
Laurenz
f4b764e122 Fix shaping debug assertions 2023-06-26 18:07:03 +02:00
damaxwell
9eb350d7de
support optical sizes for script/scriptscript when available (#1580) 2023-06-26 13:51:27 +02:00
damaxwell
1861ceb179
math under/overline now draws simple lines based on parameters in math font table (#1568) 2023-06-26 13:42:38 +02:00
Andy Barcia Rodríguez
5ee41e57e8
Fix underline bug. (#1567) 2023-06-26 13:41:51 +02:00
MALO
33803b1614
Make footnotes referenceable (#1546) 2023-06-26 13:40:52 +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
Gabriel Wu
47a131dfbb
fix: add missing syntaxes (#1565) 2023-06-24 15:55:39 +02:00
Laurenz
f1025071ed Tidy up 2023-06-24 15:05:59 +02:00
MALO
b96b7b7ee1
Use third person in documentation (#1560) 2023-06-24 14:33:17 +02:00
sitandr
529bac11b6
Some backslash in math fixes (#1561) 2023-06-24 14:32:03 +02:00
DVDTSB
1928154e69
Add geq (#1557) 2023-06-24 14:28:54 +02:00
sitandr
c5e82b3fa8
Added argument to disable limits in inline math, closes #1522 (#1552) 2023-06-24 14:28:36 +02:00
bluebear94
622cef8e00
layout::par::collect: Treat linebreak element as whitespace (#1542)
Fixes #1540.
2023-06-24 14:26:06 +02:00
Mathias Fischler
2e03fb34cb
Add infrastructure to enrich errors with hints (#1486) 2023-06-24 14:18:21 +02:00
figsoda
c0c03812d0
Move assets/data to library/assets (#1515)
So these assets lives inside the typst-library crate and doesn't break `cargo vendor`
2023-06-20 18:11:20 +02:00
Mathieu David
57d4b8b751
Expose the formatted page in outline.entry (#1506) 2023-06-20 18:10:53 +02:00
Je Sian Keith Herman
53775b5f07
Add Filipino (fil/tl) translations (#1510) 2023-06-20 17:55:12 +02:00
raphCode
8513c2b0fb
Add note that show rules might not apply to footnotes (#1484) 2023-06-20 16:59:20 +02:00
sitandr
03675fc429
Created new system for limits (fixes #1443) (#1452) 2023-06-20 16:58:22 +02:00
Laurenz
6c542ea1a4 Pass Vt through grid layouter explicitly 2023-06-13 11:40:05 +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
d3b4d7da9a More bail! usage 2023-06-12 16:47:46 +02:00
Laurenz
378ebe5f56 Delayed errors
Fixes #785. Thanks to @Dherse for the idea!
2023-06-12 15:42:01 +02:00
Zachary Capalbo
19bf1f5894
Clear page to Even Or Odd (#1427)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2023-06-12 14:28:25 +02:00
Ken
a883ceed8d
feat: add albanian translations (#1454) 2023-06-12 12:46:59 +02:00
Luis David Licea Torres
3284e7fac7
Support for inside and outside margins (#1308)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2023-06-12 12:46:34 +02:00
Mathias Fischler
93e6638bfe
Resolve #1141: Add hint for missing numbering, improve hint format consistency (#1456) 2023-06-12 12:46:08 +02:00
Abdulmelik Bekmez
6a7182fcf7
Add translation for Turkish (#1466) 2023-06-12 12:44:21 +02:00
Alex Saveau
7049a45634
Fix a bunch of typos + broken link (#1453) 2023-06-12 12:44:03 +02:00
Pg Biel
c58a8fbd1d
Add outline.entry (#1423) 2023-06-12 11:50:59 +02:00
Laurenz
622c1d747e Final tweaks 2023-06-09 16:24:27 +02:00
Laurenz
e923d0e4da Touch up docs 2023-06-09 16:00:39 +02:00
Laurenz
ad41482b70 Remove deprecated calc.mod function 2023-06-09 15:45:24 +02:00
Laurenz
3bedf8d0d1 Translate TOML datetime properly 2023-06-09 15:45:16 +02:00
Laurenz
7ece53ae0c Adjust outline indent option 2023-06-09 14:50:29 +02:00
Laurenz
903f440b28 Rename cramp to cramped 2023-06-09 14:48:23 +02:00
Alex Saveau
61effc350a
Don't type check matrices (#1442) 2023-06-09 10:25:12 +02:00
Laurenz
f62f7624a6 Keep all footnotes for line together for movable item 2023-06-08 16:08:49 +02:00
Laurenz
56f7ede964 Improve footnote handling for multi-page blocks 2023-06-08 15:51:22 +02:00
Laurenz
2b812259c2 Fix footnote in columns
Fixes #1433
2023-06-08 12:24:47 +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
Jett Chen
c87f802cf6
add calc.exp, calc.ln (#1299)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2023-06-07 14:44:07 +02:00
Grégoire Locqueville
3d3ea9016f
Clarify markup details in the documentation (#1434) 2023-06-07 14:22:43 +02:00
figsoda
e57f143858
Add sym.xor (#1397) 2023-06-06 22:37:33 +02:00
Laurenz
6ea98dd940 Small refactorings 2023-06-06 22:25:55 +02:00