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

learn more… | top users | synonyms (1)

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
640 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
774 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
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, ...
7
votes
2answers
314 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
385 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
693 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
343 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
140 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
681 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
357 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
82 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
779 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
313 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
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
4k 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
2k 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
392 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
911 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 ...
6
votes
4answers
3k 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
106 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
253 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
112 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
421 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
770 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
140 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
534 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
190 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
985 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
484 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
227 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
372 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
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‎‎}‎‎ ...
6
votes
1answer
719 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). ...
5
votes
3answers
24k 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
662 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
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 ...
5
votes
2answers
73 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
1k views

Overfull \hbox warning for TOC entries when using memoir documentclass

I get Overfull warning for TOC entries when using memoir documentclass. They seem to occur when the page number for chapter title entries (highlighted in bold text) exceeds 2-digits or section page ...
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 ...
5
votes
1answer
354 views

badness messages when changing from report to book class

When I change the documentclass from report to book I suddenly get a lot of messages like this: Underfull \vbox (badness 10000) has occurred while \output is active [] Does anyone have an ...
5
votes
2answers
309 views

mdframed label multiply defined (with listings and paracol)

I use three packages (in a latex "book" document) to display source files (not only tex and sometimes loaded from external files) and their outputs (sometimes loaded from external files) side by side. ...
5
votes
1answer
710 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)} ...
5
votes
1answer
535 views

Suppressing unwanted command line output when running pdflatex

Using the \batchmode command at the top of the file helps getting rid of some lines, but I'm still left with a few lines, for example: (/usr/local/texlive/2011/texmf-dist/tex/latex/base/t1enc.def)) ...
5
votes
1answer
2k views

Overfull hbox warning when including graphics

I'm getting the error: Overfull \hbox (14.34999pt too wide) in paragraph at lines 374--375 [][] | when including graphics files. The files are in EPS format. Below is an example: \begin{figure} ...
5
votes
1answer
328 views

nag complains about \centerline in environment “shaded” from package framed

Running this with Miktex, pdflatex, Windows, TeXnicCenter, everything fully up to date: \documentclass{article} \usepackage[l2tabu]{nag} \usepackage{xcolor} \usepackage{framed} ...