# [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.
Wilfred

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

Hi,

--- 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 ===

...

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

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.
[3]
! Undefined control sequence.
\f at ncyerh ->\slshape \booktitle
\strut
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.

SK

--
Shakthi Kannan
http://www.shakthimaan.com

--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
http://tug.org/mailman/listinfo/xetex

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