639 Commits

Author SHA1 Message Date
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
183997d5fe Don't hide introspection metadata
Fixes #622
2023-05-22 16:45:23 +02:00
Laurenz
1321862cd5 Footnotes 2023-05-20 21:36:24 +02:00
Naim A
d61a839188
resolve #510: reverse quote direction in RTL languages (#1183) 2023-05-19 16:49:16 +02:00
sitandr
42c3a6fa72
Fixed symbol style reset in stretching (#1195) 2023-05-19 15:33:15 +02:00
Laurenz
d14d1e867f Fix figure detection 2023-05-17 12:55:25 +02:00
sitandr
4b17c3f5c6
Show rules for symbols (fixes #1130) (#1175) 2023-05-12 12:26:26 +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
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
Martin Haug
17cef8dcee
Add ICC profiles to images in PDF and update usvg, svg2pdf (#822) 2023-05-02 13:53:20 +02:00
chris-02
407d8a3ab2
Fix smartquotes in outline (#1047)
Fixes #1041.
2023-05-01 13:29:40 +02:00
Leedehai
ecd589a84f
Add a test checking equations can embed function-built pieces (#1033) 2023-04-29 20:51:29 +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
Alexander Seiler
c941baa7ee
Correct some typos (#987) 2023-04-27 11:26:43 +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
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
SekoiaTree
efad1e71fa
Add sum and product to arrays (#966) 2023-04-25 11:18:27 +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
Pg Biel
e9a0cf9741
Fix 0pt strokes (#923) 2023-04-23 14:38:12 +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
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
Laurenz
f8966f9e86 Fix realize in math 2023-04-19 11:06:52 +02:00
Laurenz
35302d2004 Handle SVG with text 2023-04-18 19:04:46 +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
Alex Saveau
e5f942172d
Add comment at end of line test (#783) 2023-04-13 21:22:34 +02:00
Alex Saveau
6d596da72b
Make math punctuation tests more complete (#782) 2023-04-13 21:03:00 +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
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