A package for authoring and building PreTeXt documents.
Project description
PreTeXt-CLI
A package for authoring and building PreTeXt documents.
Documentation for end-users is available at https://pretextbook.github.io/pretext-cli/.
Documentation for developers is available below.
Development
From the "Clone or Download" button on GitHub, copy the REPO_URL into the below command to clone the project.
git clone [REPO_URL]
cd pretext.py
Install pipenv to manage your environment:
python -m pip install --user pipenv # or python3 if necessary
Then all dependencies can be installed as a one-liner:
pipenv install --three
Then, use pipenv run [CMD] to run individual scripts, e.g.:
$ pipenv run pretext new "My Great Book"
Generating new PreTeXt project in `my-great-book`.
Or use pipenv shell to enter the virtual environment directly.
$ pipenv shell
Launching subshell in virtual environment…
$ pretext new "My Great Book"
Generating new PreTeXt project in `my-great-book`.
To add dependencies for the package, update setup.py. then run pipenv update.
To add dependencies for the development environment, use pipenv install [package].
Packaging
See https://packaging.python.org/tutorials/packaging-projects/.
python build.py
Versioning
See VERSIONING.md.
PreTeXt XSL
Right now, we're mirroring resources from
https://github.com/rbeezer/mathbook/ using the commit
found in pretext/static/CORE_COMMIT.
(TODO: pull/build these without mirroring)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pretextbook-0.1.tar.gz.
File metadata
- Download URL: pretextbook-0.1.tar.gz
- Upload date:
- Size: 516.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0bd655520b98dff88d58c8b97b71c499e4569eac095d01d879e6ffd668477bea
|
|
| MD5 |
69cdf48367797a3b93a98b8daf84c879
|
|
| BLAKE2b-256 |
27c6b331252e08313a515aeb35ab8a838776ff7d0e3f7d43f991a9c4b1e735e5
|
File details
Details for the file pretextbook-0.1-py3-none-any.whl.
File metadata
- Download URL: pretextbook-0.1-py3-none-any.whl
- Upload date:
- Size: 598.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f99e0e08c1e80caeb75cc399e36c45b4397f3fe6647cf9c793236bb931c4edb
|
|
| MD5 |
5067fc726c3a6e332f83753c4939802a
|
|
| BLAKE2b-256 |
935501ee81cf4a9b29206bce2d32c8a9dbfdcf0edaa565faafd2350c4ad93908
|