[LyX/master] Omit character activation with hanging package
Juergen Spitzmueller
spitz at lyx.org
Tue Dec 5 14:43:59 UTC 2023
commit ddc5fed0ad00a31d6a6df93c0def3e0da22d74eb
Author: Juergen Spitzmueller <spitz at lyx.org>
Date: Tue Dec 5 17:07:10 2023 +0100
Omit character activation with hanging package
We do not use this feature anyway, and it breaks with other packages/
languages that activate characters
---
lib/layouts/hanging.module | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/lib/layouts/hanging.module b/lib/layouts/hanging.module
index 55c1a2e..c1bb258 100644
--- a/lib/layouts/hanging.module
+++ b/lib/layouts/hanging.module
@@ -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}
{%
More information about the lyx-cvs
mailing list