Troubleshooting
local graph
Chapter 14 — Troubleshooting
Section titled “Chapter 14 — Troubleshooting”Now that we have built complete documents and entire presentations, it’s time to look at what happens when things don’t work as expected. Sooner or later, every LaTeX project runs into errors or warnings. That’s perfectly normal and is often caused by minor issues, such as typos in command names or unbalanced braces. Even professional LaTeX users deal with errors daily; they know how to handle them efficiently. Let’s learn how to do that too.
In this chapter, we’ll look at how to deal with common problems in LaTeX, including the following:
- Understanding and fixing errors
- Handling warnings
- Avoiding obsolete classes and packages
- General troubleshooting
Let’s start by looking at how to resolve errors.
Understanding and fixing errors
Section titled “Understanding and fixing errors”When the LaTeX engine runs into a problem, it reports an error. These messages are meant to help, so it’s worth reading them carefully. Along with the line number where the problem occurred, LaTeX provides a short diagnostic message describing what went wrong.
Focus on the very first error message you see. If you continue compiling, any following errors are often just side effects of the original problem that confused the compiler.
Let’s create a small test document. You may know the classic “ Hello world!” example from learning programming languages—we’ll do the same in LaTeX. Though we are familiar with the special capitalization used in the words TeX and LaTeX, let’s see what happens if we try to use the \Latex command instead:
- Create a new document with these lines:
\documentclass{article}\begin{document}\Latex\ says: Hello world!\end{document}
- Compile the document. LaTeX will stop and report this error message:
! Undefined control sequence.l.3 \Latex\ says: Hello world!
- Click the Cancel button to stop compiling; in TeXworks, it’s the Cancel icon in the upper-left corner.
- In our code from step 1, go to line 3, and replace
\Latexwith\LaTeX. Then compile again. This time, LaTeX produces output without any errors:
Figure 14.1 – The output of the corrected document
Figure 14.1 – The output of the corrected document
LaTeX commands are case-sensitive. Since we didn’t respect that rule, LaTeX had to deal with a macro called \Latex, which it simply doesn’t know. Because a LaTeX command is also called a control sequence, the error message reports an Undefined control sequence.
When LaTeX encounters an error, it stops processing and waits for user input. You could press the Enter key to continue, though, but this often results in incomplete or incorrect output. In most cases, it’s better to cancel the compilation and correct the error right away.
Let’s break down the error message into its main parts:
- An error message starts with an exclamation mark, followed by a short description of the problem
- Next, LaTeX indicates the input line number where the error occurred and highlights the portion of that line that caused it
- After a line break, LaTeX prints the remaining part of the input line for context
So, you’re not left guessing. LaTeX tells you precisely what you need to know:
- The type of error
- The precise location where it happened
Most editors either display the line number or allow you to jump to the line number you enter. As you can now easily find the problematic spot in the source code, you only need to know why LaTeX is complaining—that’s what we’ll look at in the following sections.
If you’re using Overleaf, there’s one small caveat: Overleaf hides the error messages, continues compiling, and shows output even when an error occurs. The following screenshot shows how our document looks in Overleaf with the error present:

Figure 14.2 – A code error seen in Overleaf
Figure 14.2 – A code error seen in Overleaf
At first glance, our document appears to compile. But on closer inspection, we notice the following:
- At the beginning, the word
LaTeXis missing - A small red number appears above the output
That small red number indicates an error and should not be ignored. Otherwise, as we saw here, we may get a document with missing or incorrect output, and in a large document, that might be hard to notice.
Click the red number to open a window with the error message:

Figure 14.3 – An error message in Overleaf
Figure 14.3 – An error message in Overleaf
Now we can see the full error message, the explanation, and the exact location at line 3. In Figure 14.2, the problematic line 3 is marked with a red cross. You can view the complete log file with detailed information, errors, and warnings by clicking View Raw Logs in the lower-left corner.
Next, we’ll take a closer look at common TeX and LaTeX error messages. We’ll go through them step by step in the following sections, starting with errors that occur in the preamble.
Handling the preamble and document body
Section titled “Handling the preamble and document body”The preamble contains all document-wide settings. This is where we choose the document class, load packages, set options, and define commands. The \begin{document} command marks the end of the preamble and the start of the document body, where the actual content goes. If something goes wrong with this structure, LaTeX will typically report one of the following errors:
- Missing \begin{document}: In many cases, that simply means that the
\begin{document}command was forgotten. However, the error can also appear if the command is present. A common reason is that a character or command in the preamble produces output; you can spot and remove it. Just remember that output is not allowed before\begin{document}. - Can be used only in preamble: This error message indicates that a command that is meant to be used in the preamble was used after
\begin{document}. A typical example is the\usepackagecommand. Move the command back up into your preamble or remove it if it doesn’t belong there. - Option clash for package: An option clash occurs when LaTeX loads a package more than once but with different options. That can happen if you have two
\usepackage{…}lines for the same package in your document preamble. If you did that, it’s usually better to reduce it to one\usepackagecall with the desired options. Sometimes the cause is less obvious: a class or a package may already load the package along with some options. If you want to load the package too, but with different options, LaTeX complains.
You could resolve an option clash by omitting the package reload and specifying the desired options in the document class options. Remember, packages inherit class options. Some packages and classes even offer commands to set options after loading. For example, the hyperref package provides \hypersetup{options}, and similarly, the caption package offers \captionsetup.
In the following sections, we will look at common issues in the document body.
Using commands and environments
Section titled “Using commands and environments”Command names might be easily misspelled or misused. Let’s check out LaTeX’s common complaints:
- Undefined control sequence: As in our example in the previous section, LaTeX stumbled across an unknown command name. There are two possible reasons:
- The command name might be misspelled. In that case, you just need to correct it and restart the typesetting.
- The command name is correct, but it’s defined by a package you didn’t load. Add a
\usepackagecommand to your preamble to load the required package.
- The command name is correct, but it’s defined by a package you didn’t load. Add a
- The command name might be misspelled. In that case, you just need to correct it and restart the typesetting.
- Environment undefined: This is similar to Undefined control sequence, but this time, we began an unknown environment. Again, this may be caused by a misspelling or by a missing package—you know how to correct it.
- Command already defined: This happens when you create a command with a name that’s already used, for example, with
\newcommandor\newenvironment. Just choose a different name. If you would really like to override that command, use\renewcommandor\renewenvironmentinstead, but be careful with redefining an existing command: if it’s already used internally by LaTeX or packages, changing it can cause side effects. - Missing control sequence inserted: A control sequence was expected but didn’t appear. A common cause is using
\newcommand,\renewcommand, or\providecommandwithout specifying a command name as the first argument. - \verb illegal in command argument: The
\verbcommand for producing verbatim text is a delicate one; it cannot be used within arguments of commands or environments. Theexampleppackage offers commands for using verbatim text in such places.
Of this list, the very first error is probably the one that happens most often, since typing errors happen as easily as forgetting to load a package.
Writing math formulas
Section titled “Writing math formulas”When LaTeX encounters an error during typesetting math expressions, one of the following error messages can occur:
- **Missing `. Forgetting to start or end math mode is one of the most frequent mistakes. Also, remember that you cannot use paragraph breaks inside a math expression. This means that blank lines within a math expression are illegal; we have to end math mode before the blank line.
- Command invalid in math mode: Some commands are not applicable within math formulas. In that case, use the command outside math mode.
- Double subscript, double superscript: Two subsequent subscripts or superscripts cannot be compiled. For example, in
$a_n_1$, LaTeX cannot decide ifa_nshould have a subscript1, or ifashould have a subscriptn_1. To correct that, group them by braces, such as in$a_{n_1}$. - Bad math environment delimiter: This can result from illegally nesting math mode. You must not start math mode if you are already inside math mode. For example, don’t use
\within anequationenvironment. Similarly, you must not end math mode before you start it. Ensure that your math mode delimiters match and that braces are balanced.
In [Chapter 9, Writing Math Formulas, we learned how to avoid such errors.
Working with files
Section titled “Working with files”If LaTeX cannot open a file for you, it can raise one of the following errors:
- File not found: LaTeX tried to open a nonexistent file. Possibly, you did one of the following:
- Used
\includeor\inputto include a.texfile, but a file with the specified name doesn’t exist- The file has spaces or special characters in the name; better avoid that
- Tried to use a nonexistent package or misspelled the package’s name
- Used a document class that doesn’t exist or has a different name
- Used
Just correct the filename in your input document or rename the file.
- \include cannot be nested: We learned in Chapter 11, Developing Large Documents, that we cannot use the
\includecommand within a file that is being included itself. Instead, we use\inputwithin such files.
It’s good to avoid special characters and spaces in filenames. Both LaTeX and the operating system may have issues with unusual characters in filenames, so it’s good to stick to common letters, digits, dashes, and underscores.
Creating tables and arrays
Section titled “Creating tables and arrays”Admittedly, tabular and array environments don’t have the most straightforward syntax. Those & and \\ might easily be misplaced, which causes LaTeX to complain. Further, we need to be careful with the formatting of arguments. These are the possible errors you might see regarding arguments to the environment:
- Illegal character in array arg: In the argument to a
tabularor anarrayenvironment, you can specify the column formatting. You line up characters such asl,c,r,p,@, and width arguments such as{1cm}. If you use any character that doesn’t have such a meaning, LaTeX will tell you. The same applies to the formatting argument of\multicolumn. - Missing p-arg in array arg: A bit more specific than the previous message, this tells us that the width argument to the
poption is missing. Supplementpwith a width such as{1cm}or changepto another option, such asl,c, orr. - Missing @-exp in array arg: The expression after the
@option is missing. You just need to add it, in curly braces, or remove the@option.
Now we shall take a look at the potential error messages concerning the table body:
- Misplaced alignment tab character &: As you know, the ampersand character has the special meaning of separating columns in a row of a tabular or array environment. If you accidentally use it in regular text, this error will appear. Type
\&if you desire an ampersand symbol in the output. - Extra alignment tab has been changed to \cr: This happens if you use too many
&alignment tab characters, which are for dividing columns. For example, with two columns, we cannot have four&characters as column dividers. Such an error can happen if we forget to add\\, which ends a row.
In Chapter 5, Creating Tables, we discussed the proper syntax to avoid such errors.
Working with lists
Section titled “Working with lists”Lists follow a specific structure and cannot be endlessly nested. At some point, LaTeX may complain, such as in the following error messages:
- Too deeply nested: We can nest up to four levels of a list. If we mix list types, we can go up to six levels. But if we go further than what LaTeX accepts, we will get this error message. Think about it if you really need deep nesting. If this is the case, consider using sectioning commands such as
\paragraphor\subsubsectionfor outer levels. - Something’s wrong—perhaps a missing \item: An
\itemcommand is missing. We may have simple text in anitemizeorenumeratelist. Then we need to insert an\itemcommand before that text.
In Chapter 4, Creating Lists, we learned the proper list syntax.
Working with floating figures and tables
Section titled “Working with floating figures and tables”In Chapter 5, Creating Tables, and Chapter 6, Including Images, we learned how to insert figures and tables and adjust their placement. If you use a lot of floating objects, that is, figures or tables, you might encounter this error: Too many unprocessed floats.
If you use a floating object and LaTeX doesn’t find an appropriate place (e.g., there might be no space), it saves the object for later placement. If that happens often, LaTeX’s room for floating objects may fill up, causing this error. It may be solved as follows:
- By adding placement options, such as
[htbp!], to thefigureandtableenvironments, thus lowering their placement requirements - By inserting
\clearpageto flush out the floats at a suitable place, or perhaps even cleverer:\afterpage{\clearpage}with theafterpagepackage
In the final section, we examine other potential error scenarios.
General syntax errors
Section titled “General syntax errors”Just as with any markup or programming language, LaTeX’s documents have to follow a syntax. For example, braces and delimiters have to match. If there’s a mistake, LaTeX will point to it:
- Missing { inserted, missing } inserted: Though it reads as unbalanced braces might cause it, it may be due to TeX being confused. Most likely, the error occurred before the point where LaTeX reports it. So, check the syntax used thoroughly.
- Extra }, or forgotten $: This time, there’s a problem with unbalanced braces, or math mode delimiters don’t match correctly. You need to correct the matching.
- There’s no line here to end: Using
\\or\newlinebetween paragraphs in vertical mode is not meaningful and causes this error. Don’t try to get more vertical space by writing\\. Use\vspaceinstead, or other skip commands such as\bigskip,\medskip, or\smallskip. For instance, we can produce a blank line with\vspace{\baselineskip}.
The frequently asked questions list for TeX and LaTeX, called TeX FAQ, lists error messages together with explanations and suggestions. It’s available at https://texfaq.org/#errors.
Once we fix all errors, there may still be some flaws in the document. LaTeX prints out warnings if it sees a potential issue. In the next section, we will see how to deal with them.
Handling warnings
Section titled “Handling warnings”Warning messages are for your information. They don’t always point to a severe problem, but often it’s a good idea to read these tips carefully and act accordingly. This may improve your document.
We will test this now. Let’s say we want to emphasize text that is in a sans-serif font. We expect italic sans-serif text as a result.
Let’s try this:
- Take our “
Hello world!” example and modify it this way:\documentclass{article}\renewcommand{\familydefault}{\sfdefault}\begin{document}\emph{Hello world!}\end{document} - Compile. LaTeX will print out a warning in the log file:
LaTeX Font Warning: Font shape \`OT1/cmss/m/it' in size <10> not available(Font) Font shape \`OT1/cmss/m/sl' tried instead on input line 4.
- Check the output:

Figure 14.4 – Slanted shape instead of italic shape
Figure 14.4 – Slanted shape instead of italic shape
The \familydefault macro stands for the default font family used in the LaTeX document. For this macro, we specified the \sfdefault value, which is the default sans-serif font. This means sans-serif is now the default, regardless of the chosen font. As you can imagine, other possible values are \rmdefault and \ttdefault. By changing \familydefault, we don’t have to write \sffamily repeatedly.
But then we emphasized our text and got a warning. The message means that there’s no Computer Modern Sans Serif (CMSS) font in the default OT1 font encoding, in medium weight (m) and italic shape (it) in 10pt size. Furthermore, LaTeX told us how it tried to repair the problem – instead of italics, it chose a slanted shape. That’s not too bad – at least it looks similar, and the output is produced.
This is basically what happens when warnings occur: LaTeX informs us of a potential problem or disadvantage, then tries to choose the best alternative and continues typesetting. It’s not uncommon for a longer document to produce dozens of warnings, most often related to horizontal or vertical justification.
Often, it doesn’t hurt if you ignore warnings that don’t seem very serious, though following them up is a good habit. Anyone who desires to have a perfect document fixes all warnings. This way, we cannot overlook a potential problem.
In the following sections, we will deal with frequently occurring situations with warnings.
Justifying text
Section titled “Justifying text”By default, LaTeX aligns the text at both the left and right margins. LaTeX does this by adjusting the space between words and letters. That is called full justification.
If LaTeX cannot achieve that, we may get one of the following warnings:
- Overfull \hbox: A line is too long and doesn’t fit the text width. This may cause text to extend past the margin. This may be caused by hyphenation problems, which we can fix by using
\hyphenationor by inserting\-, as you learned in Chapter 2, Formatting Text and Creating Macros. You could break the line manually or polish your words otherwise. - Underfull \hbox: The opposite of the previous warning; a line is not wide enough to fit the text width, so LaTeX could not achieve full justification. This could be caused by
\linebreak, if there’s not enough text on the line. Also,\\or\newlinemay cause it, such as\\\\, since the text justification has been interrupted. - Overfull \vbox: The page is too long because TeX could not break it accordingly. The text might hang out past the bottom margin.
- Underfull \vbox: There’s not enough text on the page. TeX had to break the page too early.
In Chapter 2, Formatting Text and Creating Macros, we learned how to improve the justification, reducing such warnings. Remember, already loading the microtype package may help.
The \sloppy declaration switches to a pretty relaxed type of type-setting, thus avoiding many such warnings. Its counterpart is \fussy, switching back to the default behavior. Suppose you ever want to use \sloppy because a relaxed typesetting with possibly more stretched spacing is okay for you, then it’s better to keep it local by grouping or by using the respective environment— \begin{sloppypar} … \end{sloppypar}.
Additionally, check out recommendations and alternatives regarding \sloppy in l2tabu, mentioned in Chapter 11, Developing Large Documents.
Referencing
Section titled “Referencing”Many warnings deal with referencing. Common mistakes include missing labels or cite keys, duplicate keys, or just needing another typeset run.
The following warnings can occur:
- Label multiply defined:
\labelor\bibitemhas been used with a label name that’s already been used. Make label names unique; remember what we did in Chapter 7*, Using Cross-References*. - There were multiply-defined labels: Like the previous warning, but after processing the complete document, two
\labelcommands have defined the same label. - Labels may have changed. Rerun to get cross-references right: Just typeset again to let LaTeX correct the referencing.
- Reference… on page… undefined:
\refor\pagerefhas been used without a corresponding\labeldefinition. Insert a\labelcommand at a suitable place. - Citation… on page… undefined: A
\citecommand did not have a corresponding\bibitemcommand, or no BibTeX key in the.bibfile. - There were undefined references or citations: Summarizing after processing—any
\refor\citecommand did not have a corresponding\labelor\bibitemcommand.
Whenever you get warnings regarding referencing, it’s a good idea to rerun typesetting. Often, such warnings then disappear because LaTeX couldn’t resolve all references during the first run.
Choosing fonts
Section titled “Choosing fonts”When LaTeX cannot use a font as needed, it may print one of the following warnings:
- Font shape … in size <…> not available: You chose a font that’s not available. This may be the result of combining font commands that produce a nonexistent font. Also, it could just be unavailable in that size. LaTeX will choose a different font or size and inform you about that choice in detail.
- Some font shapes were not available, defaults substituted: LaTeX prints this after processing the entire document if any of the chosen fonts were unavailable.
Check where such a warning occurs to see if the font size and shape are okay for you. Otherwise, you may consider using another font, as we did in Chapter 10, Using Fonts.
Placing figures and tables
Section titled “Placing figures and tables”Even if there are no errors, LaTeX may not be able to place a figure or table properly. In such a case, LaTeX may show one of the following warnings:
- Float too large for page: A figure or table is too large to fit the page. It would be printed, but the page would become too large.
- h float specifier changed to ht: If you specified an
hoption to a floating figure or table that doesn’t fit there, it would be placed at the top of the next page, and that warning would be issued. The same can occur for!hand!ht.
Using all available placement options, such as in \begin{figure}[!htbp] or \begin{table}[!htbp], as mentioned in Chapter 6, Including Images, can avoid many placement issues.
Customizing the document class
Section titled “Customizing the document class”LaTeX may issue a warning reading Unused global option(s) if you use an illegal class option. This means you specified an option to \documentclass that’s unknown to the class and to any loaded package. This could, for example, be a base font size that is not supported. Just check the option that LaTeX complains about.
Also, packages themselves may print out warnings if they foresee problems. All these warnings are intended to help you design your document, so it’s good to look at each one.
Even if you get a document with no errors or warnings, it may still be imperfect if you use packages or classes that are no longer updated. We will look at some well-known obsolete packages in the next section.
Avoiding obsolete classes and packages
Section titled “Avoiding obsolete classes and packages”At the end of Chapter 11, Developing Large Documents, we discussed the dangers of outdated information. LaTeX has existed for decades, and so have tutorials, examples, packages, and templates. Many are totally obsolete, and some even refer to the old LaTeX standard 2.09, when document classes didn’t exist. We pointed to the definitive guide, l2tabu, which comes to the rescue.
Many problems arise from the use of obsolete packages. For example, some that aren’t maintained anymore may conflict with newer packages. Often, you need to find the recommended successor of an obsolete package and use that.
To help you in that matter, here’s a short list showing obsolete packages and their respective recommended successors:

Figure 14.5 – Obsolete packages and recommended successors
Figure 14.5 – Obsolete packages and recommended successors
That’s not set in stone. Of course, you may still use the so-called obsolete packages. They may work well even today. But check out their description on their CTAN package home page. Usually, there are comments on whether the packages are still relevant or obsolete, and it also lists recommended alternative packages. You can visit the package homepage at the URL starting with https://ctan.org/pkg/, followed by the package name, such as https://ctan.org/pkg/geometry for the geometry package.
You can find an updated version of that list at https://latexguide.org/obsolete.
Further, we will continue with some general advice in the next section.
General troubleshooting
Section titled “General troubleshooting”There may be situations where we cannot solve a problem simply by reading and acting on warnings or error messages. Imagine a mysterious error, an untraceable error location, irresolvable references, or just unclear messages from classes or packages.
Locating the cause by the line number printed out by LaTeX, or by knowing what we’ve done since the previous typesetting run, usually helps. Once we’ve found a problematic line or chunk, we can remove or fix it. Otherwise, it might become difficult.
Here are the first general steps we can work through:
- Compile several times: This may be necessary for correct referencing, proper positioning of floating figures, and the creation of a table of contents, bibliographies, and lists of tables and figures.
- Check the order in which you load the packages: Some packages, such as
hyperref, don’t work well if loaded before or after specific packages. You may swap some lines to correct or test that. - Remove auxiliary files: If anything goes wrong, it’s sometimes a good idea to remove all files generated by LaTeX during the compilation process. These files have the same name as the main document but with extensions such as
.aux,.toc,.lot,.lof,.bbl,.idx, or.nav, among others.
If the problem persists, we could try to isolate the cause as follows:
- Create a copy of your document. If necessary, copy the complete folder. From now on, work on the copy.
- Remove parts of the document that are likely not relevant to the problem. You can comment out lines by adding a
%symbol in front. - Typeset to ensure that the problem persists. If so, go back to step 2 and remove another part of the document. If the problem is gone, you have isolated it to the part you just removed. In this latter case, restore the deleted part since it contains the issue. If that part of the document is still too large to pinpoint the error, you can go back to step 2 and try again by removing smaller parts.
- After some repetitions of this process, you will have located the problem. If you didn’t find it, reduce the number of loaded packages and repeat steps 2 and 3.
- You will end up with a small but complete example document that reproduces the error. We call this a minimal working example (MWE).
Removing or rewriting that identified part of your document could help. What if you really want to use that part and would like to fix that error? Now that you can show the problem with a short code example, you could post that problem to an online LaTeX forum and ask for help.
You are not dependent on just the errors and warnings that your editor shows you. LaTeX keeps track of all information, each warning, and every error. These will be collected in a file named after your main document, with the .log extension. This is an ordinary text file that we can open in any editor, including your LaTeX editor.
For instance, the log file for our Hello world example at the beginning of this chapter starts with information about the TeX and LaTeX format versions and looks like the following:
This is pdfTeX, Version 3.141592653-2.6-1.40.22 (TeX Live2021) (preloaded format=pdflatex 2021.6.25) 12 JUL 202100:47entering extended moderestricted \write18 enabled.%&-line parsing enabled.**document(./document.texLaTeX2e <2021-06-01> patch level 1L3 programming layer <2021-06-18>It continues with information about the document class, its version, and the used class options .clo file:
(/usr/local/texlive/2021/texmf-dist/tex/latex/base/article.clsDocument Class: article 2021/02/12 v1.4n Standard LaTeXdocument class(/usr/local/texlive/2021/texmf-dist/tex/latex/base/size10.cloFile: size10.clo 2021/02/12 v1.4n Standard LaTeX file (size option))It then shows the loaded packages and definitions – not many, in our case:
(/usr/local/texlive/2021/texmf-dist/tex/latex/l3backend/l3backend-pdftex.defFile: l3backend-pdftex.def 2021-05-07 L3 backend support:PDF output (pdfTeX)\l__color_backend_stack_int=\count190\l__pdf_internal_box=\box50)It tells us when it uses or opens a file:
No file document.aux.\openout1 = \`document.aux'.It provides us with font information:
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 2.LaTeX Font Info: ... okay on input line 2.It contains all errors and warnings:
! Undefined control sequence.l.3 \Latex \ says: Hello world!?! Emergency stop.Once we correct the error in step 4 of the Understanding and fixing errors section, LaTeX adds information about LaTeX performance and memory to the log file:
Here is how much of TeX's memory you used:385 strings out of 4785106981 string characters out of 5849585301299 words of memory out of 500000018443 multiletter control sequences out of 15000+600000403430 words of font info for 27 fonts, out of 8000000for 90001141 hyphenation exceptions out of 819134i,5n,41p,139b,107s stack positions out of5000i,500n,10000p,200000b,80000s</usr/local/texlive/2021/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb></usr/local/texlive/2021/texmf-dist/fonts/type1/public/amsfonts/cm/cmr7.pfb>The log file finishes by stating the output size as well as some statistics:
Output written on document.pdf (1 page, 22454 bytes).PDF statistics:18 PDF objects out of 1000 (max. 8388607)10 compressed objects within 1 object stream0 named destinations out of 1000 (max. 500000)1 words of extra memory for PDF output out of 10000(max. 10000000)Check out the log files of some of the documents you’ve produced up to now. The information therein looks very technical, but this might help you a lot in troubleshooting.
Summary
Section titled “Summary”This chapter prepared us to solve problems that might occur in our LaTeX document.
Specifically, we learned how to locate and fix errors, understand warning messages, and analyze LaTeX’s typesetting log file.
Correcting errors is necessary. Remember to check https://texfaq.org/#errors for help. Dealing with warnings is a valuable bonus. If you encounter any problem that you cannot solve on your own, don’t hesitate to ask for help on a LaTeX internet forum such as https://latex.org. In that forum, we have a section dedicated to this book, LaTeX Beginner’s Guide, where I would be happy to answer your questions.
For LaTeX friends who are online, it’s often an easy task to use this information to solve your problem. Definitely, a lot of LaTeX enthusiasts have fun helping other LaTeX users. The next chapter will discuss LaTeX forums on the internet and other online resources.