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

learn more… | top users | synonyms (1)

11
votes
4answers
9k 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 ...
11
votes
2answers
793 views

Microtype warning with lmodern package and KOMA-script

With a simple document \documentclass{scrreprt} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{microtype} \usepackage{lmodern} \begin{document} \chapter{Test test test} ...
11
votes
3answers
7k views

Is there really something wrong with using the caption package for \ContinuedFloat?

In my question How to create an unnumbered algorithm with a caption?, a nice solution was suggested using \ContinuedFloat, from the caption package. However, when I use it, I get: Package caption ...
11
votes
1answer
22k 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 ...
11
votes
1answer
1k 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} ...
10
votes
2answers
256 views

All (La)TeX warnings and errors

For testing purposes, I am looking for a comprehensive list of all errors and warnings that TeX, and LaTeX can output. I don't mean errors and warnings produced by all packages, as this would give an ...
10
votes
2answers
160 views

Silent problems: bugs that do not result in an error or warning

If you do not use the inputenc package and have non-ascii characters in your source, this does not generate a error or warning. It does generate a Missing character: There is no โ–’ in font cmr7! ...
10
votes
2answers
8k views

How can I get rid of the LaTeX warning: Float too large for page?

In my document, I have figures that have a rather long caption. The code I use to include them looks like this: \begin{figure} \begin{center} \includegraphics[width=\textwidth]{../fig.pdf} ...
10
votes
2answers
5k 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". ...
10
votes
1answer
537 views

nag l2tabu caption/label checking versus \subcaptionbox

The nag package used with the l2tabu option complains when \label is used in a float without following a \caption. Unfortunately, it does not understand that the first argument of \subcaptionbox from ...
9
votes
1answer
15k views

underfull \vbox

What do the following messages mean? LaTeX Font Info: Try loading font information for U+msa on input line 205. ("C:\Program Files (x86)\MiKTeX 2.8\tex\latex\amsfonts\umsa.fd" File: umsa.fd ...
9
votes
3answers
14k views

How to avoid empty 'thebibliography' environment (bibtex) if there are no references?

I have a general and central preamble for a lot of similar-style documents (several dozens) and most of the documents have a Bibliography at the beginning, so I call \bibliographystyle{alphadin} ...
9
votes
2answers
637 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 ...
9
votes
4answers
5k views

Avoid hyperref warnings in moderncv [closed]

Whenever I compile a CV with moderncv, I get four warnings by hyperref. There don't seem to be any serious problems connected to them, yet they bug me. I like my documents to compile without warnings. ...
9
votes
1answer
306 views

hyperref token not allowed warning, possible bug?

I currently am using the hyperref package and I'm currently getting a lot of error messages. Currently all of the chapter and section titles give this same error. I decided to try make a minimum ...
9
votes
2answers
214 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 ...
9
votes
1answer
9k views

What is a “Overfull \hbox (9.89561pt too wide)”?

I have this warnings around, some of them seems to be solved naturally but I never really understand what do they mean. What this means? Edit: I would like to keep the question in more general ...
9
votes
1answer
431 views

Why is a warning thrown when writing a minus symbol?

I created the following minimal LaTeX document: \documentclass{article} \usepackage[ansinew]{inputenc} \begin{document} $โ€“A + B$ \end{document} It throws a warning 'LaTeX Warning: Command ...
9
votes
1answer
418 views

overfull hbox despite of width=\linewidth

I want to include a PDF file in my LaTeX-Document, which I compile with pdflatex. Using width=\linewidth, I still get an overfull hbox. What am I doing wrong? MWE: \documentclass{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 ...
9
votes
1answer
237 views

How to raise a LaTeX warning from within Lua code?

I want to raise a warning from within Lua code. With advice from the LuaTeX wiki and LaTeX 2๐œ€ for class and package writers, I arrived at the following (working) solution: \documentclass{article} ...
9
votes
1answer
144 views

Compiling LaTeX in pedantic mode

Some compilers for general purpose programming languages such as GCC have a switch for turning warnings into actual errors: $ gcc -Werror main.c There is a similar mechanism for compiling LaTeX ...
8
votes
3answers
315 views

Glossaries conflict with memoir

I am having an issue with glossaries producing the warning when used with the memoir class Package glossaries Warning: overriding `theglossary' environment on input line 4761. A minimum working ...
8
votes
2answers
1k views

ragged2e: “newcommands” option produces “underfull \hbox” warnings

The ragged2e package provides the commands \Centering, \RaggedRight and \RaggedLeft for setting ragged text while allowing hyphenation. The package offers a newcommands option that sets the standard ...
8
votes
1answer
205 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 ...
8
votes
3answers
120 views

Best approach to detect whether hierarchy of sectioning commands is respected?

Is there a package that checks whether each subsection lies in a parent section, each subsubsection lies in a parent subsection, etc. and issues a warning or error otherwise? Not to my knowledge, but ...
8
votes
1answer
126 views

How to warn if a package hasn't been loaded

Is it possible to emit a warning if a package hasn't been loaded? If possible, I would prefer that the solution not require \usepackage{ifthen} as it couldn't emit the warning that it was missing the ...
8
votes
1answer
2k views

overfull vbox warning disable [duplicate]

Possible Duplicate: How to suppress overfull hbox warnings up to some maximum? I get many warnings like Overfull \vbox (13.88728pt too high) detected at line 250 How can I remove/disable ...
8
votes
1answer
2k views

How to fix BibTeX warning about missing author or key fields for webpage-type entries?

I need to reference some online databases in my LaTeX report. I have them included in my .bib file in this format: @misc{StanfordScanRep, title = {{The Stanford 3D Scanning Repository}}, howpublished ...
8
votes
2answers
2k views

How do you suppress specific warnings generated by pdflatex?

A lot of the times I get warnings like "hbox overfull" when a specific part of my document is meant to be extra wide on purpose --> so I am purposefully violating the default width threshold. Or to ...
8
votes
1answer
342 views

Beamer: Overfull hbox in headline

I try to redefine the header of my frames, but for some mysterious reason I get an overfull hbox of 1.6 points or slightly more: \documentclass{beamer} \usepackage{times} ...
8
votes
1answer
660 views

Babel warns of lack of hyphenation patterns for Hebrew

I use TeX Live including the Hebrew package. I've tried to produce a simple TeX file: \documentclass{article} \usepackage [english,hebrew]{babel} \begin{document} ืฉืœื•ื \end{document} but I keep ...
8
votes
1answer
712 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 ...
8
votes
1answer
714 views

What causes those warnings and how can I avoid them?

I have a bunch of warnings as follows: l.3387 \end{align} pdfTeX warning (ext4): destination with the same identifier ( name{equation.0.24}) has been already used, duplicate ignored ...
8
votes
1answer
316 views

Memoir mysterious overfull hbox in TOC when mathptmx is used

I'm trying to troubleshoot an overfull hbox warning that arises with some long chapter titles in memoir. I've narrowed it down to the following minimal example. The problem arises with mathptmx but ...
8
votes
1answer
1k 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} ...
8
votes
1answer
876 views

Overfull hbox in biblatex

I just ran into a problem using biblatex with a long author and title: The output extends past the right margin of my text, because biblatex does not insert a linebreak before the date. Please see the ...
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. ...
8
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) ...
8
votes
1answer
199 views

Reuse an image resp. a box in TikZ but have side-effects only once

I have a huge document (a pool of exercise problems) with lots of \input statements (one file per subexercise). In order to not get lost in this mess and easily open files from the PDF, I include a ...
8
votes
1answer
140 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 ...
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 ...
7
votes
2answers
490 views

the problem of using “~\\” and blank line

Recently,I found the code that cotains the"~\\" and blank line always shows the warning imformation "Underfull \hbox (badness 10000) in paragraph at lines" \documentclass{ctexart} \usepackage{color} ...
7
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
666 views

Linux Libertine ligatures / T1

The libertine package documentation says It is recommended that the font encoding be set to T1 or LY1 but the default OT1 encoding is also supported. \documentclass{article} % ...
7
votes
2answers
357 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, ...
7
votes
1answer
609 views

When running Bibtex with a statement that has a comma at the end, this is obscuring real problems

When I run bibtex on document with a citation such as \cite{European00Presidency} and the .bib entry looks like this: @MISC{European00Presidency, author = {European Council,}, title = ...
7
votes
1answer
309 views

Why does this code give me a badbox?

Why does this code give me a badbox? \documentclass[a4paper, 10pt, notitlepage]{article} \begin{document} \begin{minipage}[t]{1.0 \textwidth} aaaaaaaaaaaaaaaaaaaaaaa \end{minipage} \end{document} ...
7
votes
3answers
3k views

BibTeX: referencing entire journal

How can I write a BibTeX entry for a special issue of a journal? I've tried using @book, but then I get Warning--can't use both volume and number fields in <entry> I use natbib with abbrvnat, ...
7
votes
1answer
899 views

Can't silence a pdftex “PDF inclusion: multiple PDFs with page group” error

I am having an issue with PDFs generatied in Inkscape. If multiple files generated in this way are included on a single page I get the following error: pdfTeX warning: pdflatex.exe (file ...