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

learn more… | top users | synonyms (1)

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
225 views

Reuse an image resp. a box in TikZ but have side-effects only once

I have a huge document (a pool of exercise problems) with lots of \input statements (one file per subexercise). In order to not get lost in this mess and easily open files from the PDF, I include a ...
8
votes
1answer
148 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
2answers
676 views

the problem of using “~\\” and blank line

Recently,I found the code that cotains the"~\\" and blank line always shows the warning imformation "Underfull \hbox (badness 10000) in paragraph at lines" \documentclass{ctexart} \usepackage{color} ...
7
votes
2answers
829 views

Scrbook: Using fallback calculation to setup font sizes

When using the class scrbook and customizing the font size prior the usage of \printbibliography I got these warning (and in big documents I got them several times): Class scrbook Warning: Using ...
7
votes
3answers
4k 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, ...
7
votes
2answers
334 views

Warning: Please use \TABLE{…} in place of LaTeX environment

Please see the MWE: \documentclass{JHEP} \author{me} \abstract{a} \title{title} \begin{document} \begin{table} \begin{tabular}{c} hello \end{tabular} \end{table} \end{document} After compiling ...
7
votes
2answers
402 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
794 views

Warning “Command \@makecol has changed.”

When I compile my document I get the following warning Command \@makecol has changed. TexStudio points to the file footmisc.sty. Of course I've tried to install its latest version (2011/06/06 v5.5b) ...
7
votes
1answer
360 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
2answers
1k views

Ignore a bibliography field [e.g. “urldate”] for eliminating of biblatex/biber warnings

I have a large bibliography generated by a reference manager program (Citavi, but it can be anything else). The urldate field of all references is formatted as urldate = {dd.mm.yyyy}, which is not ...
7
votes
2answers
144 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
695 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
368 views

BibTeX warning on extra title field

I am using TeXnicCenter and MiKTeX for compiling. I have the following BibTeX entry: @INPROCEEDINGS{cwang10, author={Cong Wang and Cuirong Wang and Ying Yuan}, booktitle={Cyber-Enabled Distributed ...
7
votes
1answer
98 views

What is the proper use of several \seealso in the same index entry with makeindex?

If one uses \index{invariant!\relax|seealso{Lorentz invariance}}% \index{invariant!\relax|seealso{speed of light}}% in a .tex file, the makeindex program produces a warning in the .ilg file, when ...
7
votes
1answer
1k views

BibTeX warning that optional fields are empty

I've got the following .bib file (Material.bib): @manual{GHCUserGuide, author = {The GHC Team}, title = {The Glorious Glasgow Haskell Compilation System User's Guide}, number = {7.6.3}, ...
7
votes
1answer
814 views

Floatingtable, always “Underfull \hbox (badness 10000)”

What LaTeX is trying to do with this: \documentclass{article} \usepackage{floatflt} \begin{document} \begin{floatingtable}[r]{ \begin{tabular}{cc} 0 & 1 \\ 1 & 0 \end{tabular}} ...
7
votes
1answer
321 views

Package showexpl throws “Label … multiply defined” [closed]

With the following MWE you will get a warning Label lst:HalloWelt multiply defined. In the MWE I have added the calls for packages showlabels and refcheck to show the used labels and to check ...
6
votes
5answers
350 views

What's wrong with the expression?

P(S_t) = \frac{1}{\sqrt{2 \pi t S_t} \sigma} e^\left [ -\frac{1}{2t} \left ( \frac{\log \left ( \frac{St}{S_0} \right ) - \mu t }{\sigma} \right ) ^2 \right ] Log: Missing { inserted. ...
6
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} ...
6
votes
2answers
5k views

Frame option in includegraphics makes an overfull \hbox

I'm using the adjust package to add the frame option in \includegraphics command. The package is loaded in this way: \usepackage[export]{adjustbox} Now I can write the following command: ...
6
votes
1answer
3k views

Hyperref warning which doesn't affect the output of the PDF

I have encountered a hyperref warning but there are no visible negative consequences. Additionally, LaTeX complete without a complaint. I only found the warning by looking at the .log file. Package ...
6
votes
3answers
418 views

Multiple labels warning for exam class with parts

I am writing a document in the exam class. For question with multiple parts (a), (b),... you are supposed to use the parts environment. Using it works fine, until I add a solution to the question that ...
6
votes
2answers
1k 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
2answers
64 views

How to use `\sqrt[n]{a}` inside `\begin{prop}[\cdots]`? [duplicate]

I'm writing a little text, but for some reason it won't compile when I do: \begin{prop}[Existência de $\sqrt[n]{a}$, $a > 0$, $n \in \mathbb{Z}_{>0}$] Sejam $a >0$ e $n \in ...
6
votes
4answers
4k views

pdfTeX warning: has been referenced but does not exist, replaced by a fixed one, with German Umlaut

I'm new to LaTeX, and have been given a LaTeX draft for writing a thesis. Everything works fine except for this warning: see the transcript file for additional information)pdfTeX warning (dest): ...
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
1answer
114 views

How to detect overfull and underfull hbox without triggering the warning?

I need a LaTeX macro which can be used by this: \IfFull{TEXT}{THEN}{ELSE} It would typeset TEXT in a \vbox (which it will discard), and if there was an overfull hbox or an underfull hbox, it would ...
6
votes
1answer
264 views

Why do I get these warnings with 14pt scrartcl

This is what my file looks like: \documentclass[14pt]{scrartcl} \begin{document} \Huge Hi \end{document} This is the output: Font shape `OT1/cmr/m/n' in size <35.83> not available(Font) ...
6
votes
1answer
124 views

Why does scrheadings + tgschola triggers a font shape warning?

This code: \documentclass{scrartcl} \usepackage{tgschola} \usepackage[T1]{fontenc} \usepackage{scrpage2} \pagestyle{scrheadings} \begin{document} a \end{document} gives this warning LaTeX Font ...
6
votes
1answer
434 views

XeLaTeX warning - objects still allocated in memory

I'm typesetting a document in XeLaTeX and keep getting this message: ** WARNING ** 1735 memory objects still allocated You may want to report this to tex-k@tug.org What does it mean? Am I to worry ...
6
votes
1answer
810 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
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
3answers
170 views

hyperref warning caused by Beamer appendix

The code below results in the following warning: "Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding): removing '\translate' on input line 16." (Note: line 16 is the blank ...
6
votes
1answer
581 views

Warning: Overfull \hbox in table

Consider the following example: \documentclass{article} \usepackage{booktabs,dcolumn} \usepackage{siunitx} \newcommand*\mc[1]{\multicolumn{2}{c}{Eleverne fra $9$.~#1}} \begin{document} ...
6
votes
1answer
209 views

siunitx overfull hbox dependent on table-format

There are a few similar questions (see here and here) regarding overfull \hboxes in siunitx tables but neither solves/explains the following. Consider this MWE: \documentclass{article} ...
6
votes
1answer
1k views

listing package and vbox warning

I have this many (see below) underfull warnings that are caused by using the listing package and creating \begin{lstlisting}\end{} to make code appear presentable. Is there a may to fix the warnings? ...
6
votes
1answer
501 views

Overfull \hbox caused by em-dash

There is one problem that currently seems insolvable to me. I am typesetting a book in Russian language and I noticed that, in some cases, an overfull box appears which cannot be solved via manual ...
6
votes
2answers
239 views

hyperref with implicit=false gives a warning

I am getting the following warning when I use beamer Package hyperref Warning: Option `pdftitle' has already been used I can recreate the problem with the following MWE based on the article ...
6
votes
1answer
383 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 ...
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‎‎}‎‎ ...
6
votes
1answer
732 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). ...
6
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, ...
5
votes
3answers
26k 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 ...
5
votes
2answers
717 views

How to avoid bad boxes in the index?

I'm currently writing a larger document, which will also contain an index. Unfortunetely, the index produces a lot of bad boxes. Plase find a small example at the bottom. My simple (but hopefully not ...
5
votes
1answer
3k 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 ...
5
votes
1answer
1k views

Package biblatex Warning: 'babel/polyglossia' detected but 'csquotes' missing

I can compile my .tex file without problem but I'm getting a warning that I don't understand. This is my code: \documentclass[letterpaper,12pt]{book} \usepackage[utf8]{inputenc} \usepackage{hyperref} ...
5
votes
2answers
77 views

atbegshi warnings printed as part of output

Consider the following example: \documentclass{article} \usepackage{lipsum,atbegshi} \usepackage[2-]{pagesel}% Ignore first page \begin{document} \lipsum[1-50] \end{document} The output includes a ...
5
votes
1answer
6k views

Overfull/Underfull \hbox warnings when compiling the document

I have bunch of pgfplots (plots and bar charts in my document) and when I compile I get errors like: Overfull \hbox (1.17287pt too wide) in paragraph at lines 2121--2122 [][] [35] Sometimes it ...