pre-commit-latex-hooks
pre-commit-latex-hooks copied to clipboard
pre-commit hooks to improve LaTeX writing.
Hi @jonasbb, great work! I wrote myself a hook that check and replace single parentheses with double parentheses in bib files. Here are the related scripts: ```yaml - repo: local...
```text [ ]---[ ] % syntax the em-dash should be right up against the words. [ \n]---[ \n] % syntax the em-dash should be right up against the words. ^---[...
The [`refstyle`](https://ctan.org/pkg/refstyle?lang=en) package provides commands like `\eqlabel{pythagoras}` or `\seclabel{Introduction}` to define labels, and `\eqref{pythagoras}` or `\secref{Introduction}` to reference them, allowing for finer grained control over the display of references for...
Added to my `.pre-commit-config.yaml`: ``` - repo: https://github.com/jonasbb/pre-commit-latex-hooks rev: v1.4.0 hooks: - id: ensure-labels-for-sections args: [ # If present only check that there is a \label{} but not the value...