Mau TeX Visitor
This is a plugin for the Mau markup language. The plugin provides the conversion from Mau source to TeX.
You can install this plugin with
pip install mau-tex-visitor
and Mau will automatically be able to load it. To use the visitor you need to load it and to pass it to the class Mau when you instantiate it
from mau import Mau, load_visitors
from mau.message import LogMessageHandler
visitor_classes = load_visitors()
visitors = {i.format_code: i for i in visitor_classes.values()}
visitor_class = visitors["tex"]
message_handler = LogMessageHandler()
mau = Mau(message_handler)
result = mau.process(visitor_class, text, "source.mau")
The default extension for templates is .tex.
Release files for mau_tex_visitor 3.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mau_tex_visitor-3.0.0.tar.gz | 11.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mau_tex_visitor-3.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.2 kB
Release files / mau_tex_visitor-3.0.0.tar.gz
| Download URL | mau_tex_visitor-3.0.0.tar.gz |
|---|---|
| Size | 11.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0226edf2c4d468a33d9e518ecc1d010aa7d7cbcef2a1a32b0f0a019e06177647
|
|
BLAKE2b-256 checksum How to use checksums |
2a1c0dbe022481c8283d9916fe196a12d069fa7922b395d42b3bbd907b995e06
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.32.5
|
Release files / mau_tex_visitor-3.0.0-py3-none-any.whl
| Download URL | mau_tex_visitor-3.0.0-py3-none-any.whl |
|---|---|
| Size | 10.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eb915ea149cb2b3523566caa33a9863f2e289fefce7a6d79b7e24668c89a185c
|
|
BLAKE2b-256 checksum How to use checksums |
ed69d3758652c6d3e0ce59c20f7b4425d5871e2a4de337ca00ee632ee4e590da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.32.5
|