Fedora Packages

texlive-hook-pre-commit-pkg Subpackage of texlive-collection-binextra

Pre-commit git hook for LaTeX package developers

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.

Releases Overview

Release Stable Testing
Fedora Rawhide svn76790-4.fc44 -
File a new bug report »
Package Info
Related Packages

You can contact the maintainers of this package via email at texlive-collection-binextra dash maintainers at fedoraproject dot org.



Sources on Pagure