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

learn more… | top users | synonyms (1)

42
votes
4answers
4k views

What does the warning about “moved marginpar” mean?

I repeatedly get the LaTeX warning: LaTeX Warning: Marginpar on page x moved. What does this mean? Is that a problem? How can I fix the corresponding problem?
1
vote
2answers
3k views

\hyperref to a \label doesn't work (“empty destination key”)

In one of my documents, I used the combination of \label with \hyperref. Now, I fail for some reason. I included the package: \usepackage[colorlinks=true,urlcolor=blue,linkcolor=blue]{hyperref} ...
16
votes
2answers
1k 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 ...
8
votes
1answer
212 views

How to place a # character in a message?

How can I place a # symbol inside of a \PackageWarning inside of a macro definition? I tried: \PackageWarning{package}{# or \# or \string# or \hash} but either ## or unknown (for \hash) or Illegal ...
23
votes
1answer
5k views

KOMA warning about ToC

Lately I've noticed the following warning from KOMA when I compile my documents: Class scrreprt Warning: \float@addtolists detected! (scrreprt) You should use the features of package ...
3
votes
2answers
3k views

Linux Libertine O and Linux Biolinum O not found

I have TeX Live 2011. I set \usepackage{fontspec} \setmainfont{Linux Libertine O} \setsansfont{Linux Biolinum O} but I get a warning that these fonts are not found! If I try ...
15
votes
1answer
11k 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
1k views

Obsolete comand \Bbb

A warning keeps popping up in my LaTeX editor, and it's really annoying. It says that the command \Bbb is obsolete and I should use \mathbb instead. I personally like the command \Bbb by the obvious ...
11
votes
1answer
3k views

\textbullet and CM sans serif: font shape undefined

The following example \documentclass{article} \begin{document} \sffamily \textbullet \end{document} gives me the warning: LaTeX Font Warning: Font shape `OMS/cmss/m/n' undefined (Font) ...
7
votes
1answer
695 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 ...
22
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 ...
4
votes
1answer
908 views

minitoc package: overfull \hbox

Does anyone of you know how to format a ToC created with the minitoc package in LaTeX? My problem is that I always get the following warning: ./hauptdokument.mtc.1:21:Overfull \hbox (2.83262 pt too ...
2
votes
2answers
3k views

Stop bibtex from complaining about an empty note

When I bibtex foo.tex the following foo.tex \documentclass{article} \usepackage{natbib} \bibliographystyle{plainnat} \begin{document} \cite{citation1} \bibliography{foo} \end{document} with this ...
3
votes
1answer
2k views

Warning when loading a LaTeX package

I'm new to LaTeX, and I can't work out why I'm getting a warning when adding a package I downloaded (from the MATLAB website called mcode.sty). Here is my code, \usepackage{myFolder/mcode}. I put ...
3
votes
1answer
1k 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 ...
4
votes
1answer
1k views

pgfplots in combination with gnuplot requires additional semicolon

I have the following example which produces a klein bottle. Whatever I compile with the option --shell-escape and I get the following warning: "<file>.pgf-plot.gnuplot", line 2: ';' expected ...
8
votes
1answer
148 views

Disable printing of fonts/packages to STDOUT

Is it possible to disable most of the boilerplate information that is output to STDOUT, like package and font paths? For example some Unix commands have "verbose" or "quiet" command line options that ...
0
votes
1answer
574 views

Unused global option (cleardoublepage=plain)

I know that some of the Unused global option(s) LaTeX warnings can be resolved including some packages (as in here). Specifically, How can I get rid of the following warning? LaTeX Warning: Unused ...
6
votes
1answer
810 views

Overfull warning when using longtable

I am getting overfull warning (Overfull \hbox (17.10379pt too wide) in alignment) when using longtable enviroment (See MWE below) The warnings are on \begin{longtable} and \end* lines. The pdf ...
8
votes
1answer
915 views

Apparent conflict when using hyperref and pdfcomment together

There appears to be a conflict with using the hyperref package and pdfcomment. Take the following example: \documentclass{article} \usepackage[pdftex,hidelinks]{hyperref} \usepackage{pdfcomment} ...
2
votes
1answer
324 views

qpdf warning: Cross-reference stream data has the wrong size

I compile the following with pdflatex (pdfTeX 3.1415926-1.40.10-2.2 (TeX Live 2009/Debian)) \pdfminorversion=5% With these lines... \pdfobjcompresslevel=3% ... commented out... \pdfcompresslevel=9% ...
11
votes
1answer
25k 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 ...
13
votes
1answer
1k views

Can I make latexmk quieter?

I'm using latexmk -quiet, and while it suppresses most status messages, there are still a few irrelevant messages that it gives me: $ latexmk -pdf -silent document.tex Latexmk: Run number 1 of rule ...
3
votes
1answer
543 views

How can I get rid of an Underfull \hbox message in my macro?

I can't find the reason for getting this message: Underfull \hbox (badness 10000) in paragraph This is my test case: \newcommand{\ruler}{\noindent\rule[1ex]{\textwidth}{1pt}\\} ...
84
votes
2answers
33k views

What does “overfull hbox” mean?

I often see output from TeX with the warning overfull hbox, badness 10000. What does this message mean?
84
votes
3answers
40k 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?
3
votes
1answer
618 views

Why am I getting overfull with this parcolumns lstlisting?

I'm sure this is a simple question but would anybody be able to point out to me why the following generates overfull \hbox errors for the two \colchunk macros? It doesn't appear LaTeX needs to do any ...
25
votes
1answer
554 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.
6
votes
1answer
384 views

Overfull \hbox when using the mdframed package

UPDATE: 2011-12-12 As of 2011-12-12, I can confirm this issue has been resolved on TeXLive-2011. When using the mdframed package to generate nice frames for my chemical reactions, I encounter the ...
8
votes
1answer
2k views

Underfull vbox and typearea warnings with Koma-Script and a5paper

I have this in the preamble: \documentclass[a5paper]{scrbook} \usepackage[utf8x]{inputenc} \usepackage[spanish]{babel} \usepackage{graphicx} \usepackage[T1]{fontenc} ...
3
votes
1answer
411 views

Filtering font substitution warnings caused by the combination of lmodern and tipa

This question is a follow-up to Combining lmodern and tipa: I tried to filter the harmless warnings that occur when using tipa with the Latin Modern font. Doing so crashes both pdflatex and regular ...
4
votes
1answer
1k views

Overfull vbox with scrbook and setspacing

The following MWE gives me a lot of badbox warnings Overfull \vbox (1.39674pt too high) has occurred while \output is active [] with always the same value of 1.39674pt. It seems to be related to the ...
16
votes
2answers
433 views

Is there a way to force LaTeX to issue a warning if a figure is never referenced? [duplicate]

Possible Duplicate: How can I get LaTeX to warn about unreferenced figures? In my document I have several figures, most of which I created references for (using \ref{}) immediately after I ...
1
vote
1answer
501 views

Use of marginpar: problems with Underfull \hbox

I'm using the latex commnad \marginpar{}, however for some reason I get the warning: Underfull \hbox <badness 10000> in paragraph ... each time I create a comment on the margin. Is there ...
20
votes
1answer
4k 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?
3
votes
3answers
265 views

Design size mismatch warning when using the eco package

I'm using the eco package and am getting the following warning: design size mismatch in local font ecrm2074 in virtual font ecorm2074.vf ignored. when compiling the following MWE: ...
0
votes
1answer
161 views

Warning: No -m.map found for TS1

I'm using the cmap package, the mmap package and the textcomp package along with them and I'm getting the following error when trying to include the \copyright symbol: Package mmap Warning: !!! No ...
1
vote
1answer
2k views

Mysterious empty page + subsequent “Overfull \vbox has occurred while \output is active” during a long string of sectioning commands

Document in question: http://pastebin.tlhiv.org/nJhaYvfN Page 3 is typeset as a blank page, while page 4 has the overfull (by almost 160pts!) \vbox during a long string of sectioning commands.
8
votes
1answer
2k views

How do I get rid of “Key http://link is undefined” warnings? [closed]

When using the hyperref package, I keep getting this warning that says something like: Key ftp://ftp.ams.org/pub/tex/doc/amsmath/short-math-guide.pdf is undefined whenever I include an http link. ...
9
votes
2answers
2k views

Fixing an overfull box

I have an overfull box in a French text which looks like this: The sequence at the end of the line is: d'Ananias~: \og Vous "Vous" cannot be hyphenated and \og inserts a non-secable space, so ...
7
votes
2answers
402 views

biblatex-chem warning: Macro 'institution+location+date' already defined. What does it mean and how do I get rid of it?

As a rule of thumb, I aim to make my latex compilations complete without errors or warnings. I've come to accept some underful badboxes as unavoidable though :( I'm trying to change over to biblatex, ...
6
votes
2answers
1k views

Underfull hbox with \hbox to <dimen> but not with \halign

When using the \halign primitive, cells in the same column all have the same width. Hence, if one entry is very large (abcdefg below), the others will be stretched to the same size. If an entry ...
0
votes
1answer
338 views

revtex reporting underfull hbox at every newline

So I'm working on a seminar, and I was wondering, why revtex, every time I make newline after a paragraph (\), reports underfull hbox warning? I mean, everything looks fine once in pdf (I would expect ...
6
votes
1answer
732 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). ...
3
votes
2answers
424 views

Extra line after the paragraph ended by dash with overfull

Consider the following example (Plain TeX): %%%%% Tttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt- Test. \end %%%%% The first ...
18
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?
2
votes
1answer
922 views

biblatex month field

I've been nagged by a couple of people now to convert my faith to biblatexism. I tried it all in one go, and it screwed the pooch rather on my 250 page document. I'm trying it in parts with a trial ...
13
votes
3answers
955 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 ...
8
votes
1answer
767 views

How to centre my display math overfull hboxes?

I have an overfull hbox which I've decided to live with. Actually, several. However, since they're in \[…\], it would look better if they could remain centered, i.e. overflowing the margins equally ...
2
votes
1answer
1k views

Overfull hbox (in the middle of page) in ToC with tocloft package and cftchapaftersnum

To customize the appearance of our Table of contents we use the tocloft package. One point we would like to implement is to underline the chapter entries in the ToC. However, if we use the ...