[XeTeX] How can I use IEEEtran class with XeLaTeX?

Maxim Cournoyer maxim.cournoyer at gmail.com
Sun Jan 30 21:56:10 CET 2011


Dear XeTeX community,

I've been trying to use the IEEEtran.cls to write an article paper in
_french_.
So my guess was to just load the xltxtra & polyglossia packages in my
document:

        \usepackage{xltxtra}
        \usepackage{polyglossia}
        \setdefaultlanguage{french}
        

This solves the accentuation part, but introduces ugly spacing & font in
the process. I've
attached samples output of "before" and "after" loading the xltxtra
package.

I also tried changing the font, by issuing using these commands:

        \defaultfontfeatures{Mapping=tex-text}
        \setromanfont{Linux Libertine O}
        \setsansfont{Linux Biolinum O}
        \setmonofont[Scale=0.8]{DejaVu Sans Mono}


But this fails, when encountering the IEEEtran's \IEEEPARstart defined
macro, as shown in the following
error message output:

        (./out/bare_jrnl.aux)kpathsea: Invalid fontname `Linux at ',
        contains ' '
        
        ! Font \@IEEEPARstartsubfont=""Linux at "" not loadable: Metric
        (TFM) file or i
        nstalled font not found.
        <to be read again> 
                           \@IEEEtrantmpdimenA 
        l.75 \IEEEPARstart{C}{e}
                                  fichier de démonstration est un
        «~fichier de dé...


It seems like this function does not like my font name having spaces in
it (Linux Libertine O).
I'm digging in the IEEEtran.cls right now, but I'm no expert so it's a
slow process.

Any help would be much appreciated,

Maxim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20110130/e6a67636/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bare_jrnl.tex
Type: text/x-tex
Size: 4977 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20110130/e6a67636/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: IEEEtran.cls
Type: text/x-tex
Size: 201353 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20110130/e6a67636/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bare_jrnl_without_xltxtra.pdf
Type: application/pdf
Size: 20266 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20110130/e6a67636/attachment-0002.pdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bare_jrnl_with_xltxtra.pdf
Type: application/pdf
Size: 51775 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20110130/e6a67636/attachment-0003.pdf>


More information about the XeTeX mailing list