Thank you there are 2 bugs: 1- lyx not support "indexs" and "nomencalure" in arabic language, so i added this code in preamble:
\AtBeginDocument{\setdefaultlanguage[numerals=maghrib]{arabic}} \renewcommand{\nomname}{المصطلحات}% 2- small bug with the title of chapter when i added it in tikz with this code: %%%%%%%%%%%%%%%%%%%%%%% %\usepackage{tikz} %\usepackage{kpfonts} \usepackage[explicit]{titlesec} %\AtBeginEnvironment{ }{\selectlanguage{english}} \AtBeginEnvironment{ }{\selectlanguage{}} \tikzset{font=\selectlanguage{arabic}} \newcommand*\chapterlabel{} \titleformat{\chapter} {\gdef\chapterlabel{} % \normalfont\sffamily \Huge %\bfseries\scshape } {\gdef\chapterlabel{\thechapter\ }}{0pt} {\begin{tikzpicture}[remember picture,overlay] \node[yshift=-3cm] at (current page.north west) {\hspace{-0.4375cm}\begin{tikzpicture}[remember picture, overlay] \draw[fill=blue!30 ] (0,0) rectangle (\paperwidth,3cm); \node[anchor=east,xshift=.9\paperwidth,rectangle, rounded corners=20pt,inner sep=11pt, fill=blue!50] {\hspace{-0.0cm}\color{white}\chapterlabel}; \node[anchor=east,xshift=0.82\paperwidth,rectangle, rounded corners=20pt,inner sep=11pt, fill=blue!50] {\hspace{-0.0cm}\color{white}#1}; \end{tikzpicture} }; \end{tikzpicture} } \titlespacing*{\chapter}{0pt}{60pt}{-60pt} %%%%%%%%%%%%%%%%%%%%%%%% best regards 2016-10-11 17:17 GMT+03:00 Jean-Marc Lasgouttes <lasgout...@lyx.org>: > Le 11/10/2016 à 16:05, edu Gpl a écrit : > >> Dear mario, lyx users >> >> this my physics book pdf and source code for free (gpl): >> - by lyx 2.2.1 >> - with image svg. >> - local layout for law and theor. >> >> pdf >> https://sourceforge.net/projects/ohodquizgame/files/Books/ >> physics.pdf/download >> >> source code >> https://sourceforge.net/projects/ohodquizgame/files/Books/ >> physics2.2.1.zip/download >> > > Thanks a lot for sharing this. Are there particular bugs that you > encountered w.r.t. Arabic support? > > JMarc > >