commit fa6fa1f66034f7b327cbbafff86d451e0786296b
Author: Scott Kostyshak <[email protected]>
Date: Tue Jun 17 22:56:36 2025 +0200
Fix Math manual compilation
Patch from Jürgen.
Amends e596ac1b
---
lib/doc/Math.lyx | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/lib/doc/Math.lyx b/lib/doc/Math.lyx
index df42d58e1d..7d017b897a 100644
--- a/lib/doc/Math.lyx
+++ b/lib/doc/Math.lyx
@@ -37,7 +37,11 @@
% cz/sk babel activates hyphen for split feature. They get pulled in via
insetinfo
% when UI is localized. That breaks with hyphen at \cmidrule[0.08em]{2-3}
within
% euro-symbol table in 13.3 if not handled as below.
-\AtBeginDocument{\shorthandoff{-}}
+\AtBeginDocument{%
+ \@ifpackageloaded{babel}{%
+ \ifbabelshorthand{-}{\shorthandoff{-}}{}%
+ }{}
+}
% don't load packages twice
% see first footnote in sec. 9.3
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs