[LyX/master] Omit character activation with hanging package
Kornel Benko
kornel at lyx.org
Tue Dec 5 17:08:41 UTC 2023
Am Tue, 5 Dec 2023 15:43:59 +0100 (CET)
schrieb Juergen Spitzmueller <spitz at lyx.org>:
> 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}
> {%
Sorry, I really don't know how I could tell it is working with \PassOptionsToPackage.
Rechecking again and again. The only working version now is
\usepackage[notcomma,notperiod,notquote,notquery,notexcl,notcolon,notscolon]{hanging}
Sorry Jürgen to have mislead you.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20231205/273c15ed/attachment.asc>
More information about the lyx-devel
mailing list