Commit Graph

1473 Commits

Author SHA1 Message Date
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
Laurenz 30d6c070c1 More efficient function representation 2023-03-19 23:49:35 +01:00
Laurenz ab43bd802e Renaming and refactoring 2023-03-19 22:39:19 +01:00
Laurenz d6aaae0cea Fix font embedding bugs 2023-03-19 20:58:03 +01:00
Laurenz 0ba99ab8aa Measurement and introspection rework 2023-03-19 10:19:34 +01:00
Laurenz a69b587455 Rename formula to equation 2023-03-18 19:27:31 +01:00
Laurenz a16726ae66 Architecture description 2023-03-18 18:27:22 +01:00
Laurenz 533d4d57c6 Fix hover tooltip value collapsing 2023-03-18 17:51:13 +01:00
Laurenz 5d475ae32e Attach parameter list span to function 2023-03-18 17:50:57 +01:00
Laurenz 9315e2f08e Make parameters traceable 2023-03-17 18:51:42 +01:00
Laurenz 59903270dc Methods for page and location on queried content 2023-03-17 18:43:20 +01:00
Laurenz af7fe4d760 Hover and autocomplete in show rules 2023-03-17 18:18:47 +01:00
Laurenz 6d64d3e8e9 Query 2023-03-17 16:04:14 +01:00
Laurenz c47e4cb496 State 2023-03-17 16:04:12 +01:00
Laurenz 312197b276 Counters 2023-03-17 11:45:57 +01:00
Laurenz e8435df5ec More jump targets 2023-03-17 11:30:58 +01:00
Laurenz ecb5543985 Node links 2023-03-15 12:33:38 +01:00
Laurenz 8567811808 Simplify stable id handling 2023-03-15 10:09:17 +01:00
Laurenz 89f44f220d Bibliography and citations 2023-03-14 22:53:54 +01:00
Laurenz 2a86e4db0b Reference supplements 2023-03-14 22:34:43 +01:00
Laurenz e50189cfa7 Allow keywords as fields 2023-03-14 22:31:05 +01:00
Laurenz 724e9b140c Locatability and synthesis improvements 2023-03-13 21:41:33 +01:00
Laurenz 880b1847bd Derive `Cast` for enums 2023-03-13 21:40:06 +01:00
Laurenz 8debba439c Fix font tooltip 2023-03-13 11:30:17 +01:00
Laurenz 5800acceac Consider glyph side when determining cursor position 2023-03-12 22:59:39 +01:00
Laurenz a735bb9db3 Jump to destination 2023-03-12 14:28:24 +01:00
Laurenz ad05ba5925 Spans in math 2023-03-12 13:20:36 +01:00
Martin Haug 2720a44b96 Merge branch 'main' into ng 2023-03-12 09:58:47 +01:00
Laurenz ca6edf5283 Jump to source and preview 2023-03-11 23:29:32 +01:00
Laurenz 1a390deaea Figures 2023-03-11 20:01:56 +01:00
Laurenz 529d3e10c6 Section references 2023-03-11 18:29:48 +01:00