Fonts & Character SetsWhat is XeLaTeX doing?

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Post Reply
sunnyriegel
Posts: 3
Joined: Tue Apr 12, 2011 9:21 pm

What is XeLaTeX doing?

Post by sunnyriegel »

Hi all,

I'm using Miktex 2.8 and writing with TexWorks.
I've just been working on my BA-thesis and I need to type
Classical Mongolian and Korean. Please take a look at my preamble:

\documentclass[a4paper,12pt,leqno]{scrartcl}

\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}

\usepackage{fontspec}
\usepackage{xunicode}
\usepackage{xltxtra}

\usepackage[ngerman]{babel}

\usepackage{multicol}

\setkomafont{sectioning}{\normalfont\normalcolor\bfseries}

\usepackage{vmargin}
\setmarginsrb{2cm}{5cm}{2cm}{2.5cm}%
{0cm}{0cm}{0cm}{0cm}

Everytime when I try to compile the file, XeLatex tries to download fontspec and xltxtra etc. and it's quite annoying. So, before I can even try to type in Korean or Mongolian, I'd like to solve this problem. What the hell am I doing wrong?

Here is the compilation log :

This is XeTeX, Version 3.1415926-2.2-0.9995.1 (MiKTeX 2.8)
entering extended mode

("C:/Documents and Settings/Soung-U/My Documents/Linguistik/BA-Arbeit/Tex/Valen
zklassen.tex"
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation, ge
rman, ngerman, german-x-2009-06-19, ngerman-x-2009-06-19, french, loaded.
("D:\Program Files\MiKTeX 2.8\tex\latex\koma-script\scrartcl.cls"
Document Class: scrartcl 2011/02/19 v3.08a KOMA-Script document class (article)

("D:\Program Files\MiKTeX 2.8\tex\latex\koma-script\scrkbase.sty"
("D:\Program Files\MiKTeX 2.8\tex\latex\koma-script\scrbase.sty"
("D:\Program Files\MiKTeX 2.8\tex\latex\graphics\keyval.sty")
("D:\Program Files\MiKTeX 2.8\tex\latex\koma-script\scrlfile.sty"
Package scrlfile, 2011/02/11 v3.08a KOMA-Script package (loading files)
Copyright (C) Markus Kohm

))) ("D:\Program Files\MiKTeX 2.8\tex\latex\koma-script\tocbasic.sty")
("D:\Program Files\MiKTeX 2.8\tex\latex\base\leqno.clo")
("D:\Program Files\MiKTeX 2.8\tex\latex\koma-script\scrsize12pt.clo")
("D:\Program Files\MiKTeX 2.8\tex\latex\koma-script\typearea.sty"
Package typearea, 2011/02/19 v3.08a KOMA-Script package (type area)
Copyright (C) Frank Neukam, 1992-1994
Copyright (C) Markus Kohm, 1994-

)) ("D:\Program Files\MiKTeX 2.8\tex\latex\base\fontenc.sty"
("D:\Program Files\MiKTeX 2.8\tex\latex\base\t1enc.def"))
("D:\Program Files\MiKTeX 2.8\tex\latex\base\inputenc.sty"
("D:\Program Files\MiKTeX 2.8\tex\latex\base\utf8.def"
("D:\Program Files\MiKTeX 2.8\tex\latex\base\t1enc.dfu")
("D:\Program Files\MiKTeX 2.8\tex\latex\base\ot1enc.dfu")
("D:\Program Files\MiKTeX 2.8\tex\latex\base\omsenc.dfu")))
======================================================================
starting package maintenance...
installation directory: "D:\Program Files\MiKTeX 2.8"
package repository: http://ftp.fernuni-hagen.de/ftp-dir/pub ... /packages/
lightweight database digest: f54154f82f6377f3441d6cbfbb30326b
going to download 2958562 bytes
going to install 9 file(s) (1 package(s))
downloading http://ftp.fernuni-hagen.de/ftp-dir/pub ... c.tar.lzma...
2958562 bytes, 266.83 KB/Sec
extracting files from fontspec.tar.lzma...
======================================================================

======================================================================
starting package maintenance...
installation directory: "D:\Program Files\MiKTeX 2.8"
package repository: http://ftp.fernuni-hagen.de/ftp-dir/pub ... /packages/
lightweight database digest: f54154f82f6377f3441d6cbfbb30326b
going to download 2958562 bytes
going to install 9 file(s) (1 package(s))
downloading http://ftp.fernuni-hagen.de/ftp-dir/pub ... c.tar.lzma...
2958562 bytes, 161.35 KB/Sec
extracting files from fontspec.tar.lzma...
======================================================================

("D:\Program Files\MiKTeX 2.8\tex\latex\fontspec\fontspec.sty"
("D:\Program Files\MiKTeX 2.8\tex\latex\expl3\expl3.sty"
("D:\Program Files\MiKTeX 2.8\tex\latex\expl3\l3names.sty")
("D:\Program Files\MiKTeX 2.8\tex\latex\misc\etex.sty")
("D:\Program Files\MiKTeX 2.8\tex\latex\expl3\l3basics.sty")
("D:\Program Files\MiKTeX 2.8\tex\latex\expl3\l3expan.sty")
("D:\Program Files\MiKTeX 2.8\tex\latex\expl3\l3tl.sty")
("D:\Program Files\MiKTeX 2.8\tex\latex\expl3\l3int.sty")
("D:\Program Files\MiKTeX 2.8\tex\latex\expl3\l3quark.sty")
("D:\Program Files\MiKTeX 2.8\tex\latex\expl3\l3seq.sty")
("D:\Program Files\MiKTeX 2.8\tex\latex\expl3\l3toks.sty")
("D:\Program Files\MiKTeX 2.8\tex\latex\expl3\l3prg.sty")
("D:\Program Files\MiKTeX 2.8\tex\latex\expl3\l3clist.sty")
("D:\Program Files\MiKTeX 2.8\tex\latex\expl3\l3token.sty")
("D:\Program Files\MiKTeX 2.8\tex\latex\expl3\l3prop.sty")
("D:\Program Files\MiKTeX 2.8\tex\latex\expl3\l3msg.sty")
("D:\Program Files\MiKTeX 2.8\tex\latex\expl3\l3io.sty")
("D:\Program Files\MiKTeX 2.8\tex\latex\expl3\l3skip.sty")
("D:\Program Files\MiKTeX 2.8\tex\latex\expl3\l3box.sty")
("D:\Program Files\MiKTeX 2.8\tex\latex\expl3\l3keyval.sty")
("D:\Program Files\MiKTeX 2.8\tex\latex\expl3\l3keys.sty")
("D:\Program Files\MiKTeX 2.8\tex\latex\expl3\l3precom.sty")
("D:\Program Files\MiKTeX 2.8\tex\latex\expl3\l3xref.sty")
("D:\Program Files\MiKTeX 2.8\tex\latex\expl3\l3file.sty")
("D:\Program Files\MiKTeX 2.8\tex\latex\expl3\l3fp.sty")
("D:\Program Files\MiKTeX 2.8\tex\latex\expl3\l3luatex.sty")
("D:\Program Files\MiKTeX 2.8\tex\latex\expl3\l3font.sty")
("D:\Program Files\MiKTeX 2.8\tex\latex\tools\calc.sty"))
("D:\Program Files\MiKTeX 2.8\tex\latex\xpackages\xbase\xparse.sty")
("D:\Program Files\MiKTeX 2.8\tex\generic\binhex\binhex.tex")
("D:\Program Files\MiKTeX 2.8\tex\latex\xkeyval\xkeyval.sty"
("D:\Program Files\MiKTeX 2.8\tex\generic\xkeyval\xkeyval.tex"))
("D:\Program Files\MiKTeX 2.8\tex\latex\fontspec\fontspec-patches.sty"
("D:\Program Files\MiKTeX 2.8\tex\latex\base\fixltx2e.sty"))
("D:\Program Files\MiKTeX 2.8\tex\latex\base\fontenc.sty"
======================================================================
starting package maintenance...
installation directory: "D:\Program Files\MiKTeX 2.8"
package repository: http://ftp.fernuni-hagen.de/ftp-dir/pub ... /packages/
lightweight database digest: f54154f82f6377f3441d6cbfbb30326b
going to download 156297 bytes
going to install 18 file(s) (1 package(s))
downloading http://ftp.fernuni-hagen.de/ftp-dir/pub ... c.tar.lzma...
156297 bytes, 111.01 KB/Sec
extracting files from euenc.tar.lzma...
======================================================================

======================================================================
starting package maintenance...
installation directory: "D:\Program Files\MiKTeX 2.8"
package repository: http://ftp.fernuni-hagen.de/ftp-dir/pub ... /packages/
lightweight database digest: f54154f82f6377f3441d6cbfbb30326b
going to download 156297 bytes
going to install 18 file(s) (1 package(s))
downloading http://ftp.fernuni-hagen.de/ftp-dir/pub ... c.tar.lzma...
156297 bytes, 207.67 KB/Sec
extracting files from euenc.tar.lzma...
======================================================================

("D:\Program Files\MiKTeX 2.8\tex\latex\euenc\eu1enc.def")
======================================================================
starting package maintenance...
installation directory: "D:\Program Files\MiKTeX 2.8"
package repository: http://ftp.fernuni-hagen.de/ftp-dir/pub ... /packages/
lightweight database digest: f54154f82f6377f3441d6cbfbb30326b
going to download 156297 bytes
going to install 18 file(s) (1 package(s))
downloading http://ftp.fernuni-hagen.de/ftp-dir/pub ... c.tar.lzma...
156297 bytes, 100.68 KB/Sec
extracting files from euenc.tar.lzma...
======================================================================

======================================================================
starting package maintenance...
installation directory: "D:\Program Files\MiKTeX 2.8"
package repository: http://ftp.fernuni-hagen.de/ftp-dir/pub ... /packages/
lightweight database digest: f54154f82f6377f3441d6cbfbb30326b
going to download 156297 bytes
going to install 18 file(s) (1 package(s))
downloading http://ftp.fernuni-hagen.de/ftp-dir/pub ... c.tar.lzma...
156297 bytes, 78.15 KB/Sec
extracting files from euenc.tar.lzma...
======================================================================

("D:\Program Files\MiKTeX 2.8\tex\latex\euenc\eu1lmr.fd"))
("D:\Program Files\MiKTeX 2.8\tex\xelatex\xunicode\xunicode.sty"
*** you should *not* be loading the inputenc package
*** XeTeX expects the source to be in UTF8 encoding
*** some features of other encodings may conflict, resulting in poor output.
)
======================================================================
starting package maintenance...
installation directory: "D:\Program Files\MiKTeX 2.8"
package repository: http://ftp.fernuni-hagen.de/ftp-dir/pub ... /packages/
lightweight database digest: f54154f82f6377f3441d6cbfbb30326b
going to download 2958562 bytes
going to install 9 file(s) (1 package(s))
downloading http://ftp.fernuni-hagen.de/ftp-dir/pub ... c.tar.lzma...
2958562 bytes, 120.46 KB/Sec
extracting files from fontspec.tar.lzma...
xelatex.EXE: Windows API error 32: Der Prozess kann nicht auf die Datei zugreifen, da sie von einem anderen Prozess verwendet wird.

xelatex.EXE: Data: D:\Program Files\MiKTeX 2.8\tex/latex/fontspec/fontspec.sty
======================================================================
("D:\Program Files\MiKTeX 2.8\tex\latex\fontspec\fontspec.cfg"))
("D:\Program Files\MiKTeX 2.8\tex\latex\xltxtra\xltxtra.sty"
("D:\Program Files\MiKTeX 2.8\tex\generic\oberdiek\ifluatex.sty")
("D:\Program Files\MiKTeX 2.8\tex\latex\ifxetex\ifxetex.sty")
("D:\Program Files\MiKTeX 2.8\tex\latex\realscripts\realscripts.sty")
("D:\Program Files\MiKTeX 2.8\tex\latex\metalogo\metalogo.sty"
("D:\Program Files\MiKTeX 2.8\tex\latex\graphics\graphicx.sty"
("D:\Program Files\MiKTeX 2.8\tex\latex\graphics\graphics.sty"
("D:\Program Files\MiKTeX 2.8\tex\latex\graphics\trig.sty")
("D:\Program Files\MiKTeX 2.8\tex\latex\00miktex\graphics.cfg")
("D:\Program Files\MiKTeX 2.8\tex\xelatex\xetex-def\xetex.def")))))
("D:\Program Files\MiKTeX 2.8\tex\latex\german\ngerman.sty" v2.5e 1998-07-08)
("D:\Program Files\MiKTeX 2.8\tex\latex\tools\multicol.sty")
("D:\Program Files\MiKTeX 2.8\tex\latex\ieeepes\vmargin.sty"
Package `vmargin', V2.2, <1999/06/01>
)
("C:\Documents and Settings\Soung-U\My Documents\Linguistik\BA-Arbeit\Tex\Valen
zklassen.aux")
*** you should *not* be loading the inputenc package
*** XeTeX expects the source to be in UTF8 encoding
*** some features of other encodings may conflict, resulting in poor output.
[1]
("C:\Documents and Settings\Soung-U\My Documents\Linguistik\BA-Arbeit\Tex\Valen
zklassen.aux") )
(see the transcript file for additional information)
Output written on Valenzklassen.pdf (1 page).
SyncTeX written on Valenzklass.synctex.gz

Thanks!
Last edited by sunnyriegel on Wed Apr 13, 2011 10:48 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

What is XeLaTeX doing?

Post by localghost »

Hard to say what is going wrong. Perhaps a malfunction during installation or a failed configuration. I suggest to install the current MiKTeX 2.9 and try again.

Some messages in the log file are very suspicious. Right after the last attempt to install fontspec there is a system message.

Code: Select all

xelatex.EXE: Windows API error 32: Der Prozess kann nicht auf die Datei
zugreifen, da sie von einem anderen Prozess verwendet wird.
And perhaps you should listen to some other things the XeLaTeX engine is telling you.

Code: Select all

*** you should *not* be loading the inputenc package
*** XeTeX expects the source to be in UTF8 encoding
*** some features of other encodings may conflict,
    resulting in poor output.
So drop inputenc and also fontenc. They are not for use with XeLaTeX. Furthermore you should use polyglossia instead of babel for typesetting with XeLaTeX.

And by the way, it is better to attach complete files by uploading them to the forum server. This also improves the legibility of a post.


Best regards and welcome to the board
Thorsten
CrazyHorse
Posts: 351
Joined: Sat Aug 02, 2008 8:47 am

What is XeLaTeX doing?

Post by CrazyHorse »

sunnyriegel wrote: I'm using Miktex 2.8 and writing with TexWorks.
I've just been working on my BA-thesis and I need to type
Classical Mongolian and Korean. Please take a look at my preamble:

\documentclass[a4paper,12pt,leqno]{scrartcl}

\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}

\usepackage{fontspec}
\usepackage{xunicode}
\usepackage{xltxtra}

\usepackage[ngerman]{babel}

\usepackage{multicol}
With xelatex use

Code: Select all

\documentclass[a4paper,12pt,leqno]{scrartcl}
\usepackage{fontspec}
\usepackage{polyglossia}
\setmainlanguage{german}
\usepackage{multicol}
...
xelatex needs a lot of packages which must be installed the first time, as can already be seen in the log file.

Herbert
sunnyriegel
Posts: 3
Joined: Tue Apr 12, 2011 9:21 pm

Re: What is XeLaTeX doing?

Post by sunnyriegel »

Hi Thorsten,

thank you very much for welcoming me and giving me your
valuable advices about posting here. I'll keep that in mind.

The initial problem is solved, I just downloaded MiKTex 2.9
and now xelatex works in principal.

I will post every other question after I've looked for existing posts.

Thanks!
Post Reply