A linter to modify LaTeX files.
Project description
dester-linter
Description
A linter for LaTeX files.
How to install
pip install dester
Requirements
python 3.7 or later
How to use
dester-linter <filename>
Arguments:
<filename> - path to the file you want to execute the linter on.
Excepted file extenstions are .tex, .bib, .tikz.
Options:
- --comment=int - passes how many spaces should be inserted after a comment sign;
- --newline=bool - if False is passed the new line will not be inserted after a sentence;
- --indent=int - how many spaces should be inserted at the beginning of the line within a block;
- --blank_lines=int - how many blank lines should be inserted before section/chapter etc;
- --overwrite=bool - to overwrite the input file.
Default values:
- --comment=1 - one space is inserted after a comment sign;
- --newline=True - a newline is inserted after a sentence;
- --indent=4 - four spaces are inserted at the beginning of a line within a begin{item}\end{item} block;
- --blank_lines=1 - one blank line is inserted before section\subsection\subsubsection\chapter\paragraph\subparagraph;
- --overwrite=False - a new output file is created in the same folder.
Licence
MIT License
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
dester-0.3.tar.gz
(5.8 kB
view details)
Built Distribution
dester-0.3-py3-none-any.whl
(4.3 kB
view details)
File details
Details for the file dester-0.3.tar.gz
.
File metadata
- Download URL: dester-0.3.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 757cb65d5b436771a39c8dd5a549277f6106b7ce37f01e50ae19f466d78e7d4a |
|
MD5 | b9673becfa12191e0b293825a75d87d0 |
|
BLAKE2b-256 | 6400b74a6cf3d07921e11244ecb585961e666bff0baf0e3440edcd201d1bcccb |
File details
Details for the file dester-0.3-py3-none-any.whl
.
File metadata
- Download URL: dester-0.3-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4bf7b546159116d295c5a264d2f6d9732fb7fc98f02b5e9563db743b8a561eba |
|
MD5 | b40a143f1bf115ea4178075e2b8dd286 |
|
BLAKE2b-256 | 2416b0f8e7bfeb65d9360e8398e7a0ea7747f11e9cdc0a0c167175497ed23765 |