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
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
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
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
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
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
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
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