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

learn more… | top users | synonyms (1)

4
votes
1answer
3k 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 ...
4
votes
1answer
329 views

PDFLatex Halt on Warning/Typesetting Error

I'm using vim to write my latex and have a makefile that simply runs PDFLatex on the main TeX file. The output from this is often incredibly dense and difficult to parse with the human eye. What's ...
4
votes
1answer
759 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 ...
4
votes
1answer
1k 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 ...
4
votes
2answers
41 views

Warnings ignored if written in a custom auxiliary file (but not if written in .aux file)

For the class I'm working on, I'd like to display some warnings very early in the .log files. Writing the corresponding \ClassWarning or \ClassWarningNoLine commands in: the .aux file is okay but ...
4
votes
1answer
238 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} ...
4
votes
1answer
851 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 ...
4
votes
2answers
64 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 ...
4
votes
1answer
53 views

Multiply defined labels with \usebox

I want to duplicate some content without re-defining its labels. For example, \newbox{\foobox} \sbox{\foobox}{\vbox{\section{Foo}\label{sec:foo}} \usebox{\foobox} \usebox{\foobox} will emit a ...
4
votes
1answer
179 views

Underfull \hbox when creating table containing much text

I am completely new to LaTeX and how to create tables in this environment. Currently, I am trying to create a table that contains much text in each cell using tabularx. The output does not look too ...
4
votes
1answer
661 views

minitoc package: overfull \hbox

Does anyone of you know how to format a ToC created with the minitoc package in LaTeX? My problem is that I always get the following warning: ./hauptdokument.mtc.1:21:Overfull \hbox (2.83262 pt too ...
4
votes
2answers
1k views

Abstract page problems

I am using a report document classe. I have an abstract and an acknowledgement sections before the toc. This is my definition for Acknowledgements. I took it from someplace in the web, so there might ...
4
votes
1answer
85 views

Re-newing a column type

Package array has a \newcolumntype but seemingly no \renewcolumntype. But it makes a lot of sense to have a column type X whose meaning could be changed depending on context. When one does ...
4
votes
1answer
97 views

how to enter a dot with whitespace preceding it?

I'm getting Whitespace before punctuation mark in " ." when I'm trying to enter the word .Net with whitespace before it. How can I fix that? What's the proper way of entering a . with whitespace ...
4
votes
1answer
96 views

Hyperref warning when using amsthm and enumerate

hyperref gives the warning that something has been referenced but it doesn't exist. When I use the enumerate (or an itemize) list, I get the warning. Here is the minimal working example (MWE): ...
4
votes
1answer
512 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 ...
4
votes
2answers
2k 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, ...
4
votes
0answers
92 views

Did the source code of The LaTeX Companion compile with no warnings and no bad-boxes?

Not only out of curiosity, but also to know the extent to which one should delegate the document arrangement to LaTeX! And how much is too much for "manual work"
4
votes
0answers
117 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 ...
3
votes
2answers
1k 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: ...
3
votes
3answers
1k views

Suppressing error messages

I have a style sheet that has some problems. At this point I am just writing my paper and do not really care about \viiipt warnings and errors. So I need to press enter a million times to skip errors ...
3
votes
1answer
1k views

How can I fix this overfull hbox?

\documentclass[10pt]{article} \usepackage{chemfig} \usepackage[margin=1.2in]{geometry} \newcommand{\chem}{\setatomsep{2em}\chemfig} \begin{document} \begin{itemize} \item[--] 1$^\circ$ Alcohol ...
3
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 ...
3
votes
2answers
434 views

Warning message: “The marginal notes overrun the paper”

\documentclass[english]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[a4paper]{geometry} ...
3
votes
1answer
791 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 ...
3
votes
1answer
482 views

Underfull hbox in tabular

I'm trying to make a table with fixed column widths. Cells in the first column will generally not have enough text to require a line break within the cell. The second column's cells will quite often ...
3
votes
1answer
130 views

Loading Aurical fonts without generating a font warning

I've got a document where I load in the aurical package. However, whenever I use the fonts this defines, I get a Font Warning telling me that the font shape has been scaled. For example, ...
3
votes
1answer
912 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} ...
3
votes
1answer
1k views

Errors/Warnings in LaTeX Output

I use Vim to edit LaTeX documents and pdflatex to compile the documents. One problem with using pdflatex is that it takes time to go through the output to see if there is any warning/errors. ...
3
votes
2answers
26 views

How to put \ast in bookmark?

I need \section{\texorpdfstring{$V^\ast$}{V\textasciicircum\ast}} but \ast yields a warning.
3
votes
1answer
427 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 ...
3
votes
3answers
188 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
1answer
25 views

Table containing symbols in a fixed-width column results in underfull hbox

As part of a large table I have a column where each row contains a number of variables/symbols. The column should have a fixed width to fit the rest of the table. The problem is that the collection of ...
3
votes
1answer
175 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)) ...
3
votes
2answers
442 views

algorithm2e with boxruled gives overfull hbox

I am using the algorithm2e package with the boxruled option to format my pseudo-code. However, I am getting an overfull hbox, which I suspect is due to margin/box conflicts. Does anyone have a fix ...
3
votes
2answers
782 views

LaTeX Error: Something's wrong--perhaps a missing \item [closed]

I am writing my thesis using a LaTeX template. When I tried to import my references, I got the following errors when I texifyed my thesis.tex: This is BibTeX, Version 0.99d (MiKTeX 2.9 64-bit) The ...
3
votes
1answer
134 views

How reduce badbox sensitivity locally?

In my document I have a Underfull \vbox (badness 2662). I want to ingnore this specific badbox but none of the others. Therefore, I want to make LaTeX locally less sensitive to badboxes. I tried ...
3
votes
1answer
295 views

What does this warning “** WARNING ** TrueType post table name index 32768 > 32767” mean?

I'm new to TeX and trying to compile this code: \documentclass{article} \usepackage{xeCJK} \setCJKmainfont{WenQuanYi Zen Hei Mono} \begin{document} 你好,\TeX! \end{document} I get the pdf fine, but ...
3
votes
1answer
395 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}\\} ...
3
votes
1answer
8k views

LaTeX Warning About Height, \hbox, and \vbox, and ht

I am compiling a LaTeX document on Ubuntu and I am getting those warnings, errors, or whatever. Any idea about them? Package hyperref Warning: Height of page (\paperheight) is invalid (0.0pt), ...
3
votes
1answer
3k views

Underfull \hbox (badness 10000) in paragraph for table

I got a "bad box" warning said `!h' Underfull \hbox (badness 10000) in paragraph Underfull \hbox (badness 10000) in paragraph Underfull \hbox (badness 10000) in paragraph Underfull \hbox (badness ...
3
votes
2answers
208 views

\url{} links with percent (%) signs and overfull hbox error

I have looked at the first comment to this question on % in urls and found that I didn't need to type \ ahead of each %. However, in WinEdt 7.1, everything from the first % in the first URL is now ...
3
votes
1answer
128 views

Problem with savesym

MWE: \documentclass[12pt,a4paper]{article} \usepackage{savesym} \begin{document} content... \end{document} Gets the following error You have requested package ``savesym',but the package provides ...
3
votes
1answer
163 views

Best way of breaking a line? [duplicate]

Possible Duplicate: What are underfull hboxes and vboxes and how can I get rid of them? I'm just trying to break a line at some point, e.g. Word 1\\ Word 2 Which will give me an ...
3
votes
1answer
83 views

Suppress natbib warnings

The output of pdflatex is filled with lines like this: Package natbib Warning: Citation `lee2004calder' on page 15 undefined on input line 207. I'm aware that the citation is undefined, and at some ...
3
votes
1answer
232 views

Duplicate identifier, subfig and hyperref

Why does LaTeX complain about destination with the same identifier (name{subfigure.1.2}) has been already used, duplicate ignored with this: \documentclass{article} \usepackage{tikz} ...
3
votes
3answers
310 views

How to fill an underfull box in footnote with url?

Could someone help to correct the warning I get related to an underfull box with the following code? I have tried \hfill, hspace*{\hfill} etc with no luck. \documentclass[twocolumn,draft]{svjour3} ...
3
votes
2answers
392 views

Extra line after the paragraph ended by dash with overfull

Consider the following example (Plain TeX): %%%%% Tttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt- Test. \end %%%%% The first ...
3
votes
0answers
36 views

Throw warning based on distance from the bottom

Is there a way to specify a warning in LaTeX which is thrown if and only if a specified text is not at the bottom (or near the bottom) of the page? Use-case: manual column-breaking is needed due to ...
3
votes
0answers
176 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 ...