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

learn more… | top users | synonyms (1)

13
votes
1answer
745 views

Suppress xparse message “Redefining document command”

I am trying to suppress messages of the form: ************************************************* * LaTeX warning: "xparse/redefine-command" * * Redefining document command \MyMacro with arg. spec. ...
13
votes
2answers
4k 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 ...
13
votes
3answers
958 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 ...
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 ...
12
votes
4answers
11k 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
892 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
10k 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
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 ...
11
votes
1answer
2k 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 ...
11
votes
2answers
9k 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". ...
11
votes
1answer
15k 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 ...
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} ...
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) ...
10
votes
1answer
19k 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 ...
10
votes
2answers
288 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
3answers
19k 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} ...
10
votes
2answers
2k 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 ...
10
votes
2answers
177 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
1answer
613 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
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 ...
9
votes
2answers
796 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
1answer
462 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
241 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
827 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} % ...
9
votes
1answer
3k 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 ...
9
votes
1answer
721 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
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 ...
9
votes
1answer
794 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
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
271 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
154 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
571 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

itemize under sf produce a font warning

It seems that textbullet has no sf version. When itemize is in a \sf environment, I receive the following warning: LaTeX Font Warning: Font shape `OMS/cmss/m/n' undefined (Font) using ...
8
votes
2answers
1k 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 = ...
8
votes
2answers
2k 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
215 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
132 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
1k views

What are these warnings for minitoc package?

I'm using a scrreprt document class to write my lecture notes in a condensed form for easy reviewing later. I organized the main.tex in a modular file and I downloaded, installed and loaded the ...
8
votes
1answer
138 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
2answers
58 views

Correct way to typeset a section producing an underful box

I am writing a two-column document and I have a problem with a section which produces an underfull box. What is the correct way (or some better ways) to typeset such a section so to have a beautiful ...
8
votes
1answer
123 views

When (La)TeX says “some message on input line XYZ” - where's that line?

I'm sure this is a dupe, but I'll go ahead anyway: LaTeX relates many of its messages to lines in files. For example: LaTeX Font Info: Try loading font information for OT1+lmtt on input line 81. ...
8
votes
1answer
484 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
870 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
8k 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. ...
8
votes
3answers
1k views

Avoid warnings in TeXlipse

I'm using TeXlipse, an Eclipse plugin, to create my TeX documents. To structure my files I use \input{filename}. Now the problem is, that every file is one section or subsection. TeXlipse shows me a ...
8
votes
1answer
773 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
1k 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
3k 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 ...
8
votes
1answer
332 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
940 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} ...