I did as you told me, but no output file is generated. There was a kind of error, but I didn't undrerstand what it is. I attached the running command prompt window.
Regarding the arabic text, yes it seems encrypted. I don't know, may be it is encoding issue. By the way, the same is applied on the arabic text in the simple test.tex file you wrote.
Regards
General ⇒ Languages Supported by Latex
Re: Languages Supported by Latex
- Attachments
-
- Test.JPG (64.24 KiB) Viewed 4394 times
NEW: TikZ book now 40% off at Amazon.com for a short time.

Languages Supported by Latex
You should replace "Scheherazade" font with an arabic font that you have installed on your system, or, better, you may download Scheherazade font from this link. Just extract it from .zip archive and put the font in your Fonts folder (C:\Windows\Fonts). After that, try compiling the document again.
As for cryptic arabic text, it may be encoding issue. If you have problems, try entering couple of arabic sentences in place of cryptic characters.
As for cryptic arabic text, it may be encoding issue. If you have problems, try entering couple of arabic sentences in place of cryptic characters.
Languages Supported by Latex
Sorry for the inconvenience, but I still get errors. Now the error related to the \documentclass:meho_r wrote:You should replace "Scheherazade" font with an arabic font that you have installed on your system, or, better, you may download Scheherazade font from this link. Just extract it from .zip archive and put the font in your Fonts folder (C:\Windows\Fonts). After that, try compiling the document again.
As for cryptic arabic text, it may be encoding issue. If you have problems, try entering couple of arabic sentences in place of cryptic characters.
- Attachments
-
- Test2.JPG (50.92 KiB) Viewed 4392 times
Re: Languages Supported by Latex
Ok, when I tried xelatex instead of xetex it works. But I have two problems then:
1- I just have a PDF file as the only output file. I mean, I also need a dvi an PS files.
2- When I write Arabic by using my keyboard, it appears some thing different, some letters with boxes or some thing like this. Why? While your text, which doesn't appear Arabic to me, compiled as complete Arabic sentences.
1- I just have a PDF file as the only output file. I mean, I also need a dvi an PS files.
2- When I write Arabic by using my keyboard, it appears some thing different, some letters with boxes or some thing like this. Why? While your text, which doesn't appear Arabic to me, compiled as complete Arabic sentences.
Languages Supported by Latex
1. This is problematic. XeTeX output is only .pdf document. You may try with some conversion from .pdf but I cannot guarantee it'll work well.s.david wrote:Ok, when I tried xelatex instead of xetex it works. But I have two problems then:
1- I just have a PDF file as the only output file. I mean, I also need a dvi an PS files.
2- When I write Arabic by using my keyboard, it appears some thing different, some letters with boxes or some thing like this. Why? While your text, which doesn't appear Arabic to me, compiled as complete Arabic sentences.
2. This is because of encoding. I used utf8 encoding (which is used by Xe(La)TeX) while you probably are using another.
Maybe Xe(La)TeX isn't the best solution for you after all. For using arabic with LaTeX (not XeTeX) basically you have two options: to use ArabTeX or Arabi packages. You may start with Arabi, read its documentation and test if it works for you.
I think that LaTeX actually calls Arabi package automatically. In your first code problematic part is
Code: Select all
\\\selectlanguage{arabic}
Try separating \selectlanguage{arabic} from previous latin text to get proper text orientation, so that your code looks like this:
Code: Select all
\documentclass[a4paper,12pt,openany,oneside]{memoir}
\usepackage[arabic,english]{babel}
\begin{document}
\noindent Hello, how are you?\\
Hello, I am fine. Thank you % Manual break removed and \selectlanguage put in a new paragraph
\selectlanguage{arabic} ÇáÞæá ÇáãÃ辄 ÈÃä ÇáÎØÃ ÇáãÔåæÑ ÎíÑ ãä ÇáÕæÇÈ ÇáãåÌæÑ
\end{document}
Re: Languages Supported by Latex
I will try. Thank you anyway.
Best regards
Best regards