Document Classesfancyhdr package produces emergency stop 'no legal\ end foun

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
brian
Posts: 2
Joined: Tue Oct 23, 2007 4:59 pm

fancyhdr package produces emergency stop 'no legal\ end foun

Post by brian »

I am a complete novice to Latex. (1 Beta 7.01) and MikTeX 2.5.2574

fancyhdr package produces emergency stop when you build the file

the log transcript says

'("C:\Program Files\MiKTeX 2.5\tex\latex\fancyhdr\fancyhdr.sty"
\fancy@headwidth=\skip43
\f@ncyO@elh=\skip44
\f@ncyO@erh=\skip45
\f@ncyO@olh=\skip46
\f@ncyO@orh=\skip47
\f@ncyO@elf=\skip48
\f@ncyO@erf=\skip49
\f@ncyO@olf=\skip50
\f@ncyO@orf=\skip51
))
! Emergency stop.
<*> D:/LATEX/trial06.tex

*** (job aborted, no legal \end found)'


I downloaded another copy of fancyhdr and but that made no difference

Any help most valued

Brian

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Re: fancyhdr package produces emergency stop 'no legal\ end foun

Post by gmedina »

Please post a minimal working example of the code responsible for the problem.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
brian
Posts: 2
Joined: Tue Oct 23, 2007 4:59 pm

Re: fancyhdr package produces emergency stop 'no legal\ end foun

Post by brian »

As I was preparing to send the code I realised that I had not ended the document I was trying to produce!

It now works fine on a test page.

Thank you for your interest
Post Reply