Re: my physics book Gpl lyx

2016-10-17 Thread Guillaume Munch

Le 15/10/2016 à 16:35, Uwe Stöhr a écrit :

Am 11.10.2016 um 16:05 schrieb edu Gpl:


this my physics book pdf and source code for free (gpl):
https://sourceforge.net/projects/ohodquizgame/files/Books/physics.pdf/download



Hello edu,

congratulations! Excellent work and a very important one. Education is
so important!


Yes, congratulations!



Especially in Arabic language there are not many science/education books
(except of religious books of course). But religion is not building
bridges, repairing refrigerators etc., people do and therefore need
knowledge how to do this.



Uwe, out of curiosity, how did you learn about the Arab-speaking
countries? You seem to know so much more than I do.




Re: my physics book Gpl lyx

2016-10-15 Thread Uwe Stöhr

Am 11.10.2016 um 16:17 schrieb Jean-Marc Lasgouttes:


Are there particular bugs that you
encountered w.r.t. Arabic support?


Edu sent a file showing 3 bugs. I reported them now:
http://www.lyx.org/trac/ticket/10434
http://www.lyx.org/trac/ticket/10435
http://www.lyx.org/trac/ticket/10436

regards Uwe


Re: my physics book Gpl lyx

2016-10-15 Thread Uwe Stöhr

Am 11.10.2016 um 16:05 schrieb edu Gpl:


this my physics book pdf and source code for free (gpl):
https://sourceforge.net/projects/ohodquizgame/files/Books/physics.pdf/download


Hello edu,

congratulations! Excellent work and a very important one. Education is 
so important!


Especially in Arabic language there are not many science/education books 
(except of religious books of course). But religion is not building 
bridges, repairing refrigerators etc., people do and therefore need 
knowledge how to do this.


best regards
Uwe


Re: my physics book Gpl lyx

2016-10-11 Thread edu Gpl
thank you very mach.

best regards


2016-10-11 19:55 GMT+03:00 Steve Litt :

> On Tue, 11 Oct 2016 17:05:36 +0300
> edu Gpl  wrote:
>
> > 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
> >
> > best regards
>
> Very nice! I like the breakouts and the graphical sidenotes.
> Congratulations on a job well done.
>
> SteveT
>
> Steve Litt
> September 2016 featured book: Twenty Eight Tales of Troubleshooting
> http://www.troubleshooters.com/28
>
>
>


Re: my physics book Gpl lyx

2016-10-11 Thread edu Gpl
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 :

> 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
>
>


Re: my physics book Gpl lyx

2016-10-11 Thread Steve Litt
On Tue, 11 Oct 2016 17:05:36 +0300
edu Gpl  wrote:

> 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
> 
> best regards

Very nice! I like the breakouts and the graphical sidenotes.
Congratulations on a job well done.

SteveT

Steve Litt 
September 2016 featured book: Twenty Eight Tales of Troubleshooting
http://www.troubleshooters.com/28




Re: my physics book Gpl lyx

2016-10-11 Thread Jean-Marc Lasgouttes

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