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

learn more… | top users | synonyms (1)

11
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 ...
11
votes
3answers
6k 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
20k 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
787 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} ...
11
votes
1answer
870 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 ...
10
votes
2answers
241 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
1answer
7k 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
1answer
501 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
13k 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
1answer
228 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
197 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
2answers
154 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! ...
9
votes
1answer
7k 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
293 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
297 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
223 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
139 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
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
3answers
12k 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} ...
8
votes
2answers
566 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 ...
8
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. ...
8
votes
1answer
199 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
115 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
2answers
4k 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". ...
8
votes
1answer
125 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

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
236 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
555 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
690 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
302 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
393 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

\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
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
138 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
3answers
229 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 ...
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
582 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
347 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
277 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
1answer
316 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
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 ...
7
votes
1answer
6k views

Tabular: Underfull \hbox (badness 10000) in paragraph at lines

I read all the questions regarding the error message Underfull \hbox (badness 10000) in paragraph at lines but I am still not sure if my code is correct. The problem is with the tabular of a table. ...
7
votes
1answer
659 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} ...
7
votes
2answers
133 views

Controlling placement of package warnings in the log

Is there any way to control where in the log file or console output \PackageWarning or \ClassWarning messages get placed? I have a class warning (generated by my own document class) that gets buried ...
7
votes
1answer
620 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 ...
7
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} ...
7
votes
1answer
2k 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 ...