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

babel with arabtex



hi everybody... i'm alberto again. sorry to interrupt you but today happened something very 
funny with tetex/arabtex/inputenc/ucs/utf-8/babel... i tell you.

i upgraded my debian distro today (i use debian testing/unstable) and compiled the new kernel 2.6.7...
and when going back to work with tetex and utf8 arabic (with arabtex), the thing wouldn't compile!!
i hadn't changed anything in the file! it simply didn't work. i got mad untill discover that if i removed
babel support (and therefore spanish support) the thing would work fine. ok, i said to my self: now 
i lose spanish support (hyphenation, spanish context, strings and translations) too but i can still 
more or less work.

after a few hours i decided to test again (by heavenly inspiration, i guess) intputenc with ucs/utf-8 and...
it worked!!! it worked when it hadn't done it before! now i can type directly spanish symbols (ñ,¿, á, é) 
without problems!!

i know for sure that tetex was not updated when performing dist-upgrade. i have the same version than
before but, of course, many other packages were upgraded. version of tetex-base is: 2.0.2-9.

have hints? now the problem seems to be babel... i attach a simplified copy of the actual file i'm working on 
and i print here the output i get when babel is activated.

thanks millions.
regards... alberto.




-- This is TeX, Version 3.14159 (Web2C 7.4.5)
(./example.tex
LaTeX2e <2001/06/01>
Babel <v3.7h> and hyphenation patterns for american, british, french, spanish,
nohyphenation, loaded.
(/usr/share/texmf/tex/latex/arabtex/arabart.cls
Document Class: arabart 1996/05/21 v0.01 arabic article format
(/usr/share/texmf/tex/latex/arabtex/arabrep.cls
Document Class: arabrep 2003/04/26 v3.11 arabic report format
(/usr/share/texmf/tex/latex/base/report.cls
Document Class: report 2001/04/21 v1.4e Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size12.clo))
(/usr/share/texmf/tex/latex/arabtex/arabtex.sty
(/usr/share/texmf/tex/latex/arabtex/aconfig.sty)
(/usr/share/texmf/tex/latex/arabtex/arabaux.sty)
(/usr/share/texmf/tex/latex/arabtex/acmd.sty)
(/usr/share/texmf/tex/latex/arabtex/afonts.sty
(/usr/share/texmf/tex/latex/arabtex/afonts2.sty))
(/usr/share/texmf/tex/latex/arabtex/ascan.sty
(ArabTeX) scanner for code `arabtex' installed.
(ArabTeX) input encoding set to ArabTeX standard conventions.)
(/usr/share/texmf/tex/latex/arabtex/aparse.sty)
(/usr/share/texmf/tex/latex/arabtex/awrite.sty
(/usr/share/texmf/tex/latex/arabtex/xarbsymb.sty)
(/usr/share/texmf/tex/latex/arabtex/arabskel.sty)
(/usr/share/texmf/tex/latex/arabtex/xarbskel.sty)
(/usr/share/texmf/tex/latex/arabtex/aboxes.sty)
(/usr/share/texmf/tex/latex/arabtex/arabtoks.sty)
(/usr/share/texmf/tex/latex/arabtex/arabchrs.sty))
(/usr/share/texmf/tex/latex/arabtex/aligs.sty)
(/usr/share/texmf/tex/latex/arabtex/aoutput.sty)
(/usr/share/texmf/tex/latex/arabtex/abidir.sty)
(/usr/share/texmf/tex/latex/arabtex/atrans.sty (ArabTeX) ZDMG transliteration.)
(/usr/share/texmf/tex/latex/arabtex/alatex.sty
(/usr/share/texmf/tex/latex/arabtex/afoot.sty))
(/usr/share/texmf/tex/latex/arabtex/abjad.sty)
(/usr/share/texmf/tex/latex/arabtex/apatch.sty
(/usr/share/texmf/tex/latex/arabtex/alists.sty)
(/usr/share/texmf/tex/latex/arabtex/asect.sty)
(/usr/share/texmf/tex/latex/arabtex/atabg.sty))
Arabic processor `ArabTeX' [20040524 patch level 3.11k (24.05.2004)]
(ArabTeX) ... now be patient ... )
(/usr/share/texmf/tex/latex/arabtex/altxext.sty)
(/usr/share/texmf/tex/latex/arabtex/asize12.clo)
(/usr/share/texmf/tex/latex/arabtex/arabext.sty)))
(/usr/share/texmf/tex/latex/base/fontenc.sty
(/usr/share/texmf/tex/latex/base/t1enc.def))
(/usr/share/texmf/tex/latex/misc/setspace.sty
Package: `setspace' 6.7 <2000/12/01>
) (/usr/share/texmf/tex/latex/titlesec/titlesec.sty)
(/usr/share/texmf/tex/latex/arabtex/utf8.sty
(/usr/share/texmf/tex/latex/arabtex/utfcode.sty)
(ArabTeX) scanner for code UTF-8 installed.)
(/usr/share/texmf/tex/latex/misc/geometry.sty
(/usr/share/texmf/tex/latex/graphics/keyval.sty)
(/usr/share/texmf/tex/latex/config/geometry.cfg))
(/usr/share/texmf/tex/generic/babel/babel.sty
(/usr/share/texmf/tex/generic/babel/spanish.ldf
(/usr/share/texmf/tex/generic/babel/babel.def)))
(/usr/share/texmf/tex/latex/base/inputenc.sty
(/home/acorbi/LaTeX/tex/latex/ucs/utf8.def))
(/home/acorbi/LaTeX/tex/latex/ucs/ucs.sty
(/home/acorbi/LaTeX/tex/latex/ucs/data/uni-global.def))
(ArabTeX) input encoding set to UTF-8 conventions (./example.aux)

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

(/home/acorbi/LaTeX/tex/latex/ucs/ucsencs.def)
(/usr/share/texmf/tex/latex/arabtex/apatch.sty
(ArabTeX) version 3.11k (24.05.2004): second phase of patching)
(/usr/share/texmf/tex/latex/arabtex/Uxnsh.fd)
! Argument of \a@parse has an extra }.
<inserted text>
                \par
l.16 ...^d9^^91^^d8^^a7^^d8^^a6^^d8^^b1^^d8^^a9.}}
                                                  \ \\
?

--
Alberto Corbi Bellot <alberto_corbi@terra.es
\documentclass[12pt]{arabart}
\usepackage[T1]{fontenc}
\usepackage{setspace}
\usepackage{titlesec}
\usepackage{arabtex}
\usepackage{utf8}
\usepackage[a4paper,left=1cm,right=1cm,top=1cm]{geometry}
%\usepackage[spanish]{babel}
\usepackage[utf8]{inputenc}

%% Opciones
\onehalfspacing
\setcode{utf8}

\begin{document}
\paragraph{\RL{Ø£Ù?دÙ?رسÙ? اÙ?Ø£Ù?Ù?Ù?: Ù?Ù? اÙ?Ø·Ù?ائرة.}}\ \\
\ 
\begin{itemize}
\item Señoras, señoritas, señores. \hfill\ \RL{\mbox{سÙ?Ù?داتÙ?, Ø¢Ù?ساتÙ?, سادتÙ?.}}
\item ¡Cuidado! \hfill\ \RL{\mbox{Ø¥Ù?تبÙ?Ù?ا!}}
\end{itemize}
\end{document}

Reply to: