你能帮帮我吗?我使用的是 Windows 8.1 64 位、MiKTeX 2.9,我无法将 xelatex 与 texmaker 一起使用,当我编译时,我收到包含所有文件的此消息:log file not found
。我试过了settings(admin)->formats -> build format
,但没有成功!我得到了这个记录:
Creating the xelatex format file...
Running miktex-xetex.exe...
This is XeTeX, Version 3.14159265-2.6-0.99992 (MiKTeX 2.9 64-bit) (INITEX)
entering extended mode
("C:/Program Files/MiKTeX 2.9/tex/latex/latexconfig/xelatex.ini"
("C:\Program Files\MiKTeX 2.9\tex\latex\base\latex.ltx"
("C:\Program Files\MiKTeX 2.9\tex\latex\00miktex\texsys.cfg")
./texsys.aux found
\@currdir set to: ./.
Assuming \openin and \input
have the same search path.
Defining UNIX/DOS style filename parser.
catcodes, registers, compatibility for TeX 2, parameters,
LaTeX2e <2011/06/27>
hacks, control, par, spacing, files, font encodings, lengths,
====================================
Local config file fonttext.cfg used
====================================
("C:\Program Files\MiKTeX 2.9\tex\latex\00miktex\fonttext.cfg"
("C:\Program Files\MiKTeX 2.9\tex\latex\base\fonttext.ltx"
=== Don't modify this file, use a .cfg file instead ===
("C:\Program Files\MiKTeX 2.9\tex\latex\base\omlenc.def")
("C:\Program Files\MiKTeX 2.9\tex\latex\base\t1enc.def")
("C:\Program Files\MiKTeX 2.9\tex\latex\base\ot1enc.def")
("C:\Program Files\MiKTeX 2.9\tex\latex\base\omsenc.def")
("C:\Program Files\MiKTeX 2.9\tex\latex\base\t1cmr.fd")
("C:\Program Files\MiKTeX 2.9\tex\latex\base\ot1cmr.fd")
("C:\Program Files\MiKTeX 2.9\tex\latex\base\ot1cmss.fd")
("C:\Program Files\MiKTeX 2.9\tex\latex\base\ot1cmtt.fd")))
====================================
Local config file fontmath.cfg used
====================================
("C:\Program Files\MiKTeX 2.9\tex\latex\00miktex\fontmath.cfg"
("C:\Program Files\MiKTeX 2.9\tex\latex\base\fontmath.ltx"
=== Don't modify this file, use a .cfg file instead ===
("C:\Program Files\MiKTeX 2.9\tex\latex\base\omlcmm.fd")
("C:\Program Files\MiKTeX 2.9\tex\latex\base\omscmsy.fd")
("C:\Program Files\MiKTeX 2.9\tex\latex\base\omxcmex.fd")
("C:\Program Files\MiKTeX 2.9\tex\latex\base\ucmr.fd")))
====================================
Local config file preload.cfg used
=====================================
("C:\Program Files\MiKTeX 2.9\tex\latex\base\preload.cfg"
("C:\Program Files\MiKTeX 2.9\tex\latex\base\preload.ltx")) page nos., x-ref,
environments, center, verbatim, math definitions, boxes, title, sectioning,
contents, floats, footnotes, index, bibliography, output,
===========================================
Local configuration file hyphen.cfg used
===========================================
("C:\Program Files\MiKTeX 2.9\tex\generic\babel\hyphen.cfg"
("C:\Program Files\MiKTeX 2.9\tex\generic\babel\xebabel.def")
("C:\Program Files\MiKTeX 2.9\tex\generic\babel\switch.def")
("C:\Program Files\MiKTeX 2.9\tex\generic\hyphen\hyphen.tex")
("C:\Program Files\MiKTeX 2.9\tex\generic\hyph-utf8\loadhyph\loadhyph-af.tex"
UTF-8 Afrikaans hyphenation patterns
("C:\Program Files\MiKTeX 2.9\tex\generic\hyph-utf8\patterns\tex\hyph-af.tex")
("C:\Program Files\MiKTeX 2.9\tex\generic\hyph-utf8\patterns\quote\hyph-quote-a
f.tex"))
("C:\Program Files\MiKTeX 2.9\tex\generic\hyph-utf8\loadhyph\loadhyph-grc.tex"
UTF-8 Hyphenation patterns for Ancient Greek
("C:\Program Files\MiKTeX 2.9\tex\generic\hyph-utf8\patterns\tex\hyph-grc.tex"
! Nonletter.
l.44 α
1 ε1 η1 ι1 ο1 Ï…1 ω1 ÏŠ1 Ï‹1 á¼€1 á¼1 ἂ1 ἃ1 ἄ1 á¼…1 ἆ1 ...
No pages of output.
Transcript written on xelatex.log.
Sorry, but miktex-makefmt did not succeed for the following reason:
miktex-xetex.exe failed on xelatex.ini.
The log file hopefully contains the information to get MiKTeX going again:
C:/Users/Haouam/AppData/Local/MiKTeX/2.9/miktex/log/miktex-makefmt.log
You may want to visit the MiKTeX project page, if you need help.
Sorry, but "MiKTeX Configuration Utility" did not succeed.
The log file hopefully contains the information to get MiKTeX going again:
C:/Users/Haouam/AppData/Local/MiKTeX/2.9/miktex/log/initexmf.log
You may want to visit the MiKTeX project page, if you need help.
我的 MWE :
\documentclass[12pt,a4paper]{book}
\usepackage{fontspec}
\defaultfontfeatures{Mapping=tex-text}
\usepackage{xunicode}
\usepackage{xltxtra}
\usepackage{libertine}
\usepackage{polyglossia}
\setdefaultlanguage{french}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{lipsum}
\begin{document}
\lipsum[1-3]
\end{document}
有什么建议吗?