Fonts & Character Setsarabi | No PDF Output

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Post Reply
lightworks
Posts: 3
Joined: Thu Jun 21, 2012 1:12 am

arabi | No PDF Output

Post by lightworks »

Hi!

I've always used LaTeX for scientific papers and it has worked great.
Now I installed the package arabi in MiKTeX 2.9 and tried to build the same TeX as the example in the manual, but it didn't work for two reasons (that may be the same)

On one hand, I can't write arab characters in the *.tex file. I have Win XP SP3 with TeXnicCenter 1.0 Stable Release 1 (TXC) and I have the language configuration needed for Arab, but when I try to write in the *.tex it just makes lots of "ÔÓíÔÓÈíÓ ÔÓíÔÓÝáíá ÔÓíÔ " instead of the Arab letters. If I write them in other program and I copy to TXC, I just get "???????? ??????????". I have no idea how to fix this.

On the other hand, I tried to do this with Latin characters:

Code: Select all

\documentclass{article}
\usepackage[cp1256]{inputenc}
\usepackage[LAE]{fontenc}
\usepackage[arabic,english]{babel}

\begin{document}

No output pdf..
\selectlanguage{arabic}
This doesn't work
 
\end{document}
And the result was this:

Code: Select all

-------------Output Profile: LaTeX => PDF------------
This is pdfTeX, Version 3.1415926-2.3-1.40.12 (MiKTeX 2.9)
entering extended mode
(D:/../ara.tex
LaTeX2e <2011/06/27>
Babel <v3.8m> and hyphenation patters for english, (...), arabic, (...), loaded.

(...)
***************************************
*Local config file bblopts.cfg used
(...)

***************************************
*Local config file arabic.cfg used
*
("C:\...\MiKTeX 2.9\tex\arabi\arabic.cfg"))
("C:\...\MiKTeX 2.9\tex\generic\babel\english.ldf"))
(D:\...\ara.aux) ("C:\...\MiKTeX 2.9\tex\latex\base\ifthen.sty"
) [1{C:/Documents and Settings/.../MiKTeX 2.9/pdftex/config/pdftex.map}] (D:\...\ara.aux) Trying to make PK font aealmohanadb at 750 DPI...
Running miktex-makemf.exe...
miktex-makemf: The aealmohanadb source file could not be found.
Running ttf2pk.exe...
miktex-makepk: PK font aealmohanadb could not be created.
)
(see the transcript file for additional information)
!pdfTeX error: pdflatex.exe (file aealmohanadb) : Font aealmohanadb at 750 not found
==> Fatal error ocurred, no output PDF file produced!
This is BibTeX, Version 0.99d (MiKTeX 2.9)
(...)

LaTeX-Result: 0 Error(s), 0 Warning(s), 0 Bad Box(es), 0 Page(s)
I checked in the web but I didn't see the response to any of those problems.
So.. Help please? :)

Sorry if I made the post in the wrong section, didn't really know where to do it!
Last edited by Stefan Kottwitz on Thu Jun 21, 2012 8:01 am, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

arabi | No PDF Output

Post by localghost »

TXC1 RC1 doesn't handle Unicode, which is needed for Arabic. Use another editor like TeXworks (shipped with MiKTeX) or try TXC2a4. Make sure that you pass the corresponding option to inputenc for the correct input encoding.

Think about using XeLaTeX for better support for RTL (right to left) typesetting. It also needs a Unicode capable editor.


Best regards and welcome to the board
Thorsten
lightworks
Posts: 3
Joined: Thu Jun 21, 2012 1:12 am

Re: arabi | No PDF Output

Post by lightworks »

Thank you so much! I'll try that :)
Post Reply