  Generalizing the Yang-Mills gauge theory, we provide the BV quantization of a
field model with a generic almost-regular quadratic Lagrangian by use of the
fact that the configuration space of such a field model is split into the
gauge-invariant and gauge-fixing parts.
