<div dir="ltr"><div>Namaste Sasi,<br><br></div>could you send me a sample document, not just a preamble? I do have Rachana installed but I do not know Malayalam, I need something to test.<br></div><div class="gmail_extra">
<br><br><div class="gmail_quote">2014-06-27 18:06 GMT+02:00 Sasi Kumar <span dir="ltr"><<a href="mailto:sasi.fsf@gmail.com" target="_blank">sasi.fsf@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello everyone,<br>
<br>
I had written a book using aleph and it was compiling properly till I<br>
changed my laptop and installed everything afresh. Then it developed<br>
several problems, some of which I could solve with help. But there<br>
still remained some problem and finally, I decided to use xelatex.<br>
Thus, I modified the code to suit xelatex and compiled. It compiled<br>
without any error and gave a pdf output. But the pdf file contained<br>
only boxes and no text. I used my favourite Rachana font with old<br>
style letters. I am giving the entire preamble below. Could someone<br>
tell me what I could be doing wrong? I have Rachana installed on my<br>
system and use it to create documents occasionally with Libre Office.<br>
In fact, I have been usng xelatex with Rachana font for writing<br>
articles without any problem. Thus this looks rather strange!<br>
<br>
Thank you in advance for any help.<br>
<br>
Regards,<br>
Sasi<br>
<br>
My preamble:<br>
<br>
\documentclass[a5paper,11pt,openany]{book}<br>
\oddsidemargin=-1in<br>
\topmargin=-1in<br>
\usepackage{graphicx}<br>
\let\footruleskip\undefined<br>
\usepackage{fancyhdr}<br>
\usepackage{multicol}<br>
\usepackage[paperheight=22.225cm,,paperwidth=14.2875cm,lmargin=15mm,tmargin=20mm]{geometry}<br>
\textheight=16cm<br>
\textwidth=11cm<br>
\usepackage{url}<br>
\usepackage{polyglossia}<br>
\newfontfamily \mayalamfont[Script=Malayalam]{Rachana}<br>
\setromanfont{DejaVu Serif}<br>
<br>
\usepackage{makeidx}<br>
\usepackage{caption}<br>
\setcounter{tocdepth}{0}<br>
\usepackage{balance}<br>
\makeatletter<br>
\def\thickhrule{\leavevmode \leaders \hrule height 1ex \hfill \kern \z@}<br>
\def\position{\centering}<br>
<br>
\renewcommand{\@makechapterhead}[1]{%<br>
 \vspace*{10\p@}%<br>
  {\parindent \z@ \position \reset@font<br>
        {\centering\LARGE  \thechapter .  #1}<br>
        \par\nobreak<br>
        \vspace*{5\p@}%<br>
        \interlinepenalty\@M<br>
       \par\nobreak<br>
       \vspace*{2\p@}%<br>
    \vskip 5mm<br>
  }}<br>
\makeatother<br>
<br>
\makeatletter<br>
<br>
\renewcommand\chapter{%<br>
                   \vskip 25mm<br>
                    \@afterindentfalse<br>
                    \secdef\@chapter\@schapter}<br>
\makeatother<br>
<br>
\makeatletter<br>
\renewcommand\section{\@startsection {section}{1}{\z@}%<br>
                                   {-3.5ex \@plus -1ex \@minus -.2ex}%<br>
                                   {2.3ex \@plus.2ex}%<br>
                                   {\normalfont}}<br>
\makeatother<br>
\setlength{\parindent}{8mm}<br>
\newcommand{\dash}{\raisebox{2pt}{\rule{3mm}{0.5pt}}}<br>
\newcommand{\chem}[1]{\ensuremath\mathrm{#1}}<br>
\lefthyphenmin=3<br>
\righthyphenmin=3<br>
\setlength{\parskip}{0cm}<br>
<br>
\makeindex<br>
\pagenumbering{roman}<br>
\def\thepage{{ \roman{page}}}<br>
<br>
\makeatletter<br>
\DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}<br>
\DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}<br>
\DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}<br>
\DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}<br>
\DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}<br>
\DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}<br>
\DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}<br>
\makeatother<br>
%================================ BODY ===================================<br>
<br>
\begin{document}<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
V. Sasi Kumar<br>
Free Software Foundation of India<br>
Please see: <a href="http://swatantryam.blogspot.com/" target="_blank">http://swatantryam.blogspot.com/</a><br>
<br>
<br>
<br>
--------------------------------------------------<br>
Subscriptions, Archive, and List information, etc.:<br>
  <a href="http://tug.org/mailman/listinfo/xetex" target="_blank">http://tug.org/mailman/listinfo/xetex</a><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>Zdeněk Wagner<br><a href="http://hroch486.icpf.cas.cz/wagner/" target="_blank">http://hroch486.icpf.cas.cz/wagner/</a><br><a href="http://icebearsoft.euweb.cz" target="_blank">http://icebearsoft.euweb.cz</a>
</div>