Commit Graph

501 Commits

Author SHA1 Message Date
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
Murphy Sünnenwold b9d03be975
add r.double.not (#1315) 2023-05-24 16:46:06 +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
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 a3227f4ef3 Fix PDF outline bugs
Fixes #1098
Fixes #1143
Fixes #1151
2023-05-22 16:05:13 +02:00
Laurenz 08870d4a4c Clearer error messages for failed comparisons
Fixes #1231
2023-05-22 13:06:33 +02:00
Clara H 33843da2df
Added slash.big (#1273) 2023-05-21 06:58:40 +02:00
Laurenz f692a5efc6 Version bump 2023-05-20 22:05:55 +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
Leedehai 74b818fe40
Reduce redundant ops when computing sup/sub shifts (#1190) 2023-05-19 16:48:57 +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
Laurenz Stampfl f9ab828e29
Add note about embedding svg images (#1243) 2023-05-19 14:41:33 +02:00
Matthias Frühauf 85ea0350e4
adding dotless i & j to sym.rs (#1227) 2023-05-19 14:38:52 +02:00
Laurenz aed0f1ce7d Document `both` argument for counters 2023-05-19 11:40:03 +02:00
Laurenz a38dd4439e Fix text examples
Fixes #1251
Fixes #1252
Fixes #1253
Fixes #1254
Fixes #1255
2023-05-19 11:31:40 +02:00
Laurenz 56a96881a5 Doc links for function scopes 2023-05-19 11:04:20 +02:00
Laurenz 551ea99d05 Show default values in documentation
Fixes #169
Fixes #1102
2023-05-17 14:41:46 +02:00
Laurenz 46aace78ac Search keywords 2023-05-17 14:39:47 +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 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 8ac7be95e6 Documentation fixes 2023-05-11 11:36:25 +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
jannisko 3ab159b0c6
Fix typo in text fractions tooltip (#1167) 2023-05-11 10:26:07 +02:00
Martin Haug b6a241cad2 Left and right double tack 2023-05-08 17:49:25 +02:00
Pg Biel f88ef45ee6
Function scopes (#1032) 2023-05-03 14:20:53 +02:00
Marmare314 edc0632d8c
Add shorthand for root operation (#929) 2023-05-03 11:16:38 +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
Emil Walser 021694de23
Add `.yaml` to supported bib file exts and update uknown bib format message (#1064) 2023-05-01 18:42:38 +02:00
Matt Fellenz b41cce191c
Optimize `.count() > 1` check (#1053)
This can be trivially optimized to `.nth(1).is_some()` which obviates evaluating every element in the iterator.
2023-05-01 13:29:59 +02:00
chris-02 407d8a3ab2
Fix smartquotes in outline (#1047)
Fixes #1041.
2023-05-01 13:29:40 +02:00
Laurenz 4c4bee9845 Fix two things in docs 2023-05-01 13:28:43 +02:00
方而静 b5d72caaf9
Update query's documentation (#1026) 2023-04-29 20:29:48 +02:00
Pg Biel cfad59967c
whoops (#1035) 2023-04-29 13:45:17 +02:00
Leedehai 1efbcad46e
Slight improvement to attach.rs's doc (#996) 2023-04-28 18:49:51 +02:00
Leedehai b0c088740e
Nit: sort and annotate codepoints which should attach as limits (#999) 2023-04-28 18:49:32 +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
pan93412 e0d5930405
Add translation for Chinese (Traditional) (#1000) 2023-04-27 13:16:27 +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
HarmoGlace 6134e3f4ee
Add toml support (#807) 2023-04-26 11:31:32 +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
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
jdierkes 83c11f1ee4
Remove unnecessary closing bracket in example (#961) 2023-04-24 17:24:04 +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
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
Pg Biel a4075f8b9b
Implement math `cancel` function (#793) 2023-04-21 11:28:46 +02:00
Alex Saveau 851b154a6c
Convert math alignment to single-pass algorithm (#891) 2023-04-20 19:48:11 +02:00
HarmoGlace 42b93b7b53
Add `quo`, `trunc` and `fract` calculation methods and rename `mod` to `rem` (#890) 2023-04-20 16:09:41 +02:00
Martin Haug 2a682f0008
Add alt text to image function and PDF (#823) 2023-04-20 11:23:03 +02:00
Matt Fellenz f16ac4d258
Add atan2 (#846) 2023-04-19 19:09:32 +02:00
Alex Saveau b285bea41d
Make `dot` be multiplication and add `dot.period` for periods (#747) 2023-04-19 19:08:59 +02:00
Laurenz f08ae95b9d Fix argument sinks
Fixes #886.
2023-04-19 17:51:33 +02:00
Laurenz 5a6330dbfc Fix math hiding once more 2023-04-19 16:51:47 +02:00
Johannes Wolf 981c578ff9
path: Use close_path() for closing paths (#801) 2023-04-19 16:30:27 +02:00
Pg Biel 66c707f216
fix ref->cite span (#811) 2023-04-19 16:19:19 +02:00
HarmoGlace 1e934def56
Add `gcd` and `lcm` calculation methods (#789) 2023-04-19 16:18:31 +02:00
Laurenz f8966f9e86 Fix realize in math 2023-04-19 11:06:52 +02:00
Laurenz d10b53df0b Clippy 2023-04-18 19:16:13 +02:00
Laurenz 35302d2004 Handle SVG with text 2023-04-18 19:04:46 +02:00
Laurenz bce83d330f Remove intermediate strings in error message 2023-04-18 14:31:32 +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
Laurenz 9bdc4a7de0 Write PDF outline 2023-04-17 13:26:49 +02:00
Ryan Pitasky d2784f6f90
Add algebra symbols (#320) 2023-04-16 11:11:38 +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
HarmoGlace 29b36d4876
Fix `pow` overflow (#784) 2023-04-13 21:08:54 +02:00