[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

unicode with arabtex



dear dominique and debian/tetex maintainers...

my name is alberto, a spanish arabic student. i'm currently using
arabtex to typeset arabic directly in utf8 (no transliteration) within
latex. works great! i would also like to use inputenc with your unicode
(ucs) pakage to directly tipe spanish accents and simbols like á é ñ and
so on... i got ucs succesfully installed.

but when compiling i get :

Package utf8.def Warning: Character(s) 160 etc. got redefined somewhere.
(utf8.def)                Restoring to its utf8-meaning on input line
11.

(/home/acorbi/LaTeX/tex/latex/ucs/ucsencs.def)
(/usr/share/texmf/tex/latex/arabtex/apatch.sty
(ArabTeX) version 3.11d (23.10.2003): second phase of patching)
(/usr/share/texmf/tex/latex/arabtex/Uxnsh.fd)
! Illegal arabic command: ^^d9.
\a@cmderr ...age {Illegal arabic command: \nxp #1}
                                                  \a@@cmd = {{\a@puttt
#1\ar...
l.13 ...^d8^^ae^^d8^^b6^^d8^^b1^^d8^^a7^^d8^^a1.}}

i also send you the tex file so that you can check it...

if i type no arabic and add no arabtex commands, it works fine... i can
type utf8 symbols with no problem.

regards... alberto.
-- 
Alberto Corbi Bellot <alberto_corbi@terra.es>
\documentclass[12pt,spanish]{arabart}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage{courier}
\usepackage{setspace}
\usepackage{arabtex}
\usepackage{utf8}
\usepackage[a4paper,left=1cm,right=1cm,top=1cm]{geometry}
\setcode{utf8}
\begin{document}
\begin{itemize}
\item Este malet\'in y esta maleta verde. \hfill \RL{\mbox{Ù?Ø°Ù? اÙ?Ø´Ù?Ù?طة Ù?Ù?Ø°Ù? اÙ?Ø­Ù?Ù?بة اÙ?خضراء.}}
\item El pasaporte, por favor. \hfill \RL{\mbox{اÙ?جÙ?ازØ? Ù?Ù? Ù?ضÙ?Ù?.}}
\item !`Abra esta maleta! \hfill \RL{\mbox{Ø¥Ù?تح Ù?Ø°Ù? اÙ?Ø­Ù?Ù?بة}}
\item !`De seguro! \hfill \RL{\mbox{Ù?عÙ?Ù?Ù?.}}
\item No tiene nada que declarar. \hfill \RL{\mbox{Ù?ا عÙ?دÙ? Ø´Ù?Ø¡ Ù?Ù?Ù?Ù?ع.}}
\item !`Toma! \hfill \RL{\mbox{خذ!}} 
\item !`Adios! \hfill \RL{\mbox{Ù?ا Ù?صÙ?Ù?Ù?Ø©.}}
\item Pasaporte. \hfill \RL{\mbox{جÙ?از سÙ?ر.}}
\item !`Abre ese Malet\'in! \hfill \RL{\mbox{Ø¥Ù?تحÙ? Ù?Ø°Ù? اÙ?Ø´Ù?Ù?طة!}}
\item Aqu\'i llegan. \hfill \RL{\mbox{Ù?ا Ù?Ù? Ù?ادÙ?Ù?Ù?.}}
\item ?`Est\'a abierto el equipaje? \hfill \RL{\mbox{Ù?Ù? اÙ?Ø£Ù?تعة Ù?Ù?تÙ?حةØ?}}
\item ?`D\'onde está la oficina de cambio de dinero? \hfill \RL{\mbox{Ø£Ù?Ù? Ù?Ù?تب اÙ?Ù?Ù?Ù?Ù?د Ù?Ù? Ù?ضÙ?Ù?Ø?}}
\item Esta canci\'on es bonita. \hfill \RL{\mbox{Ù?ذا اÙ?أغÙ?Ù?Ø© جÙ?Ù?Ù?Ø©.}}
\item Adem\'as me gusta la comida \'arabe. \hfill \RL{\mbox{Ù?Ø°Ù?Ù? أحبÙ? اÙ?Ø·Ù?عاÙ? اÙ?عربÙ?Ù?.}}
\item \'El Vuelve. \hfill \RL{\mbox{Ù?رجع.}}
\item Aqu\'i est\'a el 
\end{itemize}
\end{document}

Reply to: