[XeTeX] Res: Res: xelatex and eclipse

Flavio Costa flaviocosta at yahoo.com.br
Wed May 14 01:07:59 CEST 2008


Hi,

I was using latex then at some time I converted to xelatex. What I did:

1. Oppened the file in emacs to convert it to UTF-8, now my file starts with
        % -*- mode: LaTeX; coding: utf-8; -*-
    but I understand this is not really necessary, as it works only for emacs.

2. As I'm using a custom-made document class, I made sure to convert it to UTF-8 too.

3. Right-click on the file > Properties, to set text file encoding to UTF-8, you can do it for the whole Eclipse project if you prefer.

4. I had to edit the file to use fontspec/xunicode instead of LaTeX font packages and a few other changes related to hyperref (it was messing up my bookmarks).

5. Windows > Preferences > Texlipse > Builder settings and set "C:\Program Files\MiKTeX 2.7\miktex\bin\xelatex.exe" as the "Latex program".

6. Right-click on the file > Properties > LaTeX project properties, to set output format to "PDF" and build commands to "pdflatex.exe".

I don't remember having to change anything else. I'm using Eclipse 3.3.2 and TeXlipse 1.2.1.

Good luck,

Flavio

----- Mensagem original ----
De: Kirk Lowery <empirical.humanist at gmail.com>
Para: Unicode-based TeX for Mac OS X and other platforms <xetex at tug.org>
Enviadas: Terça-feira, 13 de Maio de 2008 19:35:26
Assunto: Re: [XeTeX] Res: xelatex and eclipse

On Tue, May 13, 2008 at 6:14 PM, Flavio Costa <flaviocosta at yahoo.com.br> wrote:
> I'm using TeXclipse and xelatex.
>
>  This specific combination makes me realize that TeXclipse still has a lot to mature, but it works... somewhat. :)

I'm sure my problem is a TeXclipse configuration problem. Here is the
error I get with a file beginning with

%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode

error:

*** this package currently works only with XeTeX ***
...csname\relax\expandafter\notXeTeXformat\fi

Is this a problem with the build configuration? How did you change the
config to make xelatex work?

TIA!

Kirk
_______________________________________________
XeTeX mailing list
postmaster at tug.org
http://tug.org/mailman/listinfo/x



      Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento!
http://br.mail.yahoo.com/


More information about the XeTeX mailing list