[XeTeX] Problem with Malayalam book class using xelatex

Sasi Kumar sasi.fsf at gmail.com
Fri Jun 27 18:06:21 CEST 2014

Hello everyone,

I had written a book using aleph and it was compiling properly till I
changed my laptop and installed everything afresh. Then it developed
several problems, some of which I could solve with help. But there
still remained some problem and finally, I decided to use xelatex.
Thus, I modified the code to suit xelatex and compiled. It compiled
without any error and gave a pdf output. But the pdf file contained
only boxes and no text. I used my favourite Rachana font with old
style letters. I am giving the entire preamble below. Could someone
tell me what I could be doing wrong? I have Rachana installed on my
system and use it to create documents occasionally with Libre Office.
In fact, I have been usng xelatex with Rachana font for writing
articles without any problem. Thus this looks rather strange!

Thank you in advance for any help.


My preamble:

\newfontfamily \mayalamfont[Script=Malayalam]{Rachana}
\setromanfont{DejaVu Serif}

\def\thickhrule{\leavevmode \leaders \hrule height 1ex \hfill \kern \z@}

  {\parindent \z@ \position \reset at font
        {\centering\LARGE  \thechapter .  #1}
    \vskip 5mm


                   \vskip 25mm

\renewcommand\section{\@startsection {section}{1}{\z@}%
                                   {-3.5ex \@plus -1ex \@minus -.2ex}%
                                   {2.3ex \@plus.2ex}%

\def\thepage{{ \roman{page}}}

%================================ BODY ===================================


V. Sasi Kumar
Free Software Foundation of India
Please see: http://swatantryam.blogspot.com/

More information about the XeTeX mailing list