Generate TODO from LaTeX files
Project description
latex-todo-gen
TODOs and FIXMEs from your LaTeX project.
Usage
usage: latex-todo-gen [-h] [--directories DIRECTORIES] [--files FILES]
[--keywords KEYWORDS] [--outfile OUTFILE]
[--description DESCRIPTION] [--footer FOOTER]
Extract TODOs from TeX files.
optional arguments:
-h, --help show this help message and exit
--directories DIRECTORIES, -d DIRECTORIES
comma separated list of directories
--files FILES, -f FILES
comma separated list of files
--keywords KEYWORDS, -k KEYWORDS
comma separated list of keywords
--outfile OUTFILE, -o OUTFILE
output file
--description DESCRIPTION
set output file description
--footer FOOTER set output file footer
For more information, see https://gitlab.com/matyashorky/latex-todo-gen.
Examples
# Use default settings
./latex_todo_gen.py
# Set keywords
./latex_todo_gen.py -k "REVIEW,FIXME,TODO,NOTE"
# Set description and output file
./latex_todo_gen.py --description "This file is generated on every commit." -o "WIP.md"
# Set sources
./latex_todo_gen.py -d "src,settings" -f "main.tex"
To use arguments in pre-commit, use args
parameter:
- repo: https://gitlab.com/matyashorky/latex-todo-gen
rev: 'v0.4'
hooks:
- id: latex-todo-gen
args: [-k "REVIEW,FIXME,TODO,NOTE", -d "src,settings"]
Contributing
PRs are welcome.
I'm currently looking for:
pre-commit
: I haven't been able to make it work, it seemed not to be able to locate the python script.
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
latex-todo-gen-0.1.0.tar.gz
(2.9 kB
view hashes)
Built Distribution
Close
Hashes for latex_todo_gen-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31b965f38a2ea15ac7ae3057bb2a808af95dcb71031758ac920d799c47566510 |
|
MD5 | 8c75fb01e28222db7504e7cde3ce28b8 |
|
BLAKE2b-256 | f025a6edef7dfd005523a78643132bb5a867615d8d0cbd13c0902565453d200f |