On Sun, Jul 05, 2015 at 11:57:36AM -0700, Lior Silberman wrote: > Tested with LyX 2.1.3 (so with my own file, not the attachment) and > got the expected result. "Visual" cursor movement means left and > right arrow keys always move the cursor left and right. The "logical" > behaviour is as follows: > > 1. If the document is LtR and there is text is RtL then "right arrow" > means "move forward", "left" means "move back", and the cursor moves > in the arrow direction if in English text, but in the opposite way if > in Hebrew text.
Thank you Lior and Guy for the explanations. I think I'm starting to understand a bit more. However, when you say "document is LtR", I assume you mean that the language in document settings is a language that is RtL? If that is the case, then why when I go to the document settings and change the language from Arabic to English, nothing changes (note I still have "logical" cursor movement set). From what I understand from your above explanation, after the change, in Arabic "right arrow" means "move forward". But if I put the cursor at the beginning of the document (e.g. with ctrl + home), which is in Arabic, Left arrow moves forward and Right arrow does nothing. I attach the document in 2.1.x format now. Scott > 2. If the document is RtL and some text is LtR then "left" moves > forward, and "right" moves back, so the cursor moves in the arrow > direction in Hebrew text, but against arrow direction in English text.
#LyX 2.2 created this file. For more info see http://www.lyx.org/ \lyxformat 474 \begin_document \begin_header \textclass scrbook \begin_preamble \marginparsep=0.8 cm \marginparwidth=105pt %\reversemarginpar %\normalmarginpar \usepackage{sidenotes} \usepackage{blindtext} \usepackage{pst-optic,pst-text} \usepackage{capt-of} \AtBeginDocument{\setdefaultlanguage[numerals=maghrib]{arabic}} \renewcommand{\nomname}{المصطلحات}% \usepackage{varwidth} %\usepackage{bidi} %\usepackage{xltxtra} %\usepackage{tabularx} %\usepackage{fmultico} %\usepackage{etex} \usepackage{hyperref}%لتلوين الاشارات المرجعية وجعل الفهارس قابلة للنقر \hypersetup{ colorlinks=true, linkcolor=blue, citecolor=black, filecolor=black, urlcolor=black, } \usepackage{tikz} \usetikzlibrary{shadows} \usepackage{fancyhdr} \pagestyle{fancy} \renewcommand{\chaptermark}[1]% {\markboth{\textbf{\thechapter\ #1}}{}} \renewcommand{\sectionmark}[1]% {\markright{\textbf{\thesection\ #1}}} %\renewcommand{\headrulewidth}{0.4pt} %\renewcommand{\footrulewidth}{0pt} \fancyhf{} \fancyhead[LE,RO]{\rightmark} \fancyhead[LO,LE]{\leftmark} %chapter \fancyfoot[LE,RO]{\textbf\thepage} \end_preamble \use_default_options true \begin_modules multicol \end_modules \maintain_unincluded_children false \language arabic_arabi \language_package default \inputencoding auto \fontencoding global \font_roman Scheherazade \font_sans Scheherazade \font_typewriter Scheherazade \font_math auto \font_default_family default \use_non_tex_fonts true \font_sc false \font_osf false \font_sf_scale 100 \font_tt_scale 100 \graphics default \default_output_format default \output_sync 0 \bibtex_command default \index_command default \paperfontsize 12 \spacing single \use_hyperref true \pdf_bookmarks true \pdf_bookmarksnumbered true \pdf_bookmarksopen true \pdf_bookmarksopenlevel 4 \pdf_breaklinks false \pdf_pdfborder false \pdf_colorlinks false \pdf_backref false \pdf_pdfusetitle true \papersize default \use_geometry true \use_package amsmath 1 \use_package amssymb 1 \use_package cancel 1 \use_package esint 1 \use_package mathdots 1 \use_package mathtools 1 \use_package mhchem 1 \use_package stackrel 1 \use_package stmaryrd 1 \use_package undertilde 1 \cite_engine basic \cite_engine_type default \biblio_style plain \use_bibtopic false \use_indices false \paperorientation portrait \suppress_date true \justification true \use_refstyle 1 \boxbgcolor #ffffaf \branch branchtest \selected 1 \filename_suffix 0 \color #faf0e6 \end_branch \index Index \shortcut idx \color #008000 \end_index \leftmargin 6cm \topmargin 2cm \rightmargin 1.5cm \bottommargin 1.5cm \headheight 1cm \headsep 1cm \footskip 0.5cm \columnsep 1cm \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \paragraph_indentation 0.5cm \quotes_language french \papercolumns 1 \papersides 1 \paperpagestyle default \tracking_changes false \output_changes false \html_math_output 0 \html_css_as_file 0 \html_be_strict false \end_header \begin_body \begin_layout Chapter الجزء الاول \end_layout \begin_layout Chapter شرح برنامج ليك \end_layout \begin_layout Section إضافة المراجع الخاصة بالاستشهادات \end_layout \begin_layout Standard نقوم بإنشاء قاعدة بيانات للمراجع وتسمى bib ، ويمكن \lang american ddddddsss \lang arabic_arabi إنشاءها بعدة برامج اشهرها \end_layout \end_body \end_document