General ⇒ Languages Supported by Latex
Re: Languages Supported by Latex
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
- Attachments
-
- Test.JPG (64.24 KiB) Viewed 4476 times
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Languages Supported by Latex
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 4474 times
Re: Languages Supported by Latex
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
Best regards