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 hashes)
Built Distribution
dester-0.3-py3-none-any.whl
(4.3 kB
view hashes)