[XeTeX] \tableofcontents and [Glenn]fncychap conflict

Daniel Greenhoe dgreenhoe at gmail.com
Mon Dec 12 20:54:51 CET 2011


On Mon, Dec 12, 2011 at 6:13 AM, Daniel Greenhoe <dgreenhoe at gmail.com> wrote:
> I have been using the fncychap with the Glenn option for a long long
> time. But for some reason very recently, I get an error when I use it
> with \tableofcontents. The error I get is
>  "Use of \@icentercr doesn't match its definition."

An excellent question. This same problem and a solution by Ulrike
Fischer was posted more than three years ago:
  http://www.mofeel.net/809-comp-text-tex/2807.aspx

Someone also posted that the author of the (fncychap?) package should
be contacted. Does anyone know if he/she was contacted?

Dan

On Mon, Dec 12, 2011 at 6:13 AM, Daniel Greenhoe <dgreenhoe at gmail.com> wrote:
> I have been using the fncychap with the Glenn option for a long long
> time. But for some reason very recently, I get an error when I use it
> with \tableofcontents. The error I get is
>  "Use of \@icentercr doesn't match its definition."
> An example is below (see attachments also).
>
> \documentclass[12pt]{book}
>  \usepackage[Glenn]{fncychap}
> \begin{document}%
> \tableofcontents
> \chapter{test}
> test
> \chapter{test}
> test
> \chapter{test}
> test
> \chapter{test}
> test
> \end{document}%
>
> Many thanks in advance,
> Dan



More information about the XeTeX mailing list