On Wednesday 02 July 2003 6:44 pm, Andre Poenitz wrote: > On Wed, Jul 02, 2003 at 05:39:23PM +0200, Jean-Marc Lasgouttes wrote: > > >>>>> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: > > > > Andre> What does arabtex do if it encounters > > > > Andre> .... asdasd some text% > > Andre> \end{...} > > > > Andre> Such a thing (the %) could be added without breaking too much. > > > > arabtex will not see the break, since TeX eats it, I think. > > That's my suspicion too, but I wanted confirmation because that would be a > really simple way out... It works! I am not sure why a percent sign not a space but it _almost_ work. If I understand you properly, I made a small file in lyx and exported it to TeX. I edited the file by adding the percent before the "\end{center}"
[EMAIL PROTECTED] Desktop]$ cat percent2.tex %% LyX 1.3 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really know what you are doing. \documentclass[twoside,arabic,english]{arabart} \usepackage[T1]{fontenc} \pagestyle{headings} \setcounter{tocdepth}{2} \makeatletter \usepackage{arabtex,iso88596} \setcode{iso8859-6} \makeatother \begin{document} Munzir \begin{arabtext} \begin{center}CIBARA%\end{center} \end{arabtext} \end{document} ------------- [EMAIL PROTECTED] Desktop]$ texi2pdf percent2.tex This is pdfTeX, Version 3.14159-1.10b (Web2C 7.4.5) ... input encoding set to ASMO 708 (ISO 8859-6) conventions LaTeX Warning: Unused global option(s): [arabic,english]. (./percent2.aux) (/usr/share/texmf/tex/latex/arabtex/uxnsh.fd) . | . ! LaTeX Error: \begin{center} on input line 15 ended by \end{document}. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... l.17 \end{document} ? . > [1{/usr/share/texmf/dvips/config/pdftex.map}] (./percent2.aux) *File List* arabart.cls 1996/05/21 v0.01 arabic article format ... uxnsh.fd 1999/05/23 3.08 ArabTeX Naskh extd. font definitions *********** ) (\end occurred inside a group at level 2) </usr/share/texmf/fonts/pk/ljfour/jkn appen/ec/ecrm1000.600pk> </var/lib/texmf/pk/ljfour/arabtex/xnsh14.600pk> Output written on percent2.pdf (1 page, 5818 bytes). Transcript written on percent2.log. /usr//bin/texi2dvi: pdflatex exited with bad status, quitting. /usr//bin/texi2dvi: see percent2.log for errors. -------- In spite of the errors you can see here, the generated pdf file is a really nice one with nothing wrong in it. I am happy there is still a hope. What do you suggest now? -- __/ __/ _/ _/ _/ _/ _\ _/ _\ _/ _/ \ / _\ unzir _/ aha Telecommunications Engineer Linux Registered User [EMAIL PROTECTED]://counter.li.org CIW, ICDL, MOUS. New Horizons CLC Riyadh, SA