[XeTeX] fontspec.sty- xelatex: GUI framework cannot be initialized.

David J. Perry hospes.primus at verizon.net
Tue Oct 4 03:13:23 CEST 2011


Last time I checked (which was a little while back) winedt did not support 
Unicode well.  Since Xe(La)TeX and associated programs such as fontspec are 
designed to work in Unicode, you might want to try a different editor; I 
suggest TeXworks, which comes with MiKTeX.

David

----- Original Message ----- 
From: "Zdenek Wagner" <zdenek.wagner at gmail.com>
To: "Unicode-based TeX for Mac OS X and other platforms" <xetex at tug.org>
Sent: Monday, October 03, 2011 4:51 AM
Subject: Re: [XeTeX] fontspec.sty- xelatex: GUI framework cannot be 
initialized.


2011/10/3 Harish Kumar Holla <harishkumarholla at pec.edu>:
> Hi All,
> Recently I tried to give a hand to XeLaTeX. But I am not able to compile
> with xelatex.. This is my file:
> ===========================================
> \documentclass[11pt]{article}
> \usepackage{xltxtra}
> \setmainfont[Mapping=tex-text]{Arial}
> \begin{document}
> \section{Unicode support}
>
> \subsection{English}
> All human beings are born free and equal in dignity and rights.
>
>
> \end{document}
> ==========================================
> When I compile with xelatax it says
>
> ===============================================
> ("C:\Program Files\MiKTeX 2.9\tex\latex\fontspec\fontspec.sty" xelatex: 
> GUI
> framework cannot be initialized.
>
> Xelatex failed to create a pdf file.....
> ===========================================================
>
> What may be wrong? Please help.
> I use winedt6 (15032011), in windows 7 Home premium (sp 1) and MikTeX 2.9.
> Any suggestions from experts will be appreciated
> --
This is really strange, your document works fine on my Linux with TeX
Live. It seems that something is wrong in your configuration. Some
error is triggered and xetex tries to open an editor so that you can
try to fix it. I would suggest to remove \usepackage and \setmainfont,
add \scrollmode and try what happens.

BTW: Arial is the ugliest font. I would suggest using TeX Gyre Hero or
similar high quality font.
>
>
>
> --with regards
>
> Dr. Harish Kumar
> Dept. of Physics
> Pondicherry Engineering College
> Puducherry 605 014
> Ph: 0413 2655281-286 (Extn: 646)
>
> Residence:
> Dr. Harish Kumar
> # 29 (New No.) I Main Cluny Road
> Avvai Nagar, Lawspet
> Puducherry 605 008
> Ph: 0413 2253652, 9443052957
>
>
>
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
> http://tug.org/mailman/listinfo/xetex
>
>



-- 
Zdeněk Wagner
http://hroch486.icpf.cas.cz/wagner/
http://icebearsoft.euweb.cz



--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex 



More information about the XeTeX mailing list