Monday, March 24, 2008

LaTeX problem: Integrating ArabTeX with LLNCS

LaTeX, the typesetting system enables you to produce high-quality documents with less effort. Read more in my other post about LaTeX. On submitting to a conference, I had to work with their class files so I used \documentclass{llncs}. They use LaTeX Lecture Notes in Computer Science (llncs) from Springer.

In the same document, I use ArabTeX package to render Arabic characters. When I applied both packages I found that section numbers disappered! So instead of "1. Introduction" and "1.2 Title" I got "Introduction" and "Title". After spending an hour or two I found that ArabTeX redefines the section formatting command \section using \renewcommand in asect.sty. So I disabled the inclusion of such file in apatch.sty by commenting the following:

%\UsePackage {asect} % load LaTeX extensions for Arabic sections.

For a normal LaTeX installation, all files exist in /usr/share/texmf/tex/latex/arabtex/
I don't know who will ever make use of this piece of information, just spreading the word. Let Google help me in that!

7 comments:

Menaka said...
This comment has been removed by the author.
Menaka said...

Thanks. We faced the same problem. On seeing your blog, we did the same thing and it worked. Saved lots of time.
Thanks again.

hammady said...

I am happy it worked for you. I was suspecting if anyone could make use of this but you have just did! Thanks Google.

um_shaikha said...

This was really helpful thank uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu!

u just saved my day

Riadh Belkebir said...
This comment has been removed by the author.
Riadh Belkebir said...

That solved my problem.
Thanks a lot

Alexander said...

Just create an empty file named asect.sty in the folder where your paper lives, and you are done.