Commit Graph

463 Commits

Author SHA1 Message Date
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
Pg Biel 1e948f7fa2
bump chinese-numbers version (#797) 2023-04-14 09:56:39 +02:00
HarmoGlace 29b36d4876
Fix `pow` overflow (#784) 2023-04-13 21:08:54 +02:00
Birk Tjelmeland d1cd814ef8
Add support for more complex strokes (#505) 2023-04-13 16:05:56 +02:00
Laurenz 46ce9c94e3 Fix linebreak after inline objects with metadata 2023-04-13 15:52:20 +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
Peng Guanwen ff16f3fb37
Refine linebreak algorithm for better Chinese justification (#701) 2023-04-13 10:44:39 +02:00
Alex Saveau 03d2ec9f81
Strip trailing line breaks in math equations (#750) 2023-04-13 10:42:03 +02:00
Chen a066a3d283
More flexible capability to control showing reference (#646) 2023-04-13 10:41:42 +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 fe2640c552 Version bump 2023-04-11 22:34:25 +02:00
Laurenz 6dcb65e3a3 Improve documentation 2023-04-11 21:54:13 +02:00
Laurenz 2606034ac7 Fix heading supplement
Fixes #730
2023-04-11 16:59:38 +02:00
Laurenz 74fce3fc78 Fix square sizing
Fixes #85.
2023-04-11 16:26:26 +02:00
classabbyamp 022b945fb3
add `sinc` operator (#720)
this is for the sinc function (https://en.wikipedia.org/wiki/Sinc_function)
2023-04-11 14:13:34 +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
Eric Biedert a7dfed86c6
Docs for Newton's notation for derivatives (#670) 2023-04-11 13:56:08 +02:00
Leedehai d356a303f5
Remove '#' from FracElem docs (#691) 2023-04-11 13:55:23 +02:00
Leedehai 1254393ac9
Swap the misplaced top/bottom style (#642) 2023-04-07 10:36:13 +02:00
_rqy bb30911282
realize before layout_math (#637) 2023-04-07 10:30:34 +02:00
SteamedFish ebb995feca
Add Chinese numbering (#565) 2023-04-06 15:50:15 +02:00
Pg Biel ca71081d05
Add 'layout' function to obtain the size of the outer container (#557) 2023-04-06 15:36:36 +02:00
Alex Sayers 5cb226026e
Add Iroha-style numbering (+ bugfix) (#555) 2023-04-06 15:31:17 +02:00
Marmare314 0f8219b392
Unpacking syntax (#532)
Closes #341
2023-04-06 15:26:09 +02:00
Laurenz a73149767c Fix block child spacing 2023-04-06 15:13:26 +02:00
Laurenz 1e5a100d6a Reorganize matches on languages 2023-04-06 14:59:05 +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
Laurenz 4f4af02ace Fix path and polygon strokes 2023-04-06 12:58:27 +02:00
Laurenz f9b9be16f9 Fix box and block sizing 2023-04-06 12:26:39 +02:00
Sébastien d'Herbais de Thun 23a884a67f
Changed rules of figures (#627) 2023-04-06 12:25:43 +02:00
SekoiaTree 52b92a9d35
Path support (#536) 2023-04-06 12:10:49 +02:00
teenjuna 222c590788
Fix RU translation for raw block (#596) 2023-04-05 16:46:01 +02:00
Sébastien d'Herbais de Thun 70a909b8ba
Fixed page numbering (#594) 2023-04-05 15:04:31 +02:00
Raphaël CV d569f6b33b
Fix inversion cal frak R (#593) 2023-04-05 13:37:54 +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
Daniel Csillag f548223663
Fix hiding of math (#587) 2023-04-05 12:04:11 +02:00
Laurenz b3faef4b80 Bump version 2023-04-05 01:41:15 +02:00
Laurenz e13c72b301 Fix first line indent with styled text 2023-04-05 00:15:51 +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 5b0297464e Rename bibliography styles 2023-04-04 18:29:18 +02:00
Laurenz bfec777542 Bump hayagriva
Fixes #287
Fixes #304
Fixes #459
Fixes #506
2023-04-04 18:21:09 +02:00
Martin Haug 8aca3ca3c1
Add double bracket and laplace operator (#570) 2023-04-04 15:47:40 +02:00
Laurenz c2d88989a7 Format code 2023-04-04 14:36:25 +02:00
Laurenz e77abf842d Make error messages a bit more consistent 2023-04-04 14:33:43 +02:00
HarmoGlace 4aa5e0a4a3
Make behavior of calculation functions consistent (#515) 2023-04-04 14:33:26 +02:00
Alex Sayers 2c735294cd
Improve justification of Chinese/Japanese text (#542) 2023-04-03 15:56:23 +02:00
Johannes Wolf 0b4dc6758e
transform: Fix documentation (#538) 2023-04-03 13:05:56 +02:00
Mateus Felipe C. C. Pinto 2dbbeaeb60
Provide support for portuguese language (#525) 2023-04-03 12:59:13 +02:00
Laurenz 37eededc9d Revise counter documentation 2023-04-02 20:18:22 +02:00
Sébastien d'Herbais de Thun cca9ea8249
Make all counters start at zero (#533) 2023-04-02 20:01:19 +02:00
SekoiaTree c799421879
Fix a copy-paste typo in CircleElem's docs (#534) 2023-04-02 19:55:25 +02:00
Laurenz b469f30c83 Fix block spacing 2023-04-02 19:47:42 +02:00
samlich fa4878f7d0
replace deprecated angle brackets (#237) 2023-04-02 11:15:36 +02:00
Laurenz e1ecb8cabe Simplify `pow` function 2023-04-01 23:31:23 +02:00
Laurenz 7ef687ec53 Fix underflows in counter 2023-04-01 23:04:26 +02:00
HarmoGlace f94bc9a13f
Fix zero power (#511) 2023-04-01 19:45:44 +02:00
Laurenz 10a3fbd174 Documentation for regex from raw element
Fixes #266.
2023-04-01 19:34:49 +02:00
Laurenz 2d6a79ba32 Don't display empty counters and state
Fixes #338.
2023-04-01 19:04:06 +02:00
Naim A 66a22b5555
Hebrew numbering (#446) 2023-04-01 16:05:06 +02:00
Birk Tjelmeland ed79ecbb44
Add support for cliping content in `block` and `box` (#431) 2023-04-01 16:04:38 +02:00
Marek Barvíř 5e5b1bba51
Needless clone, borrows, casts and lifetimes (#504) 2023-04-01 15:53:13 +02:00
Marek Barvíř 9eb6174b22
Unreachable pattern (#501) 2023-04-01 14:58:33 +02:00
Yi Chen Chong 90e7d18f26
Fixed extraneous spacing in sign operators (#500) 2023-04-01 14:45:54 +02:00
P-Andersson 387bcc3879
add support for loading data from yaml files (#447) 2023-04-01 14:33:42 +02:00
Sébastien d'Herbais de Thun 9e69a7b161
Allows negative pow (#486) 2023-04-01 14:24:43 +02:00
Sébastien d'Herbais de Thun cc67e53099
Added FR language support (#483) 2023-03-31 19:56:41 +02:00
Lars Wrenger 631ba40e57
Support for multiple bib files in a bibliography (#296) 2023-03-31 18:41:17 +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
Marek Barvíř 5aa2ba1490
FIX "data.typ" test (#412) 2023-03-30 11:52:27 +02:00
Laurenz 81c5568aec Make label on styled and sequence elements locatable 2023-03-30 11:38:33 +02:00
Naim A 2ed4212c76
bail! when #symbol is called without parameters (#440) 2023-03-29 23:07:08 +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
Laurenz 24e26b8c77 Fix styling of text operators 2023-03-29 19:21:01 +02:00
Laurenz d1ff94a3b5 A bit more polygon docs 2023-03-28 17:00:02 +02:00
Olle Lögdahl 44165d09a9
Add polygon drawing primitive (#314) 2023-03-28 16:43:16 +02:00
Laurenz a0249d2309 Switch to crates.io version of `lipsum` 2023-03-28 11:36:26 +02:00
oskgo 1e9d6b4aaa
typo: `childfren` -> `children` (#381) 2023-03-27 22:41:51 +02:00
Laurenz e83e05d541 Term list separator changes 2023-03-27 22:31:29 +02:00
Laurenz 66de90437f Update fibonacci example and add `round` function 2023-03-27 20:23:37 +02:00
Laurenz d71c933cca Bump dependencies 2023-03-27 15:49:04 +02:00
Laurenz 13ece5ec26 Allow disabling vector and matrix delimiters 2023-03-27 14:52:25 +02:00
Laurenz 5020f62195 Respect link style in bibliography 2023-03-27 12:31:01 +02:00
Laurenz dd33a21188 Documentation for location methods
Fixes #308.
2023-03-27 12:26:24 +02:00
Laurenz a5c88c19b3 Fix enum parsing and allow zero in numberings
Fixes #353.
2023-03-27 12:12:57 +02:00
David Voigt 6545620891
change page numbering for outline (#284) 2023-03-25 13:35:32 +01:00
Alexander Ekdahl 766d1be72b
Newton's notation for derivatives (#281) 2023-03-25 13:32:25 +01:00
jakobrs a25a691549
Use correct smart quotes for Norwegian Bokmål language code (#278) 2023-03-25 13:30:33 +01:00
Florian Kothmeier 238f64327c
Fix fill color obstructing page header and background (#277) 2023-03-25 13:30:19 +01:00
Ryan Pitasky 8b1852cffb
Replace infinite repeat layout panic with error (#235)
When a page has auto width and there were no other constraints on the repetition width, this would previously panic. Now, there is an explicit check with a new error and test case.
2023-03-24 09:15:24 +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 ff8cd46c50 Fix typo 2023-03-21 20:23:53 +01:00
Laurenz 2d16f9434f Documentation for citation, bibliography, and content 2023-03-20 22:09:10 +01:00
Laurenz 22bf0117a0 Documentation for measure, locate, and style 2023-03-20 18:21:05 +01:00
Laurenz 420eebe191 Documentation for query 2023-03-20 17:46:10 +01:00
Laurenz c8bf331c94 Documentation for state 2023-03-20 17:03:53 +01:00
Laurenz 188e64fa30 Documentation for counters 2023-03-20 14:52:33 +01:00
Laurenz ab43bd802e Renaming and refactoring 2023-03-19 22:39:19 +01:00
Laurenz 0ba99ab8aa Measurement and introspection rework 2023-03-19 10:19:34 +01:00
Laurenz c7f4d6b12e Equation numbering 2023-03-18 19:54:00 +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 f2b0c5e08d Fix page counter 2023-03-18 16:28:39 +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 2bacbaf2bd Hanging indent 2023-03-14 22:30:21 +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 cb3c263c4a More accurate logarithm for base 2 and 10 2023-03-13 20:10:29 +01:00
Laurenz 74ab0309f0 Make figure block unbreakable 2023-03-12 23:39:30 +01:00
Laurenz 1283f6b20f Don't set none fields for syntax-created nodes 2023-03-12 23:26:28 +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
Laurenz 8e5f446544 Autocompletion for raw language tags 2023-03-11 11:46:12 +01:00
Laurenz a9fdff244a Expose content representation more 2023-03-10 21:19:50 +01:00
Laurenz 902c2ea121 Fix y offset in shaper 2023-03-10 14:25:04 +01:00
Laurenz 62f35602a8 New #[func] macro 2023-03-10 12:55:21 +01:00
Laurenz c38d72383d Make all optional fields settable 2023-03-09 14:42:14 +01:00
Laurenz d7a65fa26d Rework style chain access 2023-03-08 14:35:33 +01:00
Laurenz e5eab73374 Streamline field names 2023-03-08 11:02:27 +01:00
Laurenz 1b2b53ecb9 Require font to be a named argument 2023-03-08 10:44:24 +01:00
Laurenz 25b5bd1175 Fully untyped model 2023-03-07 15:17:13 +01:00
Laurenz 6ab7760822 Split up `model` module 2023-03-01 16:33:28 +01:00
Laurenz ab841188e3 Bump `ecow` 2023-03-01 11:27:10 +01:00
Laurenz aa8a5bf42f Documentation fixes 2023-02-26 23:07:50 +01:00
Laurenz 7597b99789 New default style 2023-02-25 20:04:30 +01:00