I have no experience with how this is supposed to work, but I would like
to confirm that this behavior is expected:

1. In Tools > Preferences > Language Settings, set "Cursor movement" to
"Logical" (by the way, a tooltip here might be useful).
2. Open the attached file.
3. In Arabic, when I press <Right>, the cursor moves right. In English
(the text "ddddddsss"), when I press <Right>, the cursor moves left.

The behavior in (3) is the opposite of what I expected. I expected
<Right> to be interpretted as "forward" and thus move left in Arabic,
and right in English.

Which part of the above logic did I get wrong?

Scott
#LyX 2.2 created this file. For more info see http://www.lyx.org/
\lyxformat 495
\begin_document
\begin_header
\origin unavailable
\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

Reply via email to