pretext 2.34.1.dev20260102064540__py3-none-any.whl → 2.35.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pretext/__init__.py +1 -1
- pretext/core/pretext.py +10 -0
- pretext/resources/core.zip +0 -0
- pretext/resources/pelican.zip +0 -0
- pretext/resources/resource_hash_table.json +8 -8
- pretext/resources/rs_cache.zip +0 -0
- pretext/resources/templates.zip +0 -0
- {pretext-2.34.1.dev20260102064540.dist-info → pretext-2.35.0.dist-info}/METADATA +2 -2
- {pretext-2.34.1.dev20260102064540.dist-info → pretext-2.35.0.dist-info}/RECORD +12 -12
- {pretext-2.34.1.dev20260102064540.dist-info → pretext-2.35.0.dist-info}/LICENSE +0 -0
- {pretext-2.34.1.dev20260102064540.dist-info → pretext-2.35.0.dist-info}/WHEEL +0 -0
- {pretext-2.34.1.dev20260102064540.dist-info → pretext-2.35.0.dist-info}/entry_points.txt +0 -0
pretext/__init__.py
CHANGED
|
@@ -19,7 +19,7 @@ from single_version import get_version
|
|
|
19
19
|
VERSION = get_version("pretext", Path(__file__).parent.parent)
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
CORE_COMMIT =
|
|
22
|
+
CORE_COMMIT = "d95a31b8ed95f8152b8fe66ddf8754f62ad65e24"
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
def activate() -> None:
|
pretext/core/pretext.py
CHANGED
|
@@ -4830,8 +4830,18 @@ def revealjs(
|
|
|
4830
4830
|
copy_managed_directories(tmp_dir, external_abs=external_abs, generated_abs=generated_abs)
|
|
4831
4831
|
|
|
4832
4832
|
# place JS in scratch directory
|
|
4833
|
+
# TODO: audit what JS is really needed/used
|
|
4833
4834
|
copy_html_js(tmp_dir)
|
|
4834
4835
|
|
|
4836
|
+
# copy CSS
|
|
4837
|
+
css_src = os.path.join(get_ptx_path(), "css", "dist", "pretext-reveal.css")
|
|
4838
|
+
css_dest = os.path.join(tmp_dir, "_static", "pretext", "css", "pretext-reveal.css")
|
|
4839
|
+
with open(css_src, 'r') as theme_file:
|
|
4840
|
+
filedata = theme_file.read()
|
|
4841
|
+
os.makedirs(os.path.dirname(css_dest), exist_ok=True)
|
|
4842
|
+
with open(css_dest, 'w+') as file:
|
|
4843
|
+
file.write(filedata)
|
|
4844
|
+
|
|
4835
4845
|
# Write output into temporary directory
|
|
4836
4846
|
log.info("converting {} to HTML in {}".format(xml, tmp_dir))
|
|
4837
4847
|
derivedname = get_output_filename(xml, out_file, dest_dir, ".html")
|
pretext/resources/core.zip
CHANGED
|
Binary file
|
pretext/resources/pelican.zip
CHANGED
|
Binary file
|
|
@@ -532,13 +532,13 @@
|
|
|
532
532
|
"pretext-deploy.yml": "305e95b155c5e1156c4ad1fa8d0d2d9c817725551195c81e9e9739b834289297",
|
|
533
533
|
"installPandoc.sh": "9f52dc634b3cbf518bdd8fe6ec7b3e432267fbdacc8f63d04679b6d915121c61"
|
|
534
534
|
},
|
|
535
|
-
"2.
|
|
536
|
-
"project.ptx": "
|
|
537
|
-
"codechat_config.yaml": "
|
|
538
|
-
".gitignore": "
|
|
539
|
-
"devcontainer.json": "
|
|
540
|
-
"pretext-cli.yml": "
|
|
541
|
-
"pretext-deploy.yml": "
|
|
542
|
-
"installPandoc.sh": "
|
|
535
|
+
"2.35.0": {
|
|
536
|
+
"project.ptx": "74ed29bc5a543c8c70210b379f877699b73c99ed3f1227b742019aa7a4282120",
|
|
537
|
+
"codechat_config.yaml": "ddfc52cd77ee576ab66e5ad45aab700d400ee1cd1e06da8c37735d9a0b1250ab",
|
|
538
|
+
".gitignore": "836a25b5059af7b750e1259474df296267f78ccc8fb59cc426fbab294b5dcb9a",
|
|
539
|
+
"devcontainer.json": "97393a646d1d7e840fb3dfd2ffbfa4ba24b9f171aec2ec06f9cb3e66a4705f6a",
|
|
540
|
+
"pretext-cli.yml": "f1ae4c4b6657f653b64ed660bf5ac2d253d6200c37685743606fba7469a3c4dd",
|
|
541
|
+
"pretext-deploy.yml": "9bdb2fdd76dbe3b90e7f4041090cd777d8dcffd70fefbdecc2a062c85d1ab6fd",
|
|
542
|
+
"installPandoc.sh": "20f20db174c4b862671b940889427d4715cca761abde254ef25a1200d7854859"
|
|
543
543
|
}
|
|
544
544
|
}
|
pretext/resources/rs_cache.zip
CHANGED
|
Binary file
|
pretext/resources/templates.zip
CHANGED
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pretext
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.35.0
|
|
4
4
|
Summary: A package to author, build, and deploy PreTeXt projects.
|
|
5
5
|
Home-page: https://pretextbook.org
|
|
6
6
|
License: GPL-3.0-or-later
|
|
@@ -29,7 +29,7 @@ Requires-Dist: pdfCropMargins (>=1.0.9,<1.1.0)
|
|
|
29
29
|
Requires-Dist: pelican[markdown] (>=4.10,<5.0) ; extra == "homepage" or extra == "all"
|
|
30
30
|
Requires-Dist: plastex (>=3,<4)
|
|
31
31
|
Requires-Dist: playwright (>=1,<2)
|
|
32
|
-
Requires-Dist: prefig[text] (>=0.
|
|
32
|
+
Requires-Dist: prefig[text] (>=0.5.0,<0.6.0) ; extra == "prefigure" or extra == "all"
|
|
33
33
|
Requires-Dist: psutil (>=7,<8)
|
|
34
34
|
Requires-Dist: pyMuPDF (>=1.24,<2.0)
|
|
35
35
|
Requires-Dist: pydantic-xml (==2.14.3)
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
pretext/__init__.py,sha256=
|
|
1
|
+
pretext/__init__.py,sha256=PIcSts_9UhtoiV13unYQvCBOyV7hZ7mIOIvd6pEqzvc,1453
|
|
2
2
|
pretext/__main__.py,sha256=MSmt_5Xg84uHqzTN38JwgseJK8rsJn_11A8WD99VtEo,61
|
|
3
3
|
pretext/cli.py,sha256=sOfRTBReFX0-jp4igdkNYifhgy0arQxIysDyasq2lfA,40537
|
|
4
4
|
pretext/codechat.py,sha256=7FCz_TLf8yVSG5doGRvJ0rrpShZEejtlZ3ZyaWJrm9I,6305
|
|
5
5
|
pretext/constants.py,sha256=kn7-V-y9vp5dApaSjLgJCyB5H4yICVp9MGD7tgYZRIo,6821
|
|
6
6
|
pretext/core/__init__.py,sha256=CmOXWPslsSiVzldc2UXNRug-xL8Ax601zGrp_3VhWxQ,739
|
|
7
7
|
pretext/core/braille_format.py,sha256=ra1zVsyoUSUuGWCtY0VGF0FuEfHQ34oXtJvgKiiImdg,36377
|
|
8
|
-
pretext/core/pretext.py,sha256=
|
|
8
|
+
pretext/core/pretext.py,sha256=loihMTT2GOViwilHaczRFNhQW1ydAUr4z5VVgRe9Ql0,273675
|
|
9
9
|
pretext/logger.py,sha256=b58izYIs9xEmVOXd3wvKpQ-AH1mRsGFG2FDjJM_MyOE,1456
|
|
10
10
|
pretext/plastex/Alignment.jinja2s,sha256=AfFPeWxhTo6H6MDWogYTGylWfZed4BX5BgkWLCObBqI,409
|
|
11
11
|
pretext/plastex/Arrays.jinja2s,sha256=MHWFbO7CoYzIRWwg5QH38dhrU20N5x7BxEnzuIQ0rfU,294
|
|
@@ -50,16 +50,16 @@ pretext/project/__init__.py,sha256=Q4Met0dWYgoIA-hma8xiJipbQU48zEeubQJ8-joXOqk,8
|
|
|
50
50
|
pretext/project/generate.py,sha256=Qn79ap89dSHKYhFUw494nkMVCN4qJUQjZBnJOhAbyqQ,9158
|
|
51
51
|
pretext/project/xml.py,sha256=wtaXS2isRG6QlfyfNNccAbFt6Izwm7yxAledwd1Q6AA,3456
|
|
52
52
|
pretext/resources/__init__.py,sha256=1qPohIxCtL1_sUtlAoFrWzhl31l-oFj4RrBBsb3RzQQ,4081
|
|
53
|
-
pretext/resources/core.zip,sha256=
|
|
54
|
-
pretext/resources/pelican.zip,sha256=
|
|
55
|
-
pretext/resources/resource_hash_table.json,sha256=
|
|
56
|
-
pretext/resources/rs_cache.zip,sha256=
|
|
57
|
-
pretext/resources/templates.zip,sha256=
|
|
53
|
+
pretext/resources/core.zip,sha256=Yd7d4MiEeU6qjUdk65bzdumt0VhR0HaApDcScLZN4UM,1759846
|
|
54
|
+
pretext/resources/pelican.zip,sha256=jNqqoCqUY__RiOpGQqm7TlFMfC-VaWtqp_AiUwINqCc,15974
|
|
55
|
+
pretext/resources/resource_hash_table.json,sha256=aq2g4ydhOJ6MHiFMyBQSmw3cCpt-gaxAHgLaZwBKMlg,40363
|
|
56
|
+
pretext/resources/rs_cache.zip,sha256=LsJn0OdIGAf37w7ZQ2PB653J5FCcxgxD34cL82J-xZk,14923645
|
|
57
|
+
pretext/resources/templates.zip,sha256=2KmJOckStOLfJzjWXLBpXcDW_RVtwfGQBIYsEm0WHJ4,375018
|
|
58
58
|
pretext/server.py,sha256=B90NC6kevNeJNbwtUh3iVxF_BH5tiA4522XsjONsGSc,10800
|
|
59
59
|
pretext/types.py,sha256=Eyyu6xmmCYnKBfvzBZzZMWZMa3yNjZ8NnGmlFGj9p5I,168
|
|
60
60
|
pretext/utils.py,sha256=xAOsqcJo3Z6v3UlRbZeQN9nFWTNdhBpfUZ_BwqJFpio,45029
|
|
61
|
-
pretext-2.
|
|
62
|
-
pretext-2.
|
|
63
|
-
pretext-2.
|
|
64
|
-
pretext-2.
|
|
65
|
-
pretext-2.
|
|
61
|
+
pretext-2.35.0.dist-info/LICENSE,sha256=ixuiBLtpoK3iv89l7ylKkg9rs2GzF9ukPH7ynZYzK5s,35148
|
|
62
|
+
pretext-2.35.0.dist-info/METADATA,sha256=79yKtxzTsW_SPQt1CIyVpu1GMIGHxUIHUaOaNF2bKCo,11474
|
|
63
|
+
pretext-2.35.0.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
|
64
|
+
pretext-2.35.0.dist-info/entry_points.txt,sha256=L-rrQFUIWZhdOdu-XBQ9iuFK3X1cMVOtC-0I7T87II8,44
|
|
65
|
+
pretext-2.35.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|