191 Commits

Author SHA1 Message Date
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
Grégoire Locqueville
3d3ea9016f
Clarify markup details in the documentation (#1434) 2023-06-07 14:22:43 +02:00
Laurenz
fd417da04f Improve value casting infrastructure 2023-06-06 22:06:16 +02:00
Peng Guanwen
e2bf2327b5
Use icu4x for linebreaking algorithm (#1355) 2023-05-30 17:53:10 +02:00
Laurenz
f90fcd664b Fix pagebreak before place
Fixes #1368
2023-05-30 14:36:34 +02:00
sandal
b6b6666efd
Add Danish (#1365) 2023-05-30 10:13:01 +02:00
Olle Månsson
eab267bef0
feat: Add Swedish (#1353) 2023-05-29 20:07:27 +02:00
Lynn
1e4dabb63a
Add Dutch LocalNames (#1357) 2023-05-29 12:23:51 +02:00
Laurenz
6410ad2fe6 Fix typo 2023-05-23 16:00:39 +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
1321862cd5 Footnotes 2023-05-20 21:36:24 +02:00
Laurenz
551ea99d05 Show default values in documentation
Fixes #169
Fixes #1102
2023-05-17 14:41:46 +02:00
Laurenz
42afa410ae Better documentation outlines 2023-05-17 14:38:03 +02:00
Laurenz
d14d1e867f Fix figure detection 2023-05-17 12:55:25 +02:00
Laurenz
1fa56a317c Extract category definitions into individual functions 2023-05-15 10:36:03 +02:00
Peng Guanwen
659f27bf6a
Do not hang CJK punctuation (#1211) 2023-05-15 08:57:17 +02:00
jassler
fd84d23ade
Support for align parameter in table to take an array (#1087) (#1149) 2023-05-12 12:26:14 +02:00
Pg Biel
1a6224f566
Default enum number alignment to 'end' (#1042) 2023-05-11 16:36:41 +02:00
Peng Guanwen
d19a4124de
Implement sophisticated CJK punctuation adjustment (#954) 2023-05-11 15:02:52 +02:00
Laurenz
998a3c44fd Remove tracing from cheap functions
Turns out that having tracing enabled on some functions that get called a lot distorts the traces so that their parent stack frames look much more expensive than they actually are.
2023-05-11 11:35:45 +02:00
Laurenz
2f0b5eeae0 More efficient introspection
Switches from a mutable locator to one based on tracked chains and optimizes query performance.
2023-05-11 11:27:00 +02:00
Laurenz
47dff3765d Remove 'static bound on World
Thanks to improvements in comemo, tracked types don't need to be 'static anymore. This means that the 'static bound on the `World` is now lifted and that the `Route` doesn't need to use unsafe code anymore to manage its lifetime.
2023-05-11 10:50:30 +02:00
Pg Biel
f88ef45ee6
Function scopes (#1032) 2023-05-03 14:20:53 +02:00
Laurenz
ad347632ab Make ligatures copyable and searchable
Fixes #479
Fixes #1040
2023-05-03 10:33:18 +02:00
chris-02
407d8a3ab2
Fix smartquotes in outline (#1047)
Fixes #1041.
2023-05-01 13:29:40 +02:00
Alexander Seiler
c941baa7ee
Correct some typos (#987) 2023-04-27 11:26:43 +02:00
Laurenz
3680c854a2 Touch up docs 2023-04-26 15:37:21 +02:00
pan93412
a6df909a8d
Allow passing region to LocalName (#926) 2023-04-26 11:30:03 +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
Pg Biel
ae4accc071
Fix alignment of list markers & enum numbers (#988) 2023-04-26 10:03:34 +02:00
Laurenz
1102885979 Handle margins directly in page 2023-04-25 16:27:38 +02:00
Laurenz
946756bc53 A small comment regarding page layout 2023-04-25 16:09:10 +02:00
Alex Saveau
fd5e5b1ebb
Add note to measure function about being in infinite space (#927) 2023-04-23 14:37:11 +02:00
Sébastien d'Herbais de Thun
561ff979d5
Add instrumentation (Part 1) (#761) 2023-04-23 14:33:56 +02:00
Marek Barvíř
dd5e9723e0
clippy::wrong_self_convention (#857) 2023-04-18 11:19:16 +02:00
Marek Barvíř
56673bcdf5
Clippy fixes (#856) 2023-04-18 11:19:09 +02:00
Peng Guanwen
480ad7670b
More Chinese punctuation adjustment (#836)
and also general linebreak improvements
2023-04-17 18:20:59 +02:00
Marek Barvíř
ee32e7ad1c
Clippy fixes (#581) 2023-04-16 11:10:35 +02:00
Thiago Trannin
261b96da68
Fix typo in ParElem documentation (#810) 2023-04-15 15:36:37 +02:00
Laurenz
46ce9c94e3 Fix linebreak after inline objects with metadata 2023-04-13 15:52:20 +02:00
Peng Guanwen
ff16f3fb37
Refine linebreak algorithm for better Chinese justification (#701) 2023-04-13 10:44:39 +02:00
Radim Sückr
6f625fc73c
Add Czech translation (#683) 2023-04-11 14:04:44 +02:00
Abdul Rahman Sibahi
9046678610
Added Arabic translations (#688) 2023-04-11 14:04:29 +02:00
ichxorya
31eb3b571e
Add Vietnamese Translation (#684) 2023-04-11 14:04:13 +02:00
Marmare314
0f8219b392
Unpacking syntax (#532)
Closes #341
2023-04-06 15:26:09 +02:00
Laurenz
a73149767c Fix block child spacing 2023-04-06 15:13:26 +02:00
Laurenz
1e5a100d6a Reorganize matches on languages 2023-04-06 14:59:05 +02:00
jakobrs
cca85a572a
Add Norwegian language support (#628) 2023-04-06 14:56:11 +02:00
zymon
6f13a3f8b9
add support for polish language (#623) 2023-04-06 14:53:18 +02:00