Commit Graph

2028 Commits

Author SHA1 Message Date
Yang Hau 0dc1776202
refactor: Replace once_cell to std lib (#1402) 2023-06-07 14:42:58 +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
Laurenz fd417da04f Improve value casting infrastructure 2023-06-06 22:06:16 +02:00
Laurenz 168bdf35bd Add note to `groups.yml` 2023-06-06 19:10:16 +02:00
Laurenz 219f14355b Rename `into_u16` to `as_u16` 2023-06-06 19:06:56 +02:00
figsoda f453565ebf
Remove link to `Option::contains`, since it has been removed (#1399) 2023-06-02 22:43:03 +02:00
Tobias Clasen 9cae387480
Add sym.bullet, which is different from sym.circle.filled.small (#1372) 2023-06-01 15:15:16 +02:00
Peng Guanwen a54cde71cb
Bugfix of CJK punctuation adjustment (#1384) 2023-06-01 15:14:56 +02:00
Martin Haug 3093b566ab More link fixes 2023-05-31 18:17:36 +02:00
Martin Haug 78c615b25f Fix 404 links 2023-05-31 18:17:36 +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
Matthias Georg Mayer 789a54f9e5
Add ⊬ to symbols.rs (#1318) 2023-05-30 18:05:24 +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 11714609b8 Skip empty ICC profiles
ICC profile decoding for PNGs is broken in the version of the `png` crate `image` currently depends on. The bugfix (4c5b0535f0) is released in `png`, but not yet in `image`. As a quick fix, we'll skip empty profiles, they are never valid anyway. Fixes #1333.
2023-05-30 17:41:09 +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
sandal b6b6666efd
Add Danish (#1365) 2023-05-30 10:13:01 +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
Naim A 6db4c39cd9
ignore utf-8 bom (#1317) 2023-05-29 20:13:11 +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 3eb1f31e90 Fix panic in attachment layout 2023-05-24 22:03:50 +02:00
Laurenz 017027bf39 Rework delimiter errors
Fixes #572
2023-05-24 16:58:51 +02:00
Murphy Sünnenwold b9d03be975
add r.double.not (#1315) 2023-05-24 16:46:06 +02:00
Laurenz Stampfl 6af94be34a
Use chrono instead of time in the CLI (#1300) 2023-05-24 12:14:43 +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 f2193307c4 Add note to text fractions
Fixes #465
Fixes #1105
2023-05-23 15:02:17 +02:00
Eric Biedert 5933577dcf
Add alternative lowercase sigma (#1203) 2023-05-23 13:58:46 +02:00
Eric Biedert ff903674f9
Fix tests on windows (#1222) 2023-05-23 12:36:54 +02:00
erikwastaken 2cbeeae5da
CLI option for emitting diagnostics in a unix-style short format (#1176) 2023-05-23 12:34:12 +02:00
Lino Le Van 5400570efa
feat(cli): export as png (#1159)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2023-05-23 12:20:12 +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 a3227f4ef3 Fix PDF outline bugs
Fixes #1098
Fixes #1143
Fixes #1151
2023-05-22 16:05:13 +02:00
Laurenz ef1bf742f6 Don't emit color codes if stderr isn't a TTY
Fixes #521
2023-05-22 15:28:30 +02:00
Laurenz 0214569f3a Set exit code for CLI errors
Fixes #1241
2023-05-22 15:18:47 +02:00
Laurenz 88553fe3c0 Tidy up CLI 2023-05-22 15:13:51 +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