hook-pre-commit-pkg – Pre-commit git hook for LaTeX package developpers
This package provides a pre-commit git hook to check basic LaTeX syntax for the use of package developers.
It is installed by copying it into the .git/.hooks file.
It then checks the following file types: .sty, .dtx, .bbx, .cbx, and .lbx.
List of performed checks:
- Each line must be terminated by a %, without a space before it. Empty lines are allowed, but not lines with nothing but spaces in them.
- \begin{macro} and \end{macro} must be paired.
- \begin{macrocode} and \end{macrocode} must be paired.
- \begin{macro} must have a second argument.
- One space must be printed between % and \begin{macro} or \end{macro}. % must be the first character in the line.
- Four spaces must be printed between % and \begin{macrocode} or \end{macrocode}.
- \cs argument must not start with a backslash.
Quellen | /support/hook-pre-commit-pkg |
Dokumentation | |
Repository | https://github.com/maieul/git-hooks |
Version | 1.1.2 |
Lizenzen | GNU General Public License, version 3 |
Copyright | 2014–2016 Maïeul Rouquette |
Betreuer | Maïeul Rouquette |
Enthalten in | TeX Live als hook-pre-commit-pkg |
Themen | Package devel |
Herunterladen des vollständigen Inhalts dieses Pakets in einem Zip-Archiv (3.4k).
Ankündigungen
- 2016-06-06 CTAN Update: hook-pre-commit-pkg
- 2016-05-22 CTAN update: hook-pre-commit-pkg
- 2015-02-23 New on CTAN: hook-pre-commit-pkg
Vorschläge
Vielleicht sind auch die folgenden Pakete von Interesse.
Bewertungskommentare