[XeTeX] xecjk and listings packages incompatible?

Ulrike Fischer news3 at nililand.de
Tue Jun 9 11:16:04 CEST 2015


Am Tue, 9 Jun 2015 05:29:03 +0000 schrieb Daniel Greenhoe:

> When I try to use the xecjk and listings packages together, I get
> error messages that include the following:
> 
> ! LaTeX error: "kernel/message-already-defined"
> ! Message 'Require-XeTeX' for module 'xeCJK' already defined.
> ! Emergency stop.
> \usepackage{xecjk}

The name of the package is xeCJK. 

> LaTeX Warning: You have requested package `xecjk',
>                but the package provides `xeCJK'.


Because of the wrong name xeCJK got loaded twice. You would get the
same error with this document:

\documentclass{article}

\usepackage{xecjk}
\usepackage{xeCJK}

\begin{document}%
blub
\end{document}

-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/



More information about the XeTeX mailing list