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

learn more… | top users | synonyms (1)

2
votes
3answers
1k views

overfull vbox with beamercolorbox

In a latex-beamer document, I am using a custom headline template. It produces a headline only when in a section. Here is a stripped down version: \documentclass{beamer} \usepackage{times} % gets rid ...
5
votes
2answers
925 views

How can I stop TeX from bleating about an underfull \hbox?

I have a paragraph that contains an underfull \hbox. (It's loaded with huge proper nouns that don't hyphenate easily.) It's not going to be fixed (badness is only 1330), but I'd like to get TeX to ...
5
votes
1answer
1k views

part with setcounter — destination with the same identifier

When using two parts in my document and resetting the counter for the second one, I get the following warning: destination with the same identifier (name{section.1}) has been already used, ...
4
votes
2answers
2k 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, ...
29
votes
2answers
1k 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 ...
1
vote
1answer
245 views

Are settings that best suit contents for a smaller paper size guaranteed not to produce underfull/overfull warnings for a larger paper size?

Scenario I want to adopt the philosophy "typeset once, produce any size". It means that from the beginning I specify the minimum paper size (e.g., A6) and configure the contents to best suit the ...
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 ...
2
votes
2answers
904 views

Overfull hbox on a tiny equation?

My microscopic equation is 2.8 points too wide for some reason, which is quite a lot. I am reluctant to ignore the warning because if I get more of them I'll start missing important things. Code is: ...
13
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} ...
2
votes
1answer
293 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% ...
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
11k 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: ...
0
votes
1answer
271 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 ...
17
votes
1answer
2k views

What is the command to highlight bad boxes in pdf?

I seem to remember a command to show bad boxes in a PDF when using latex, but googling is not helping me to remember. How can I show bad boxes in my PDF?
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 ...
14
votes
2answers
7k 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 ...
6
votes
2answers
881 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 ...
6
votes
1answer
612 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). ...
7
votes
1answer
616 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
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
12k 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] ...
17
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?
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} ...
25
votes
1answer
491 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.
10
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 ...
21
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, ...
3
votes
1answer
952 views

Using 'xfrac' with 'mathrsfs'

I'm attempting to move from the nicefrac package to xfrac. The following source compiles, but with a warning: \RequirePackage{fix-cm} \documentclass{article} \usepackage{xfrac} \usepackage{mathrsfs} ...
19
votes
6answers
2k views

Use latexmk to filter the log file

I am usually using latexmk in a split shell with my code on the left and latexmk in -pvc mode on the right. When using some packages which themselves load a lot of other packages (think beamer) the ...
21
votes
3answers
12k 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 ...
13
votes
2answers
25k 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 ...
4
votes
2answers
1k views

Abstract page problems

I am using a report document classe. I have an abstract and an acknowledgement sections before the toc. This is my definition for Acknowledgements. I took it from someplace in the web, so there might ...
3
votes
1answer
2k views

Errors/Warnings in LaTeX Output

I use Vim to edit LaTeX documents and pdflatex to compile the documents. One problem with using pdflatex is that it takes time to go through the output to see if there is any warning/errors. ...
3
votes
1answer
8k views

LaTeX Warning About Height, \hbox, and \vbox, and ht

I am compiling a LaTeX document on Ubuntu and I am getting those warnings, errors, or whatever. Any idea about them? Package hyperref Warning: Height of page (\paperheight) is invalid (0.0pt), ...
3
votes
2answers
399 views

Extra line after the paragraph ended by dash with overfull

Consider the following example (Plain TeX): %%%%% Tttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt- Test. \end %%%%% The first ...
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 ...
8
votes
1answer
683 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 ...
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 ...
5
votes
1answer
1k views

Problem with hyperref / cleveref / thmtools

The following is a (fairly) minimal example: \documentclass{book} \usepackage{amsmath} \usepackage{amsthm} \usepackage{thmtools} \declaretheoremstyle[ spaceabove=6pt, spacebelow=6pt, ...
13
votes
3answers
908 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 ...
17
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 ...
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 ...
3
votes
3answers
1k views

Suppressing error messages

I have a style sheet that has some problems. At this point I am just writing my paper and do not really care about \viiipt warnings and errors. So I need to press enter a million times to skip errors ...
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 ...
1
vote
0answers
333 views

Better error reporting in Latex? [duplicate]

Possible Duplicate: Formatting the console output of Latex Is there a way to make Latex / PdfLatex less verbose? Basically I would like to only get warnings, errors and one line summary ...
3
votes
1answer
2k views

How come Revtex says acknowledgements are obsolete?

Running revtex4-1 with the preamble: \documentclass[aps, pre, floatfix, reprint]{revtex4-1} and the section later: \begin{acknowledgements} The authors would like to thank Tex, LaTeX and Friends ...
22
votes
1answer
20k 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 ...
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 ...
61
votes
3answers
24k 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?
62
votes
2answers
21k views

What does “overfull hbox” mean?

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