{warnings} is about dealing with and (hopefully) getting rid of compiler warnings.

learn more… | top users | synonyms (1)

33
votes
2answers
15k views

Question mark instead of citation number

I've browsed the forums and found a number of posts that have addressed this issue, but none of the solutions seem to work for me. I have the following script that I just copied from the bibtex home ...
31
votes
2answers
12k views

How to remove the warnings “Font shape `OT1/cmss/m/n' in size <4> not available” and “Size substitutions with differences” in beamer?

LaTeX Font Warning: Font shape `OT1/cmss/m/n' in size <4> not available LaTeX Font Warning: Size substitutions with differences I am using the files from ...
59
votes
3answers
21k views

What are underfull hboxes and vboxes and how can I get rid of them?

Often, TeX outputs underfull hbox and vbox warnings when running and in the generated log file. What are these and how can I get rid of them?
59
votes
2answers
18k views

What does “overfull hbox” mean?

I often see output from TeX with the warning overfull hbox, badness 10000. What does this message mean?
52
votes
2answers
13k views

Do I have to care about bad boxes?

When I compile my PDF from LaTeX source, do I have to care about all the messages (currently 28) about 'bad boxes'? The PDF seems fine to me.
12
votes
1answer
22k views

Undefined citation warnings

When I compile my document I get warnings of the form: Package natbib Warning: Citation `xxxxx' on page y undefined on input line z. This problem does fix itself eventually when the compiler ...
16
votes
3answers
3k views

Is there any way to generate custom errors/warnings in LaTeX?

I want something like \ifmmode\else\GenerateWarning{The command \backslash uzuka is supported only in math mode.}\fi, which is supposed to generate a warning "The command \uzuka is supported only in ...
37
votes
9answers
8k views

Multiple pdfs with page group included in a single page warning

I updated TexLive to the Ubuntu Quantal version (2012.20120611-4) and I suddenly got this warning: PDF inclusion: multiple pdfs with page group included in a single page This is a minimal example ...
73
votes
4answers
2k views

Techniques and packages to keep up with good practices

Question What techniques and packages are there to keep up with good practices? What I already know I already know of the following packages for this kind of purpose: ...
30
votes
1answer
9k views

pdfTeX warning (ext4): destination with the same identifier (nam e{page.1}) has been already used, duplicate ignored

I get the following warning pdfTeX warning (ext4): destination with the same identifier (name{page.1}) has been already used, duplicate ignored when compiling the following document: ...
16
votes
1answer
3k views

How to suppress overfull hbox warnings up to some maximum?

I want LaTeX not to give warnings for overfull hboxes up to some maximum of say 2 pts. How to achieve this?
6
votes
2answers
467 views

Scrbook: Using fallback calculation to setup font sizes

When using the class scrbook and customizing the font size prior the usage of \printbibliography I got these warning (and in big documents I got them several times): Class scrbook Warning: Using ...
34
votes
1answer
2k views

How can I get LaTeX to warn about unreferenced figures?

When writing documents, I consider it to be necessary that all figures and tables are referenced (\ref) in the text, whether or not I've remembered to \label them. LaTeX does not currently warn if a ...
20
votes
1answer
18k views

`h' float specifier changed to `ht' warning when not attempting to specify a float

I'm new to LaTeX and trying to understand the reason why I'm getting the warning: `h' float specifier changed to `ht' I'm not attempting to change the float property of anything - the warning is ...
25
votes
1answer
472 views

Is there a \die command?

Is there a command that generates the error or warning of my choice? I'm planning to put it in an \ifthenelse, so it can't be a syntax error.
17
votes
3answers
2k views

Can I have the \overfullrule rule colored in pdfLaTeX?

I know that I can use \overfullrule=5pt to get overfull lines marked with a black marker. I am using pdfLaTeX. Is there a way I can get this marker or something similar in magenta instead?
4
votes
1answer
858 views

xfrac + siunitx gives me a font warning

I'm using mathpazo and the AMS math packages, and I just started using xfrac for the \sfrac command. However, now when I use \sfrac (or when I set siunitx to use it), I get this output: LaTeX Font ...
28
votes
2answers
976 views

How to visualize the underfull box in final output PDF files

I am finalizing a document. There are a few underfull vbox I just cannot figure out where they are. Sometimes it is easy to figure out which page is underfull vbox from the log file, but sometimes it ...
14
votes
2answers
11k views

How to put a line-break in section heading?

I have some section headings occupying two lines and I'm not satisfied with the way XeLaTeX breaks the heading. If I manually add \\ the output looks fine, but I get the following warning: [hyperref] ...
19
votes
3answers
11k views

Warning: There were multiply-defined labels

I got a "LaTeX Warning: There were multiply-defined labels", and I know what it means but my document is pretty big and it has various files. So, how can I find the multiply-defined label? I am ...
8
votes
2answers
175 views

Show reference label when it is undefined

When a reference is undefined, LaTeX shows simply [??] which doesn't give much information. I would like it to show the label instead. This is useful when more collaborators work on the same preprint ...
6
votes
1answer
1k views

Package pgf Warning: Your graphic driver pgfsys-xetex.def does not support patterns.

Package pgf Warning: Your graphic driver pgfsys-xetex.def does not support patterns. .tex: \documentclass[10pt]{article}‎ ‎%\usepackage{pgfplots}‎‎ \usepackage{‎tikz‎‎}‎‎ ...
14
votes
2answers
669 views

Temporarily increase the limit on space size?

I often see those warnings about "overfull \hbox" when I'm preparing my document. Because the document is still in the early stage, I see no point in correcting them on-the-spot - since the document ...
10
votes
1answer
18k views

underfull \hbox (badness 10000) in paragraph

Why do I get the message: Underfull \hbox (badness 10000) in paragraph at lines 107--108 I want a blank line between the problem name and the table, but if I use \\ or \newline along with a ...
8
votes
2answers
498 views

Is there a way to avoid repetitive compiler warning messages?

I use TeXnicCenter, and use the very convenient 'Compilation Results' window (see screenshot below). I have a number of identical warning* messages (not strictly identical of course, as they point to ...
5
votes
1answer
443 views

Multiply defined label warnings when using Subcaption in a Tikz picture

In an earlier question, I asked how to create zoomed highlights of a larger image automatically. User Jake provided an excellent solution using TikZ. However, when subcaptions and hyperref are added ...
7
votes
1answer
1k views

pdfTeX warning (ext4): destination with the same identifier (name{figure.1}) has been already used, duplicate ignored

I've tried to make bilingual caption with package "ccaption" and compiled it with pdfLaTeX. It works fine but with a warning: pdfTeX warning (ext4): destination with the same identifier ...
7
votes
1answer
585 views

TG Schola – missing symbol textbullet

I am using the tgschola package which provides the TeX Gyre Schola font. When I run a .tex file containing an itemize environment through pdflatex, I get the following warning: [Font] Font shape ...
6
votes
1answer
582 views

Overfull \hbox produced by ntheorem subtitles

I switched from using the standard AMS theorem package to ntheorem so I can put alternative end marks on theorem environments (I want my examples to have an end mark, but not the same one as proofs). ...
4
votes
1answer
3k views

Overfull/Underfull \hbox warnings when compiling the document

I have bunch of pgfplots (plots and bar charts in my document) and when I compile I get errors like: Overfull \hbox (1.17287pt too wide) in paragraph at lines 2121--2122 [][] [35] Sometimes it ...
2
votes
1answer
689 views

TeX Gyre Pagella and itemize enviroment gives font warnings

\documentclass{article} \usepackage{tgpagella} \begin{document} \begin{itemize} \item test1 \item test2 \item test3 \end{itemize} \end{document} Compiling the above minimal LaTeX file ...
1
vote
1answer
40 views

Citation warnings - Citation 'bibtexkey' on page 7 undefined.

Hey so I am having issues with my citations. I am getting multiple warnings for a number of my citations saying: Citation `Bibtexkey' on page 6 undefined. Some of my citations are fine while others ...
37
votes
3answers
1k views

Is there any way to specify a “TO DO” in LaTeX? [duplicate]

I'm writing my degree thesis in LaTeX and I have some chapters and sections which I didn't write yet. Is there any way to put a tag to specify that there is a TO DO there so I remember to fill it ? ...
41
votes
3answers
857 views

Why/When should I pay attention to warnings?

I often see warnings in the compilation-log of my tex-files. I searched in the internet and did not find a good answer to this question. And in my opinion there must be a reason why tex warns me about ...
20
votes
2answers
596 views

How to decypher font shape warnings?

Often one gets warnings of the form (example) LaTeX Font Warning: Font shape `T1/qcs/m/sl' in size <10.95> not available (Font) Font shape `T1/qcs/m/it' tried instead on input line ...
9
votes
1answer
5k views

Tilde and slash in LaTeX

I am getting strange errors in LaTeX: perhaps you should insert a `~' before "\ref" missing `\ ' after "i.e." missing `\ ' after "i.e." I understand that the first expects me to put a tilde before ...
24
votes
1answer
809 views

microtype + siunitx and \micro - mysterious warnings

This code \documentclass{scrreprt} \usepackage{lmodern} \usepackage[T1]{fontenc} \usepackage{microtype} \usepackage{siunitx} \begin{document} \SI{10}{\micro\metre} \end{document} produces these ...
20
votes
1answer
5k views

Underfull \hbox in bibliography

I am getting lots of "Underfull \hbox" warnings that point to the *.bbl file. It looks like these messages appear only when URLs are very long, like in the below example: @techreport{nistguidesec, ...
12
votes
1answer
7k views

How do you effectively debug overfull \hbox warnings?

I still haven't found out how to effectively solve Overfull \hbox (0.80913pt too wide) has occurred while \output is active warnings. For instance, this piece of latex generates such a warning and I ...
7
votes
2answers
2k views

Couldn't open font map file “kanjix.map”. with MiKTeX

\documentclass{article} \begin{document} Foo \end{document} When compiling this MWE with MiKTeX 2.9’s xelatex, I get the following warning: ** WARNING ** Couldn't open font map file "kanjix.map". ...
12
votes
2answers
6k views

Warning with footnotes: “name{Hfootnote.xx} has been referenced but does not exist”

First, some general details about my document: I'm using the scrbook class and the hyperref package. The document is split up into different source files (though this fact should not matter in this ...
11
votes
4answers
8k views

Overfull \hbox warning when using tabular

I keep getting this warning Overfull \hbox (0.63303pt too wide) in paragraph at lines xxx--xxx` wherever I have this line in the code \begin{tabular}{p{2cm}|p{4cm}|p{3cm}|p{3cm}} It does ...
2
votes
1answer
117 views

How to automatically detect overfull \hboxes for inline maths mode

I am trying to create a macro which should have the following behaviour: Write the mathematical expression with the inline mode \( \) if it doesn't give rise to an overfull \hbox warning, Write the ...
21
votes
6answers
1k views

Which (La)TeX IDE(s) have good warning/error analysis

We are successfully using LaTeX at our company to create our product documentation. We have a custom document class that works OK and we currently use TeXnicCenter to edit our documentation. "We" are ...
15
votes
1answer
3k views

What do these font-shape warnings mean?

When I am compiling my document with pdflatex I get the following errors: LaTeX Font Warning: Font shape `OT1/cmr/m/n' in size <5.5> not available (Font) size <5> substituted ...
13
votes
3answers
888 views

How can I word-wrap LaTeX warning/error output?

This question led to a new package: hardwrap In writing error messages and warnings for a package/class, I find it a pain to manually insert \MessageBreaks so that words don't get cruelly ...
15
votes
1answer
468 views

Why does the compiler keeps telling me (forever) to rerun because labels have changed?

I have a LaTeX paper (multifile setup, using \input{} statements) that , since a few days ago, keeps telling me at each compile (both with pdflatex or latex): LaTeX Warning: Label(s) may have ...
12
votes
1answer
4k views

Why does amsmath print a warning about a foreign command?

I was wondering what was the cause of the following warning message with the specific \usepackage used below: Using the following: Preamble \documentclass[amssymb,twocolumn,aps]{revtex4} ...
11
votes
1answer
576 views

stmaryrd and boldsymbol: avoid warnings

Here are two examples: 1 \documentclass[a4paper,10pt]{article} \usepackage{amsmath} \begin{document} $\boldsymbol x$ \end{document} 2 \documentclass[a4paper,10pt]{article} ...
9
votes
2answers
2k views

Is it possible to use hyperref, subfigure, and memoir together?

I asked a question about how to use subfigure with memoir. I got some great tips, but now pdflatex is making all subfigure hyper-refs point to the first couple subfigures. It also gives me this ...