commit 51453c61d68cc238537be1be2bca48a64845125f Author: Udi-Fogiel <udifog...@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) { -- lyx-cvs mailing list lyx-cvs@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-cvs