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
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
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
Pg Biel
c58a8fbd1d
Add `outline.entry` ( #1423 )
2023-06-12 11:50:59 +02:00
Laurenz
c65aaa9137
Undo regex type rename
...
Unnecessary breaking change for now
2023-06-09 15:52:31 +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
635ef03273
Treat function-looking code in attachment as function ( #985 )
2023-06-09 11:36:44 +02:00
Alex Saveau
61effc350a
Don't type check matrices ( #1442 )
2023-06-09 10:25:12 +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
Yang Hau
0dc1776202
refactor: Replace once_cell to std lib ( #1402 )
2023-06-07 14:42:58 +02:00
Laurenz
fd417da04f
Improve value casting infrastructure
2023-06-06 22:06:16 +02:00
Laurenz
219f14355b
Rename `into_u16` to `as_u16`
2023-06-06 19:06:56 +02:00
Peng Guanwen
a54cde71cb
Bugfix of CJK punctuation adjustment ( #1384 )
2023-06-01 15:14:56 +02:00
Sung Jeon
08b49291bc
Add NumberingKind variants for Korean ( #1360 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2023-05-30 18:42:24 +02:00
Erik Bünnig
b805c5f100
Unicode code point conversion ( #1068 ) ( #1132 )
2023-05-30 18:11:30 +02:00
Lynn
7e07b61046
Add a base parameter to str() ( #1362 )
2023-05-30 18:05:15 +02:00
Peng Guanwen
e2bf2327b5
Use icu4x for linebreaking algorithm ( #1355 )
2023-05-30 17:53:10 +02:00
Laurenz
25e94cef03
Fix doc links
2023-05-30 14:50:43 +02:00
Laurenz
f90fcd664b
Fix pagebreak before `place`
...
Fixes #1368
2023-05-30 14:36:34 +02:00
Gabriel Wu
87ee97ae5e
Support syntax highlighting for more languages ( #771 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2023-05-30 10:46:56 +02:00
Pg Biel
47f81f0da5
Custom outline indenting ( #1157 )
2023-05-30 10:46:39 +02:00
MALO
644bbf9914
Add `fields` method to content ( #1340 )
2023-05-30 10:13:27 +02:00
Pg Biel
e4557f6639
Fix `.at(default: ...)` for strings and content ( #1339 )
2023-05-29 20:15:32 +02:00
Leedehai
31dfe32242
Add regression test for fix 3eb1f31 ( #1320 )
2023-05-29 20:14:31 +02:00
Laurenz
017027bf39
Rework delimiter errors
...
Fixes #572
2023-05-24 16:58:51 +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
Eric Biedert
ff903674f9
Fix tests on windows ( #1222 )
2023-05-23 12:36:54 +02:00
sitandr
5dbc15ef0c
Forced size command in math ( #1128 )
2023-05-23 11:22:27 +02:00
Laurenz Stampfl
752817ae74
Add support for date & time handling ( #435 )
2023-05-23 10:41:20 +02:00
Laurenz
f4fd6855e7
Fix and simplify reference supplements
...
- Fixes #873 by properly handling `none` supplement for`ref`.
- Fixes #523 by adding a `supplement` parameter to `math.equation`
- In the future, we can remove supplement functions in favor of show-set rules with fine-grained selectors. Currently, this is not possible because show-set + synthesis doesn't play well together
2023-05-22 20:56:30 +02:00
Laurenz
183997d5fe
Don't hide introspection metadata
...
Fixes #622
2023-05-22 16:45:23 +02:00
Laurenz
8aa0ae197d
Fix field access on styled element
...
Fixes #1197
2023-05-22 13:49:09 +02:00
Laurenz
3d83960322
Fix removal order for dictionary
...
Switches to `shift_remove` for now. In the future, we should look into a more efficient implementation. Fixes #1258 .
2023-05-22 13:10:48 +02:00
Laurenz
08870d4a4c
Clearer error messages for failed comparisons
...
Fixes #1231
2023-05-22 13:06:33 +02:00
Laurenz
1321862cd5
Footnotes
2023-05-20 21:36:24 +02:00
Laurenz
7bb69c0902
Check crate docs in CI
2023-05-20 10:48:25 +02:00
Naim A
d61a839188
resolve #510 : reverse quote direction in RTL languages ( #1183 )
2023-05-19 16:49:16 +02:00
sitandr
42c3a6fa72
Fixed symbol style reset in stretching ( #1195 )
2023-05-19 15:33:15 +02:00
Leedehai
84b9d9c990
Print the string that is not castable to number ( #1207 )
2023-05-19 14:54:44 +02:00
Leedehai
8d4f9304c0
Update string doc: index can be negative ( #1198 )
2023-05-19 14:41:58 +02:00
Laurenz
551ea99d05
Show default values in documentation
...
Fixes #169
Fixes #1102
2023-05-17 14:41:46 +02:00
Laurenz
d14d1e867f
Fix figure detection
2023-05-17 12:55:25 +02:00
Laurenz
88cb8c2626
Bump comemo
2023-05-16 16:43:35 +02:00
Peng Guanwen
659f27bf6a
Do not hang CJK punctuation ( #1211 )
2023-05-15 08:57:17 +02:00
sitandr
4b17c3f5c6
Show rules for symbols ( fixes #1130 ) ( #1175 )
2023-05-12 12:26:26 +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
a8728be9b0
Initial support for breakable figures ( #1121 )
2023-05-12 11:00:55 +02:00
Leedehai
e8de8a49c5
Adjust attach() per TeXbook Appendix G 18a ( #1129 )
2023-05-11 17:38:04 +02:00
Pg Biel
1a6224f566
Default enum number alignment to 'end' ( #1042 )
2023-05-11 16:36:41 +02:00
Pg Biel
b5ad2468ad
Improve alignment of text inside raw blocks ( #1034 )
2023-05-11 16:32:46 +02:00
Peng Guanwen
d19a4124de
Implement sophisticated CJK punctuation adjustment ( #954 )
2023-05-11 15:02:52 +02:00
Alex Saveau
e472b0347f
Alternate between right/left alignment in equations ( #936 )
2023-05-11 14:56:17 +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
Marmare314
db6a710638
Parameter pattern bug ( #1062 )
2023-05-03 12:42:26 +02:00
Michael Lohr
ffad8516af
Implement default values for at() ( #995 )
2023-05-03 12:34:35 +02:00
dvdvgt
be3c4d7876
[Feature] Allow function as argument for string.replace ( #944 )
2023-05-03 11:41:50 +02:00
Marmare314
edc0632d8c
Add shorthand for root operation ( #929 )
2023-05-03 11:16:38 +02:00
HarmoGlace
856557353b
Add rust minimum version in `Cargo.toml` ( #902 )
2023-05-03 10:37:44 +02:00
Laurenz
ad347632ab
Make ligatures copyable and searchable
...
Fixes #479
Fixes #1040
2023-05-03 10:33:18 +02:00
Alberto Vilches
bcc014c4e1
fix: typos ( #1074 )
2023-05-02 20:45:18 +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
Marmare314
8fa1af8ac8
check index on placeholder ( #1005 )
2023-04-28 18:49:21 +02:00
Pg Biel
0d8c3254b7
Initial fix for spacing on decorated math operators ( #1023 )
2023-04-28 18:49:02 +02:00
Alex Saveau
1235d52c52
Make ast == ast.op ( fixes #1004 ) ( #1017 )
2023-04-27 22:34:46 +02:00
Leedehai
605b0b5f73
Remove trailing blankspaces ( #1001 )
2023-04-27 11:27:38 +02:00
Alexander Seiler
c941baa7ee
Correct some typos ( #987 )
2023-04-27 11:26:43 +02:00
Laurenz
b1e0de0078
Version bump
2023-04-26 15:54:05 +02:00
Laurenz
3680c854a2
Touch up docs
2023-04-26 15:37:21 +02:00
Marmare314
59957746e9
Pattern as parameter ( #854 )
2023-04-26 11:32:11 +02:00
HarmoGlace
6134e3f4ee
Add toml support ( #807 )
2023-04-26 11:31:32 +02:00
HarmoGlace
7cb63d1aae
Fix overflows with operators ( #904 )
2023-04-26 11:30:16 +02:00
pan93412
a6df909a8d
Allow passing `region` to LocalName ( #926 )
2023-04-26 11:30:03 +02:00
Alex Saveau
1d42d6674c
Upgrade a bunch of deps and remove two unused ones ( #968 )
2023-04-26 11:22:43 +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
Alex Saveau
f740c0b03f
Support picking the last subtest by using a random big number ( #970 )
2023-04-26 10:02:17 +02:00
Leedehai
62361b4127
Support indices preceding the base symbol, revamping #699 ( #825 )
...
Breaking change: abbreviate attach() attachment params, top -> t, bottom -> b
2023-04-25 11:24:07 +02:00
Alex Saveau
fb99090208
Support implicit alignment ( #749 )
2023-04-25 11:22:32 +02:00
Laurenz Stampfl
f38989358e
Add a zip method to arrays ( #947 )
2023-04-25 11:22:20 +02:00
Marmare314
d5d98b67a8
Destructuring assign ( #703 )
2023-04-25 11:22:12 +02:00
SekoiaTree
efad1e71fa
Add sum and product to arrays ( #966 )
2023-04-25 11:18:27 +02:00
Marmare314
12129f0170
hint for unknown variable containing dash ( #924 )
2023-04-24 19:08:07 +02:00
Alex Saveau
bc802bd8fb
Fix broken matrices with alignment and optimize code while we're at it ( #935 )
2023-04-24 11:16:13 +02:00
Alex Saveau
5ccc687619
Obey alignment in matrices ( #892 )
2023-04-24 11:04:04 +02:00
Luis David Licea Torres
e5ea3ecbbb
Spanish quote marks ( #941 )
2023-04-24 10:33:56 +02:00
Laurenz
ff1e4049d1
Support show-set for outline and bibliography headings
2023-04-23 15:06:42 +02:00