Templating Language for Knowledge and LaTeX
Project description
knowledge-pp
Preprocessor for the knowledge LaTeX package.
Status
This is a proof of concept, do not use it.
An example document can be found in examples/ along
with a Makefile to generate a document called main.pdf.
Wanted Features
- LSP support via https://github.com/openlawlibrary/pygls
- Strongly terminating
- Lexical scoping by default
- Contexts à la React (dynamic scoping)
- Hooks for
custom DSLlanguages, that are left un-interpreted - A math mode as a custom DSL
How to use
Given a valid document, you can simply run
kwpp my_document
To get the corresponding LaTeX output.
In practise, this is indentend to be used in a workflow using a Makefile, or the specific input triggers from latexmk.
Devel using virtualenv
Using virtualenv and the --editable option from pip3 allows for an easy
setup of a development environment that will match a future user install without
the hassle.
For bash and Zsh users
virtualenv -p python3 kw-devel
source ./kw-devel/bin/activate
pip3 install --editable .
For fish users
virtualenv -p python3 kw-devel
source ./kw-devel/bin/activate.fish
pip3 install --editable .
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 knowledge-pp-0.0.1.tar.gz.
File metadata
- Download URL: knowledge-pp-0.0.1.tar.gz
- Upload date:
- Size: 20.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.23.0 requests-toolbelt/0.9.1 urllib3/1.25.9 tqdm/4.54.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e13aeac6acf9feeab90b680d66d5d09838dbf2923b3ede32ab8df3b7af0c8191
|
|
| MD5 |
4ceee713a56580776885d3ae45172588
|
|
| BLAKE2b-256 |
f3bba0a2130845736d2f0b1c69149d315b30b7a5e200e082828e76126f243ded
|
File details
Details for the file knowledge_pp-0.0.1-py3-none-any.whl.
File metadata
- Download URL: knowledge_pp-0.0.1-py3-none-any.whl
- Upload date:
- Size: 23.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.23.0 requests-toolbelt/0.9.1 urllib3/1.25.9 tqdm/4.54.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
38aea906d175a4c1c90cf8cd2341627d41c8da5f5de61429dfa2d7eee93ea105
|
|
| MD5 |
b394a3322bf8c07f121d361540aa9c43
|
|
| BLAKE2b-256 |
57a0d65b59478f84fe5aed061394f0a5e68efe25ab4a14a21e39b6a2cb4977b3
|