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

learn more… | top users | synonyms (1)

17
votes
2answers
391 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 ...
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} ...
5
votes
3answers
19k views

How to understand the LaTeX warning “there were undefined references”?

I am running this LaTeX file through pdflatex and getting these warnings: latex warning: there were undefined references. latex warning: label(s) may have changed. Rerun to get cross-reference ...
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. ...
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 ...
3
votes
3answers
220 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: ...
3
votes
2answers
10k views

Bibtex: I didn't find a database entry for

I have a very large tex file and a very large bib file. When I run (xelatex, bibtex) I get several warnings like this: Database file #1: Thesis.bib Warning--I didn't find a database entry for "Jag08" ...
0
votes
1answer
142 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 ...
7
votes
2answers
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 ...
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.
4
votes
1answer
1k views

xfrac + siunitx gives me a font warning

I'm using mathpazo and the AMS math packages, and I just started using xfrac for the \sfrac command. However, now when I use \sfrac (or when I set siunitx to use it), I get this output: LaTeX Font ...
5
votes
2answers
2k views

Issue with capt-of package

I'm using the capt-of package to create a caption for my figures: \newcommand\figureFrame[4]{% \begin{center} \includegraphics[#1]{#2} \captionof{figure}{#3}\label{#4} ...
5
votes
1answer
689 views

Problem with hyperref's pagebackref, modroman and thebibliography

Following @yiannis-lazarides comment here, I decided to use the modroman package for my frontmatters. In my actual project I don't have that many references, and thus decided to use the ...
8
votes
1answer
202 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 ...
1
vote
1answer
450 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 ...
7
votes
2answers
355 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, ...
17
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
768 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 ...
7
votes
2answers
134 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 ...
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. ...
5
votes
1answer
601 views

Warning when using a command as label argument for a list?

I'm having difficulties with a list where the label is defined as a command. Below is a minimal example: \documentclass[a4paper, 11pt]{article} \usepackage{enumerate} \newcommand{\myLabel}{1)} ...
41
votes
1answer
3k views

How can I get LaTeX to warn about unreferenced figures and unused labels in general?

When writing documents, I consider it to be necessary that all figures and tables are referenced (\ref) in the text, whether or not I've remembered to \label them. LaTeX does not currently warn if a ...
5
votes
1answer
535 views

Multiply defined label warnings when using Subcaption in a Tikz picture

In an earlier question, I asked how to create zoomed highlights of a larger image automatically. User Jake provided an excellent solution using TikZ. However, when subcaptions and hyperref are added ...
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
1k 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 ...
6
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, ...
6
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, ...
30
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
974 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: ...
15
votes
1answer
5k 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
301 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% ...
77
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: ...
32
votes
1answer
13k 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
295 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 ...
19
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
8k 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
948 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
662 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
644 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
2k 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‎‎}‎‎ ...
16
votes
2answers
14k 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] ...
18
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
509 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.
12
votes
1answer
6k 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 ...
22
votes
1answer
6k 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
1k 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} ...