{warnings} is about dealing with and (hopefully) getting rid of compiler warnings.
13
votes
1answer
1k views
XeTeX warning: Redefining document command \oldstylenums with arg. spec. 'm'
I updated my MiKTeX to the newest version a few days ago, and after this when I compile documents with the fontspec package included, there's a warning. For example:
\documentclass{article}
...
2
votes
1answer
437 views
TeX Gyre Pagella and itemize enviroment gives font warnings
\documentclass{article}
\usepackage{tgpagella}
\begin{document}
\begin{itemize}
\item test1
\item test2
\item test3
\end{itemize}
\end{document}
Compiling the above minimal LaTeX file ...
4
votes
1answer
761 views
pgfplots in combination with gnuplot requires additional semicolon
I have the following example which produces a klein bottle. Whatever I compile with the option --shell-escape and I get the following warning:
"<file>.pgf-plot.gnuplot", line 2: ';' expected
...
7
votes
1answer
115 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 ...
0
votes
1answer
245 views
Unused global option (cleardoublepage=plain)
I know that some of the Unused global option(s) LaTeX warnings can be resolved including some packages (as in here). Specifically, How can I get rid of the following warning?
LaTeX Warning: Unused ...
6
votes
1answer
363 views
Overfull warning when using longtable
I am getting overfull warning (Overfull \hbox (17.10379pt too wide) in alignment) when using longtable enviroment (See MWE below) The warnings are on \begin{longtable} and \end* lines. The pdf ...
6
votes
1answer
375 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}
...
8
votes
1answer
9k 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 ...
7
votes
1answer
448 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 ...
3
votes
1answer
315 views
How can I get rid of an Underfull \hbox message in my macro?
I can't find the reason for getting this message:
Underfull \hbox (badness 10000) in paragraph
This is my test case:
\newcommand{\ruler}{\noindent\rule[1ex]{\textwidth}{1pt}\\}
...
2
votes
2answers
743 views
Stop bibtex from complaining about an empty note
When I bibtex foo.tex the following foo.tex
\documentclass{article}
\usepackage{natbib}
\bibliographystyle{plainnat}
\begin{document}
\cite{citation1}
\bibliography{foo}
\end{document}
with this ...
3
votes
1answer
292 views
Why am I getting overfull with this parcolumns lstlisting?
I'm sure this is a simple question but would anybody be able to point out to me why the following generates overfull \hbox errors for the two \colchunk macros? It doesn't appear LaTeX needs to do any ...
7
votes
1answer
286 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 ...
0
votes
0answers
209 views
hyperref complains about missing destination in eqnarray [closed]
In my document, I get this warning with pdflatex:
Package hyperref Warning: No destination for bookmark of \addcontentsline,
(hyperref) destination is added on input line 112.
The ...
2
votes
1answer
490 views
Overfull vbox with scrbook and setspacing
The following MWE gives me a lot of badbox warnings Overfull \vbox (1.39674pt too high) has occurred while \output is active [] with always the same value of 1.39674pt.
It seems to be related to the ...
6
votes
1answer
245 views
Overfull \hbox when using the mdframed package
UPDATE: 2011-12-12
As of 2011-12-12, I can confirm this issue has been resolved on TeXLive-2011.
When using the mdframed package to generate nice frames for my chemical reactions, I encounter the ...
2
votes
1answer
215 views
Filtering font substitution warnings caused by the combination of lmodern and tipa
This question is a follow-up to Combining lmodern and tipa: I tried to filter the harmless warnings that occur when using tipa with the Latin Modern font. Doing so crashes both pdflatex and regular ...
17
votes
2answers
287 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
1answer
3k 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}
...
3
votes
1answer
6k 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 ...
6
votes
4answers
3k 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. ...
7
votes
2answers
2k views
Is there really something wrong with using the caption package for \ContinuedFloat?
In this question of mine about unnumbered algorithms with captions, a nice solution was suggested using \ContinuedFloat, from the caption package. However, when I use it, I get:
Package caption ...
3
votes
3answers
150 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:
...
0
votes
1answer
97 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 ...
6
votes
2answers
683 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
510 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
569 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 ...
2
votes
2answers
660 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
433 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
171 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
311 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 ...
6
votes
2answers
272 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, ...
16
votes
3answers
1k 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
464 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 ...
6
votes
2answers
115 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 ...
5
votes
1answer
974 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
275 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)}
...
32
votes
1answer
1k views
How can I get LaTeX to warn about unreferenced figures?
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 ...
4
votes
1answer
310 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
905 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 ...
3
votes
2answers
499 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 ...
4
votes
1answer
799 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, ...
3
votes
2answers
1k 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, ...
24
votes
2answers
537 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
212 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 ...
6
votes
2answers
1k 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
678 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:
...
7
votes
1answer
2k 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
245 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% ...
68
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:
...