[XeTeX] Copyright page with \pagestyle{empty} clears all styles

Shakthi Kannan shakthimaan at gmail.com
Sun Feb 7 05:39:19 CET 2016


--- On Sun, Feb 7, 2016 at 2:59 AM, Herbert Schulz
<herbs at wideopenwest.com> wrote:
| But I thought there was a problem with using \thispagestyle with his
| package.


When including the copyright page, I am not able to use \thispagestyle
in this line:


Also, I reset the pagestyle to plain, and hence the fancyhdr settings
are not seen in the chapter pages. See page 8 at:


I tried using the following in config.sty (after the \chaptermark definition):

=== Re-defining plain ===

  \fancyfoot{} % clear all fields

  \fancyhead[RE]{\slshape \booktitle}

=== END ===

But, I get this error when I try to generate the PDF:

=== ERROR ===

Package Fancyhdr Warning: \headheight is too small (12.0pt):
 Make it at least 13.59999pt.
 We now make it that large for the rest of the document.
 This may cause the page layout to be inconsistent, however.

! Undefined control sequence.
\f at ncyerh ->\slshape \booktitle
l.46 \cleardoublepage

? q
OK, entering \batchmodeMakefile:15: recipe for target 'book.pdf' failed
make: *** [book.pdf] Error 1

=== END ===

Any suggestions?


Shakthi Kannan

More information about the XeTeX mailing list