Thanks to every one. Problem was with my miktex installation. I re installed the same and now XeLaTeX works fine. And it is great with full freedom with fonts. Neverthless I have a query with the experts.<br>%=========================================<br>
It seems the xelatex will not accept figures in .pdf format. Also, there is mismatch in fonts of figures and rest of the document, if I include figures as .png file. So I am planning to put .pgf/.tikz files directly as \input{myfigure.tikz} . This is the trouble for me. I do not know how to control the dimensions of the figure in this case. If I use <br>
----------------------------------------<br>\begin{figure}[h]<br>\centerline{\includegraphics[<b>width=0.575\textwidth</b>]{wavemechanics-fig/Figures/gammaraymicroscope.pdf}}<br>\caption{$\gamma-$ ray microscope} \label{fig:gammaraymicroscope}<br>
\end{figure}<br>----------------------------------------<br>it is fine. But that won't do the job for \input{gammaraymicroscope.pgf}. <br>----------------------------------------<br>
\begin{figure}[h]<br>
\centerline{\input{wavemechanics-fig/Figures/gammaraymicroscope.pdf}}<br>
\caption{$\gamma-$ ray microscope} \label{fig:gammaraymicroscope}<br>
\end{figure}<br>
----------------------------------------<br>My question is:<br>How to specify dimensions of the figure in this case. Please help me.<br><br><br>