[tex-live] Polyglossia breaks XeLaTeX

Haines Brown haines at histomat.net
Sat Sep 1 16:20:40 CEST 2012


I'm running TL2011 under Debian Squeeze in user's home.

Documents compile with xelatex, but if \usepackage{polyglossia} 
appears in the preamble, I get "XeLaTeX: done" when I compile, but no 
pdf and no log file.
 
When I compile with a xetex command in a terminal I get this error
message:

  ...
  No configuration file fmtcount.cfg found.
  ))
  *************************************************
  * xeCJK warning: "no-CJKfamily"
  * 
  * It seems that you have not declare a CJKfamily.
  * If you want to use xeCJK in the right way, you should use
  * 
  * \xeCJKmainfont[...]{...}
  * 
  * in the preamble to declare the main CJKfamily.
  * 
  *************************************************

However, these lines in the preamble don't cause trouble if 
polyglossia is not in the preamble:

  \usepackage{xeCJK}  
  \newfontfamily\Chinese{AR PL KaitiM GB}

The log says:

  This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2011)
    (format=pdflatex 2011.10.30 entering extended mode
  restricted \write18 enabled.
  file:line:error style messages enabled.
  ...
  ~/texlive/2011/texmf-dist/tex/latex/xltxtra/xltxtra.sty:26:
   ********************************************
   * XeTeX is required to compile this document.
   * Sorry!
   ********************************************.
  \RequireXeTeX ...********************************}
                                                  \endgroup \fi
  l.26 \RequireXeTeX
  ...
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  !
  ~/texlive/2011/texmf-dist/tex/latex/fontspec/fontspec.sty:38: Fatal
  fontspec error: "cannot-use-pdftex"
  !
  ! The fontspec package requires either XeTeX or LuaTeX to function. 
  !
  ! You must change your typesetting engine to, e.g., "xelatex" or "lualatex"
  ! instead of plain "latex" or "pdflatex".
  !
  ! See the fontspec documentation for further information.
  !
  ! For immediate help type H <return>.
  !...............................................

  l.38 }
  
  |'''''''''''''''''''''''''''''''''''''''''''''''
  | This is a fatal error: LaTeX will abort
  |...............................................


Haines Brown


More information about the tex-live mailing list