[LyX/master] gbrief-2 loads babel internally. So don't load it ourselves.
Juergen Spitzmueller
spitz at lyx.org
Sat Apr 13 05:34:42 UTC 2024
commit c3c96a446b32ef77927b5e06436c2668d95dfd6d
Author: Juergen Spitzmueller <spitz at lyx.org>
Date: Sat Apr 13 07:32:30 2024 +0200
gbrief-2 loads babel internally. So don't load it ourselves.
This makes the class fully functional with non-TeX fonts (it uses
\babelfont for the purpose). Before, docs were compiling but the
output was wrong.
---
lib/layouts/g-brief2.layout | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lib/layouts/g-brief2.layout b/lib/layouts/g-brief2.layout
index ac0b8deb77..b57bbdb249 100644
--- a/lib/layouts/g-brief2.layout
+++ b/lib/layouts/g-brief2.layout
@@ -17,6 +17,9 @@ Sides 1
PageStyle Empty
DefaultStyle Standard
+# Babel is loaded internally
+Provides babel 1
+
# This is just to show how to declare the default font.
# The defaults are exactly those shown here.
DefaultFont
More information about the lyx-cvs
mailing list