]> git.lyx.org Git - features.git/commitdiff
Omit character activation with hanging package
authorJuergen Spitzmueller <spitz@lyx.org>
Tue, 5 Dec 2023 16:07:10 +0000 (17:07 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Tue, 5 Dec 2023 16:07:10 +0000 (17:07 +0100)
We do not use this feature anyway, and it breaks with other packages/
languages that activate characters

lib/layouts/hanging.module

index 55c1a2e2d44660f4677e067e7818cb3eaaa55b4d..c1bb25885b3e5bf99fff05c3ad85d9cd0de75a2c 100644 (file)
@@ -25,6 +25,17 @@ Style Hanging
   Preamble
     \newlength{\lyxhang}
     \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}
       \newenvironment{hangparagraphs}
         {%