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

Fwd: [Bug 1225] Environment \end tag causes problems



I know Arabeyes developers are very busy but I think it won't take an hour 
time to figure out how to correct this nasty error. I did my best in the 
resoultion. Nadim, you have finished patching vim and now you are idle of 
work so I suggest you take this ;-)

----------  Forwarded Message  ----------

Subject: [Bug 1225] Environment \end tag causes problems
Date: Sunday 22 June 2003 1:33 am
From: bugzilla-daemon at lyx dot org
To: munzirtaha at myrealbox dot com

http://bugzilla.lyx.org/show_bug.cgi?id=1225





------- Additional Comments From munzirtaha at myrealbox dot com  2003-06-22 00:33
 ------- I want to emphasize it again. Bear with me, please.
-----------
There are two errors here:
Error #1: An error when we want to view a document that contains Arabic text
 through view -> PDF.

LaTeX Error: \begin{arabtext} on input line 16 ended by \end{document}.
 \end{document}

Your command was ignored.
Type  I <command> <return>  to replace it with another command,
or  <return>  to continue without it.

The above error will occur only and only if the paragraph direction that
 contains Arabic is right to left, and this happen when the first letter in
 the paragraph is Arabic. The workaround is just to insert a space or any
 whitespace after the last Arabic letter.

Error #2: If we want to generate the PDF file through File -> Export ->
 LaTeX, then use texi2pdf. In this case I get these errors:

LaTeX Warning: Unused global option(s):
    [arabic,english].

(./basmala.aux) (/usr/share/texmf/tex/latex/arabtex/uxnsh.fd) . / . / ##

! LaTeX Error: \begin{arabtext} on input line 14 ended by \end{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...

l.17 \end{document}

?
--
A space at the end of the file won't solve the problem if it contains some
 formatting. For example if the tex file looks like this

\begin{document}
\begin{arabtext}
\begin{center}����\end{center}

����\end{arabtext}

\end{document}

I need to add a space before \end{center} AND \end{document}. In short a
 space before any LaTeX code that follows an Arabic text. You can also see
 here the the line added after \end{arabtext} which should be before it as
 Juergen Spitzmueller noticed already.

Note: to edit the LaTeX file I have to use katoob or vim since the other
 editors I am aware of (like kwrite, kedit, ...) will corrupt any Arabic text
 encoded in iso 8859-6.





------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
You are a voter for the bug, or are watching someone who is.

-------------------------------------------------------

-- 
  __/    __/          _/  _/  _/
 _/ _\  _/ _\            _/
_/    \ /   _\ unzir    _/ aha

Telecommunications Engineer
Linux Registered User #279362 at http://counter.li.org
CIW, ICDL, MOUS.
New Horizons CLC
Riyadh, SA