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

Wilfred van Rooijen wvanrooijen at yahoo.com
Sat Feb 6 14:42:59 CET 2016

This error seems related to fancyhdr. Apparently, the class file and one of the stylefiles you are using are causing a problem with the headers. This can happen, for example if the class file and one of the style files both attempt to set or redefine certain commands. To solve this kind of problem, you need to make a "minimal working example", i.e. a minimal file which triggers the error, and then try to figure out what the exact root of the problem is.

    On Saturday, February 6, 2016 10:19 PM, Shakthi Kannan <shakthimaan at gmail.com> wrote:


--- On Sat, Feb 6, 2016 at 5:00 PM, David Carlisle
<d.p.carlisle at gmail.com> wrote:
| That seems to be a general latex question rather than anything xetex
| related, but to affect just one page use \thispagestyle not \pagestyle

I did try \thispagestyle, but, I was not able to generate the PDF. It
fails with the following message:

=== BEGIN ===


No file book.aux.
*geometry* driver: auto-detecting
*geometry* detected driver: xetex
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ltxcmds.sty)) [1]
Underfull \hbox (badness 10000) in paragraph at lines 28--28

LaTeX Font Warning: Font shape `EU1/LohitTamil(0)/bx/n' undefined
(Font)              using `EU1/LohitTamil(0)/m/n' instead on input line 30.

No file book.toc.
! Undefined control sequence.
\f at ncyerh ->\slshape \booktitle
l.34 \mainmatter


=== END ===

I was able to generate the copyright with pdflatex from different
examples on the Internet. I thought this error was XeTeX specific, and
hence the e-mail.


Shakthi Kannan

Subscriptions, Archive, and List information, etc.:

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20160206/c7a96976/attachment-0001.html>

More information about the XeTeX mailing list