How to Install and Uninstall texlive-hook-pre-commit-pkg Package on openSuSE Tumbleweed

Last updated: November 08,2024

1. Install "texlive-hook-pre-commit-pkg" package

This guide let you learn how to install texlive-hook-pre-commit-pkg on openSuSE Tumbleweed

$ sudo zypper refresh $ sudo zypper install texlive-hook-pre-commit-pkg

2. Uninstall "texlive-hook-pre-commit-pkg" package

This is a short guide on how to uninstall texlive-hook-pre-commit-pkg on openSuSE Tumbleweed:

$ sudo zypper remove texlive-hook-pre-commit-pkg

3. Information about the texlive-hook-pre-commit-pkg package on openSuSE Tumbleweed

Information for package texlive-hook-pre-commit-pkg:
----------------------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : texlive-hook-pre-commit-pkg
Version : 2023.209.1.1.2svn41378-54.4
Arch : noarch
Vendor : openSUSE
Installed Size : 9.4 KiB
Installed : No
Status : not installed
Source package : texlive-specs-k-2023-54.4.src
Upstream URL : https://www.tug.org/texlive/
Summary : Pre-commit git hook for LaTeX package developpers
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.