Commit Graph

1503 Commits

Author SHA1 Message Date
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
Szymon Bęczkowski 06501fd9ba
Refactor dash pattern (#983) 2023-04-28 18:54:28 +02:00
Marmare314 8fa1af8ac8
check index on placeholder (#1005) 2023-04-28 18:49:21 +02:00
Pg Biel d5e68c731c
fix 0pt stroke for PDF export (#1020) 2023-04-28 10:02:51 +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 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
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
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
Laurenz 3cc0f1ef0d Disable stacker on WASM 2023-04-24 15:20:42 +02:00
Pg Biel e9a0cf9741
Fix 0pt strokes (#923) 2023-04-23 14:38:12 +02:00
Alex Saveau b75cad2d3b
Parallelize tests (#900) 2023-04-23 14:35:18 +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
Martin Haug 2a682f0008
Add alt text to image function and PDF (#823) 2023-04-20 11:23:03 +02:00
Marmare314 4524539c2b
forbid underscore as identifier closes #513 (#837) 2023-04-20 11:05:11 +02:00
Laurenz f08ae95b9d Fix argument sinks
Fixes #886.
2023-04-19 17:51:33 +02:00
Leedehai dc3017955a
Give more specific error messages (#881) 2023-04-19 13:26:55 +02:00
Daniel Csillag d0afba959d
Change SipHash2-4 -> SipHash1-3 (#780)
This seems to significantly improves performance. Inspired by https://github.com/rust-lang/rust/pull/107925
2023-04-19 13:16:03 +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íř 56673bcdf5
Clippy fixes (#856) 2023-04-18 11:19:09 +02:00
Greg Shuflin 2135027219
Improve error message in lexer (#242)
In the error message for an invalid character, print which character
triggered the error.
2023-04-18 11:14:18 +02:00
Laurenz 9bdc4a7de0 Write PDF outline 2023-04-17 13:26:49 +02:00
Marmare314 428c55b6ee
refactor SyntaxKind::Pattern (#831) 2023-04-16 14:34:57 +02:00
Marek Barvíř ee32e7ad1c
Clippy fixes (#581) 2023-04-16 11:10:35 +02:00
Marmare314 0105eb7382
Fix function sinks (#638) 2023-04-13 16:07:58 +02:00
Birk Tjelmeland d1cd814ef8
Add support for more complex strokes (#505) 2023-04-13 16:05:56 +02:00
Laurenz 9025ecb2ee Better error spans in `calc` 2023-04-13 15:13:31 +02:00
HarmoGlace e11bd2a193
Add factorial, permutation and binomial to calculation functions (#639) 2023-04-13 14:38:51 +02:00
Laurenz 89cf4054d6 Reduce amount of hashing 2023-04-13 14:23:46 +02:00
Alexander Seiler e4fda4176e
Correct some typos (#746) 2023-04-12 15:13:36 +02:00
Sébastien d'Herbais de Thun 1198e0cd38
Selector rework (#640) 2023-04-12 12:47:51 +02:00
Laurenz 12be8fe070 Let dictionaries respect insertion order 2023-04-11 21:59:02 +02:00
Laurenz db24996161 Add support for more ratio multiplications 2023-04-11 21:40:39 +02:00
Laurenz 42be51609b Remove support for number / ratio
If `1 * 40%` and `1 / 40%` both work, then I would expect `1cm * 40%` and `1cm / 40%` to work, too.
So the result of both multiplication and division is always the left type. Same with `100% * 40%`. But `100% / 40%` does not return a ratio, it returns a float. This breaks the consistency. For this reason, I am removing support for just the new divisions for now, but we can revisit this.
2023-04-11 21:39:46 +02:00
Daniel Csillag 5bc73be90f
Optimization to `Introspector::extract` (#734) 2023-04-11 19:11:44 +02:00
Marmare314 72d8785abe
fix parenthesized binding (#707) 2023-04-11 18:44:17 +02:00
Laurenz 9984e73ff3 Fix highlighting of identifiers before brackets 2023-04-11 17:26:00 +02:00
Laurenz 9720424884 Fix duplicate error message for destructuring 2023-04-11 16:50:26 +02:00
Laurenz 58e4bdb1b9 Remove enumeration support from `map` 2023-04-11 16:41:04 +02:00
Eric Biedert c7db709da5
Allow treating ratios as floats (#681) 2023-04-11 14:13:01 +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
Daniel Csillag a8087a9dbb
Array sorting by key (#584) 2023-04-11 12:48:17 +02:00
Marmare314 0f8219b392
Unpacking syntax (#532)
Closes #341
2023-04-06 15:26:09 +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
Vid Drobnič a3055a7a71
add support for slovenian language (#621) 2023-04-06 14:52:25 +02:00
astrale-sharp 085282c138
Appends a hint if length is expected but hint provided. (#580) 2023-04-05 16:47:12 +02:00
Sébastien d'Herbais de Thun 70a909b8ba
Fixed page numbering (#594) 2023-04-05 15:04:31 +02:00
felipeacsi df7160f5b2
Spanish support (#548) 2023-04-05 12:17:07 +02:00
Nazar Serhiichuk 69ba8884f7
Add support for ukrainian lang (#578) 2023-04-05 12:13:25 +02:00
Laurenz 715f9fb0a5 Locatable selectors 2023-04-04 23:43:34 +02:00
Laurenz 23715e813e Refactor and document figures 2023-04-04 23:15:03 +02:00
Sébastien d'Herbais de Thun f347ed4314
Improved figure numbering, labelling and referencing (#491) 2023-04-04 19:21:25 +02:00
Laurenz 5637a1693c Allow labels and reference with ',' and '.' 2023-04-04 18:19:17 +02:00
Laurenz 8284db9000 Fix autocompletion after non-hashtag expression 2023-04-04 18:18:10 +02:00
Marek Barvíř 1a36ce7fa8
Disable clippy for specific lines (#503) 2023-04-04 17:10:06 +02:00
Marek Barvíř cfc671d824
clippy::match_like_matches_macro (#502) 2023-04-04 17:09:53 +02:00
Laurenz 570c528b3e Integers with different bases 2023-04-04 15:46:09 +02:00
Laurenz c2d88989a7 Format code 2023-04-04 14:36:25 +02:00
Mateus Felipe C. C. Pinto 2dbbeaeb60
Provide support for portuguese language (#525) 2023-04-03 12:59:13 +02:00
Birk Tjelmeland ed79ecbb44
Add support for cliping content in `block` and `box` (#431) 2023-04-01 16:04:38 +02:00
Sébastien d'Herbais de Thun cc67e53099
Added FR language support (#483) 2023-03-31 19:56:41 +02:00
Marek Barvíř 4161bad54f
FIX lint clippy::len_without_is_empty (#451) 2023-03-31 17:13:31 +02:00
1bitbool 6c979e554b
Added ZH language support (#481) 2023-03-31 16:43:14 +02:00
Laurenz 5f97e0a773 Make `Paint` not implement `Copy` 2023-03-31 16:33:33 +02:00
Daniil Berezin 00f11ae56d
Added RU language support (#467) 2023-03-31 12:52:40 +02:00
frozolotl ed36ef3312
Add support for more characters in links (#379) 2023-03-30 21:26:43 +02:00
GabrielDertoni 84bfb3ca24
fix: allow access to label of sequence (#342) 2023-03-30 11:38:23 +02:00
Laurenz 72fb155403 Link to label 2023-03-29 20:10:23 +02:00
Marco Radocchia 9737d3b754
Added IT language support (#413) 2023-03-29 19:34:18 +02:00
frozolotl e13fc04c3e
Fix parsing of language in single-tick raw literals (#401) 2023-03-28 17:04:27 +02:00
Laurenz e84df1a036 Fix tests on Windows
Fixes #386.
2023-03-28 14:30:21 +02:00
Marek Barvíř 213f31c5d7
Fix basic lints (cargo clippy) (#383) 2023-03-28 09:38:01 +02:00
Laurenz b0f87077cc Fix hovering over comments 2023-03-27 17:25:01 +02:00
Laurenz e724d04253 Update changelog 2023-03-27 16:51:03 +02:00
Laurenz c5fb34123c Fix parsing of unbalanced delimiters in math 2023-03-27 16:09:26 +02:00
Laurenz 51d972ec24 Fix matrix delimiters
Fixes #200.
2023-03-27 13:14:21 +02:00
Laurenz 2c7f2c005a Parse decimals as a unit
Fixes #257.
2023-03-27 12:50:00 +02:00
Laurenz a5c88c19b3 Fix enum parsing and allow zero in numberings
Fixes #353.
2023-03-27 12:12:57 +02:00
Alexander Ekdahl 766d1be72b
Newton's notation for derivatives (#281) 2023-03-25 13:32:25 +01:00
Kian-Meng Ang 25acefeb5b
Fix typos (#115)
Found via `codespell -S target -L
crate,ist,thi,alle,dedented,ue,tung,nd,ende,overriden,dependant`
2023-03-22 09:02:51 +01:00
Laurenz b934a2fd83 Embed standard fonts in binary 2023-03-21 23:18:56 +01:00
Laurenz 53b57d8294 Fix show rule colon error message 2023-03-21 13:08:18 +01:00
Laurenz c913271b29 Fix crash for jump to outdated span 2023-03-21 12:55:39 +01:00
Laurenz 69136b74dc More math shorthands 2023-03-21 10:29:59 +01:00
Laurenz 2d16f9434f Documentation for citation, bibliography, and content 2023-03-20 22:09:10 +01:00
Laurenz 659a4d3731 Document `Location` fields 2023-03-19 23:57:17 +01:00