There are other places with special casing for "hebrew" in the code, could you please have a look at this Mostafa?

BufferParam::writeLaTeX()  line 839:

        // language should be a parameter to \documentclass
        if (language->babel() == "hebrew"
            && default_language->babel() != "hebrew")
                // This seems necessary
                features.useLanguage(default_language);


Paragraph::startTeXParParams():

        case LYX_ALIGN_LEFT: {

        } case LYX_ALIGN_RIGHT: {


Paragraph::endTeXParParams()

        case LYX_ALIGN_LEFT: {

        } case LYX_ALIGN_RIGHT: {


Text::dispatch() in Text3.cpp:line 958

        case LFUN_QUOTE_INSERT: {
                Paragraph & par = cur.paragraph();
                pos_type pos = cur.pos();
                BufferParams const & bufparams = bv->buffer()->params();
                Layout_ptr const & style = par.layout();
                if (!style->pass_thru
&& par.getFontSettings(bufparams, pos).language()->lang() != "hebrew") {

Reply via email to