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

learn more… | top users | synonyms (1)

8
votes
1answer
148 views

How to warn if a package hasn't been loaded

Is it possible to emit a warning if a package hasn't been loaded? If possible, I would prefer that the solution not require \usepackage{ifthen} as it couldn't emit the warning that it was missing the ...
8
votes
2answers
66 views

Correct way to typeset a section producing an underful box

I am writing a two-column document and I have a problem with a section which produces an underfull box. What is the correct way (or some better ways) to typeset such a section so to have a beautiful ...
8
votes
3answers
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 ...
8
votes
1answer
152 views

When (La)TeX says “some message on input line XYZ” - where's that line?

I'm sure this is a dupe, but I'll go ahead anyway: LaTeX relates many of its messages to lines in files. For example: LaTeX Font Info: Try loading font information for OT1+lmtt on input line 81. ...
8
votes
1answer
666 views

Beamer: Overfull hbox in headline

I try to redefine the header of my frames, but for some mysterious reason I get an overfull hbox of 1.6 points or slightly more: \documentclass{beamer} \usepackage{times} ...
8
votes
1answer
1k views

Babel warns of lack of hyphenation patterns for Hebrew

I use TeX Live including the Hebrew package. I've tried to produce a simple TeX file: \documentclass{article} \usepackage [english,hebrew]{babel} \begin{document} שלום \end{document} but I keep ...
8
votes
2answers
2k 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 ...
8
votes
1answer
2k views

What causes those warnings and how can I avoid them?

I have a bunch of warnings as follows: l.3387 \end{align} pdfTeX warning (ext4): destination with the same identifier ( name{equation.0.24}) has been already used, duplicate ignored ...
8
votes
1answer
359 views

Memoir mysterious overfull hbox in TOC when mathptmx is used

I'm trying to troubleshoot an overfull hbox warning that arises with some long chapter titles in memoir. I've narrowed it down to the following minimal example. The problem arises with mathptmx but ...
8
votes
1answer
1k 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
2k 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} ...
8
votes
1answer
248 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
158 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
5answers
397 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. ...
7
votes
2answers
3k 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} ...
7
votes
2answers
2k 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
7k 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: ...
7
votes
1answer
2k 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 ...
7
votes
2answers
414 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
3answers
513 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 ...
7
votes
2answers
442 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
414 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
1answer
1k views

Beamer patching footnotes warning

Consider the following MWE \documentclass{beamer} \usepackage{lmodern} \usepackage[style=authoryear-comp,backend=biber]{biblatex} \begin{document} \begin{frame} Foo \end{frame} \end{document} ...
7
votes
2answers
3k views

LaTeX gives warning - empty label `' multiply defined

I have a LaTeX document that works fine, but it does give a warning message every time I compile it. Here is the text of the warning message: LaTeX Warning: Label `' multiply defined. The name of ...
7
votes
1answer
5k 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} ...
7
votes
2answers
296 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 ...
7
votes
2answers
153 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
743 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
256 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
284 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} ...
7
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? ...
7
votes
1answer
440 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
554 views

What does “File stack underflow!” mean?

I am getting two times the error: Package currfile Warning: File stack underflow! on input line xxx. I am not explicitly loading currfile, but standalone seems to do. I am getting this warning ...
7
votes
1answer
3k 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
930 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
343 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 ...
7
votes
2answers
102 views

Make warnings more obvious

As a package author, I want people to load my package with a version parameter like \usepackage[version=4]{mhchem} I decided to use a warning (and no error) if they did not, because not specifying ...
6
votes
5answers
6k 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
5k 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
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
93 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
1answer
9k 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 ...
6
votes
2answers
131 views

Why default behavior of section title is to overflow

The question I am asking here is not "how to fix" but rather "why is this the default behavior". For many things, I find that understanding why latex does what it does leads to me being able to write ...
6
votes
1answer
2k 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
471 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
3answers
248 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
146 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
306 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
154 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
961 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 ...