Omit character activation with hanging package

We do not use this feature anyway, and it breaks with other packages/
languages that activate characters
This commit is contained in:
Juergen Spitzmueller 2023-12-05 17:07:10 +01:00
parent 7579662f39
commit ddc5fed0ad

View File

@ -25,6 +25,17 @@ Style Hanging
Preamble Preamble
\newlength{\lyxhang} \newlength{\lyxhang}
\IfFileExists{hanging.sty}{ \IfFileExists{hanging.sty}{
% Disable all character activation, as this interferes
% with other packages and some languages
\PassOptionsToPackage{hanging}{%
notcomma,
notperiod,
notquote,
notquery,
notexcl,
notcolon,
notscolon
}
\usepackage{hanging} \usepackage{hanging}
\newenvironment{hangparagraphs} \newenvironment{hangparagraphs}
{% {%