[texworks] ArabTeX and TeXworks

Helge Kruse Helge.Kruse-nospam at gmx.net
Thu May 20 07:23:46 CEST 2010


Am 20.05.2010 02:16, schrieb Juan Acevedo:
> --------------------------
> \documentclass[12pt]{article}
> \usepackage{arabtex,utf8}
> \begin{document}
> \setcode{utf8}
> \RL{salAm}
>
> \RL{سلام عليكم}
> \end{document}
> --------------------------

I have neither experience with Arabtex nor the Arabic languange. But 
when I copy and paste this text to TexWorks and try to save the file, it 
complains.

  This document contains characters that cannot be represented in the
  encoding ISO-859-1.
  If you proceed they will be replaced with default codes.
  Alternatively, you may wish to use a different encoding (such as
  UTF-8) to avoid loss of data.

Adding the line
   % !TEX encoding = UTF-8 Unicode
at the top stops complaining and the compiled PDF looks like Arabic.

HTH,
Helge


More information about the texworks mailing list