LaTeX forum ⇒ General ⇒ End occured inside a group at level 1?

LaTeX specific issues not fitting into one of the other forums of this category.
kmcfarlane
Posts: 7
Joined: Fri Jan 25, 2008 8:20 pm

End occured inside a group at level 1?

I have a fairly complex document, made of a set of files to typeset. I'm using WinShell3.3 and MiKTeX 2.7. I am using a .cls file that loads report.cls and modifies page layout using fancyhdr. I get the following warning message at the end of the job (which produces a complete and OK document BTW):
**********
)
(\end occurred inside a group at level 1)

### semi simple group (level 1) entered at line 30 (\begingroup)
### bottom level

I've dropped the files one at a time to see if the warning goes away, but it seems to be fundamental.

Can someone tell me what a level is? What a semi simple group is?
Knowing how to identify level and type of group might help.

josephwright
Site Moderator
Posts: 814
Joined: Tue Jul 01, 2008 2:19 pm
You have a group open somewhere that is not closed. This is likely to be a bug in some support package (although there are exceptions). Can you post an example which shows the problem?

(TeX is saying you have \begingroup without a matching \endgroup, but this can be because something else is wrong.)
Joseph Wright

kmcfarlane
Posts: 7
Joined: Fri Jan 25, 2008 8:20 pm
Apologies for taking so long to respond. Thanks for the comment. I have uploaded the log file. As you can see, the document uses over 50 packages. Maybe there is something obvious.

I may try to strip out pieces one by one, to identify the issue, and make a simple complete example.
Attachments
COSM_main-1.0.log
Log file with 'end occured' error.

josephwright
Site Moderator
Posts: 814
Joined: Tue Jul 01, 2008 2:19 pm
TeX says:

### semi simple group (level 1) entered at line 30 (\begingroup)

What is on line 30 of your source?
Joseph Wright