Pre-commit git hook for LaTeX package developers
22.97 KB
built 2026-10-18 01:52:12 GMT
Description
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.
Dependencies
9 totalRequires6
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(FileDigests) <= 4.6.0-1
- rpmlib(PayloadFilesHavePrefix) <= 4.0-1
- rpmlib(PayloadIsZstd) <= 5.4.18-1
- texlive-base
- texlive-kpathsea
Provides2
- texlive-hook-pre-commit-pkg = 12:svn76790-10.fc45
- texlive-hook-pre-commit-pkg-doc = 12:svn76790-10.fc45
Obsoletes1
- texlive-hook-pre-commit-pkg-doc <= 11:svn76790
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
5
Files 1–5 of 5
Component of
buildroots that installed this RPMNo Buildroots
