retex-data 2026.0.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.
retex_data/__init__.py ADDED
@@ -0,0 +1,36 @@
1
+ """TeX Live packages for retex without a TeX Live installation.
2
+
3
+ The package holds the archive of retex's bundle ``core``, a set of TeX
4
+ Live packages of one year with their licences. The ``retex`` module
5
+ passes :func:`archive` to its builds when this package is installed
6
+ (``pip install retex[bundled]``); retex extracts the archive once into
7
+ its cache.
8
+ """
9
+
10
+ from pathlib import Path
11
+
12
+ NAME = "core"
13
+ """The bundle's name."""
14
+
15
+ YEAR = 2026
16
+ """Its TeX Live year."""
17
+
18
+ FILE_NAME = f"retex-{NAME}-{YEAR}.tar.xz"
19
+ """The archive's file name."""
20
+
21
+
22
+ def archive() -> str:
23
+ """The path of the archive ``retex-core-YEAR.tar.xz``.
24
+
25
+ Raises ``FileNotFoundError`` in a package made without it.
26
+ """
27
+ path = Path(__file__).with_name(FILE_NAME)
28
+ if not path.is_file():
29
+ raise FileNotFoundError(f"{path}: retex-data was packaged without its archive")
30
+ return str(path)
31
+
32
+
33
+ def sha256() -> str:
34
+ """The SHA-256 checksum of the archive, from its ``.sha256`` file."""
35
+ text = Path(archive() + ".sha256").read_text(encoding="ascii")
36
+ return text.split()[0]
Binary file
@@ -0,0 +1 @@
1
+ 66edb1bed6ae8ee77756ed278789b31f8e2b7df4284eed363314dbe564321f53 retex-core-2026.tar.xz
@@ -0,0 +1,52 @@
1
+ Metadata-Version: 2.4
2
+ Name: retex-data
3
+ Version: 2026.0.0
4
+ Summary: TeX Live packages for retex without a TeX Live installation: the archive of its bundle core
5
+ License: # Licensing of retex-data
6
+
7
+ The crate's own files (`build.rs`, `src/`, `Cargo.toml`, the list
8
+ `core.txt`, its documents in `core/` and this text) are under CC0-1.0,
9
+ as retex.
10
+
11
+ The archive `retex-core-YEAR.tar.xz` holds unmodified files of TeX Live
12
+ packages. Each keeps the licence its package has in TeX Live:
13
+
14
+ - the LaTeX Project Public License (1.3c, 1.3 and 1.2) for most macro
15
+ packages;
16
+ - the GNU General Public License (version 2 for luaotfload and lualibs,
17
+ version 3 for preview, either for pdftex, mptopdf and fontname), whose
18
+ packages' source containers are in the archive's `sources/`;
19
+ - the GNU Lesser General Public License 2.1 (kpathsea's `texmf.cnf`);
20
+ - the SIL Open Font License 1.1 (the AMS fonts);
21
+ - the GUST Font License (Latin Modern);
22
+ - Knuth's terms (Computer Modern, plain TeX's files, BibTeX's styles);
23
+ - public domain (graphics-cfg, tex-ini-files), and the terms in the
24
+ file headers of hyphen-base, hyphen-english and latexconfig, which
25
+ have no catalogue entry;
26
+ - Unicode's licence for the data of unicode-data.
27
+
28
+ The archive's `MANIFEST.toml` gives each package's licence identifiers
29
+ and the licence files that apply to it, which are in its `LICENSES/`
30
+ directory. Of `lm` (Latin Modern), the archive leaves out the Type 1
31
+ fonts and the TFM and AFM metrics; the complete package is in TeX Live's
32
+ repository, which the manifest names.
33
+
34
+ Project-URL: Homepage, https://gitlab.com/severin-lemaignan/retex
35
+ Project-URL: Repository, https://gitlab.com/severin-lemaignan/retex
36
+ Keywords: latex,tex,texlive,retex
37
+ Classifier: Programming Language :: Python :: 3
38
+ Classifier: Topic :: Text Processing :: Markup :: LaTeX
39
+ Requires-Python: >=3.9
40
+ Description-Content-Type: text/markdown
41
+
42
+ # retex-data
43
+
44
+ TeX Live packages for [retex](https://gitlab.com/severin-lemaignan/retex)
45
+ without a TeX Live installation: the archive `retex-core-YEAR.tar.xz` of
46
+ retex's bundle `core`. Installed with `pip install retex[bundled]`, it
47
+ is passed to retex's builds, which extract it once into retex's cache
48
+ and use it when no TeX Live of its year is installed.
49
+
50
+ The version is the TeX Live year: 2026.0.0, 2026.1.0 for a refresh
51
+ within the year. The archive's `MANIFEST.toml` lists its packages and
52
+ their licences; see LICENSING.md.
@@ -0,0 +1,7 @@
1
+ retex_data/__init__.py,sha256=MZVlAm2h1Hlj6t7pO7LR3oOee5v8wN9TWh6mY4XriZo,1065
2
+ retex_data/retex-core-2026.tar.xz,sha256=Zu2xvtaujud3Vu0nh4mzH44rffQoTu02MxTb5WQyH1M,9667932
3
+ retex_data/retex-core-2026.tar.xz.sha256,sha256=JhwX-udadQKedPpBjIKK1-T_fJj2_b_vFsr2a-_kZJE,89
4
+ retex_data-2026.0.0.dist-info/METADATA,sha256=2Ej1hZKYc46l6rUv5AluHkuPLhJFAwDZQY-gsxSnRco,2621
5
+ retex_data-2026.0.0.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
6
+ retex_data-2026.0.0.dist-info/top_level.txt,sha256=kuo31j9YQOyHf_DV8XYhXwnbIom89I5FptFzs04oBEY,11
7
+ retex_data-2026.0.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (84.2.1)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1 @@
1
+ retex_data