# Error too many }'s [closed]

I writing a thesis chapter that incorporates a large table with bibtex cross-references, and two TIFF figures. If I compile document up to the table, it works fine. When I include figures and remaining text, I start getting errors: too many}'s and begin document ended by end {table}, and similarly, ended by end{figures}... I checked that there is no open or extra } in table as well as figures. What is cause for this error? Any guess ...

Is there a work around to fix this issue? Alternatively, can I split this chapter into multiple files keeping chapter, section, page and citation numbering remains intact?

I am using LyX to write my chapters.

Please advice, and many thank to all experts for their valuable suggestions.

-
Please add a minimal working example (MWE) that illustrates your problem. This might be a case where building an MWE shows you what's wrong and how to fix it. – Seamus Jul 28 '11 at 14:03
Welcome to TeX.sx! You don't have to sign with your name since it automatically appears in the lower right corner of your post. – Martin Scharrer Jul 28 '11 at 14:17
The best way to solve this, without providing an MWE, would be to sequentially compile the code and isolate the problem. You mention that you do this already, but with LaTeX allowing nesting in many forms, consider commenting out nested structures sequentially as well. Also, How to best debug LaTeX may be of interest. – Werner Jul 28 '11 at 14:22
Splitting into multiple files is a standard LaTeX problem, you shouldn't have to ask here. – Reinhold Kainhofer Aug 28 '11 at 16:22
Do the figures and the texts you include compile for themselves, i.e. if surrounded by a minimal document structure? You might have something wrong in them, most probably an } too much somewhere – Ronny Jun 26 '12 at 11:23

## closed as too localized by Caramdir, lockstep, Andrew Stacey, percusse, egregJun 26 '12 at 22:37

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.

You can split you file into several. To keep the previous chapter etc structure you include them via the \input{filename} command. This, however, is from the compilation point of view the same as if the code was in the same file. Hence, this will probably not solve your problem. On the other hand, this easily allows you to remove larger parts of your code from compilation by just out commenting the \input command. Concerning a "guess" with your error. You type: \end{figures}. The plural is a typo only here? So even if the number of braces is ok, can be due to a forgotten backslash end{figure} instead of \end{figure} as in your post or you never end the figure environment due to \begin{figure} ... \end{figures}. Check for these kind of errors, too.