[LyX/master] avoid adding redundant preamble to double column hebrew documents (#12919)

Udi-Fogiel udifoglle at gmail.com
Mon Jun 3 18:06:17 UTC 2024


commit 51453c61d68cc238537be1be2bca48a64845125f
Author: Udi-Fogiel <udifoglle at gmail.com>
Date:   Mon Jun 3 21:06:10 2024 +0300

    avoid adding redundant preamble to double column hebrew documents (#12919)
---
 src/BufferParams.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/BufferParams.cpp b/src/BufferParams.cpp
index 1740e8c764..93e2b47ea7 100644
--- a/src/BufferParams.cpp
+++ b/src/BufferParams.cpp
@@ -1594,7 +1594,8 @@ void BufferParams::validate(LaTeXFeatures & features) const
 	features.require(documentClass().required());
 
 	if (columns > 1 && language->rightToLeft()
-	    && !features.runparams().isFullUnicode())
+	    && !features.runparams().isFullUnicode()
+	    && language->babel() != "hebrew")
 		features.require("rtloutputdblcol");
 
 	if (output_changes) {


More information about the lyx-cvs mailing list