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

learn more… | top users | synonyms (1)

9
votes
1answer
144 views

Compiling LaTeX in pedantic mode

Some compilers for general purpose programming languages such as GCC have a switch for turning warnings into actual errors: $ gcc -Werror main.c There is a similar mechanism for compiling LaTeX ...
9
votes
1answer
398 views

Why is a warning thrown when writing a minus symbol?

I created the following minimal LaTeX document: \documentclass{article} \usepackage[ansinew]{inputenc} \begin{document} $–A + B$ \end{document} It throws a warning 'LaTeX Warning: Command ...
1
vote
1answer
208 views

SublimeText/LaTeXTools: overfull hbox warnings

I have recently started to use Sublime Text (a text editor) and its extension package LaTeXTools (all kinds of macros that make it very convenient to edit LaTeX documents). LaTeXTools offers a number ...
3
votes
1answer
6k 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 ...
7
votes
1answer
796 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}, ...
9
votes
2answers
5k views

Couldn't open font map file “kanjix.map”. with MiKTeX

\documentclass{article} \begin{document} Foo \end{document} When compiling this MWE with MiKTeX 2.9’s xelatex, I get the following warning: ** WARNING ** Couldn't open font map file "kanjix.map". ...
12
votes
1answer
204 views

Can I disable underfull \hbox messages for a specific line?

The line \sbox{\mybox}{\parbox{2cm}{\lipsum[1]}} causes some of the above messages (59): \documentclass{article} \usepackage{lipsum} \newsavebox{\mybox} \begin{document} ...
5
votes
1answer
229 views

Mysterious overfull \hbox

I want each section title to be underlined, with the section number on the right. Furthermore I want to use parskip. This is what I did to get that: \documentclass[12pt,a4paper]{article} ...
4
votes
1answer
410 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 ...
9
votes
1answer
292 views

hyperref token not allowed warning, possible bug?

I currently am using the hyperref package and I'm currently getting a lot of error messages. Currently all of the chapter and section titles give this same error. I decided to try make a minimum ...
6
votes
1answer
142 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} ...
1
vote
0answers
235 views

addmargin, enumerate and align* miss an overfull hbox

The following document compiles as expected, and looks as expected: \documentclass{article} \usepackage{scrextend} \usepackage{amsmath} \usepackage{lipsum} \begin{document} \lipsum[1] ...
11
votes
4answers
9k views

Overfull \hbox warning when using tabular

I keep getting this warning Overfull \hbox (0.63303pt too wide) in paragraph at lines xxx--xxx` wherever I have this line in the code \begin{tabular}{p{2cm}|p{4cm}|p{3cm}|p{3cm}} It does ...
1
vote
1answer
2k views

Bibtex “didn't find a database entry”

I'm having issues creating citations in my document. My text file states: \documentclass[11pt]{article} \usepackage[round]{natbib} \begin{document} Their long-term aid \citet{Haggarty:01} ...
19
votes
1answer
3k views

XeLaTeX 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} ...
3
votes
0answers
39 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 ...
7
votes
1answer
2k views

pdfTeX warning (ext4): destination with the same identifier (name{figure.1}) has been already used, duplicate ignored

I've tried to make bilingual caption with package "ccaption" and compiled it with pdfLaTeX. It works fine but with a warning: pdfTeX warning (ext4): destination with the same identifier ...
4
votes
1answer
147 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 ...
3
votes
2answers
825 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
0answers
259 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 ...
1
vote
1answer
35 views

How to re-name warning messages when running pdftex

I'm looking for a quick and dirty solution to this, however bad practice it is. I have a bunch of warnings produced, and I can see from my outputted documentation that they're not actually 'bad'. So ...
4
votes
1answer
358 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
2answers
3k 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: ...
0
votes
0answers
138 views

Fontconfig warning every time I compile a file

Every time I compile a XeTeX file, the error/warning log always includes these warnings: xetex> ) [1] ("D:\Projects\Test\test.aux")Fontconfig warning: no <cachedir> elements found. Check ...
5
votes
1answer
162 views

Avoiding warning message with “each nth point” option in pgfplots

Let assume I have a signal with a very large number points. Once I obtain the associated TikZ file, I may run out of memory for compilation... Ok, so one way to solve this issue is to use the option ...
2
votes
1answer
91 views

Reorder or reduce console output

After running pdftexify, I get a long console output of several hundred lines. Hidden within this output, there are a few bad boxes and sometimes a warning. Is there some way to reduce the output such ...
2
votes
1answer
57 views

warning on xypic

I get several warning about xypic, I have no idea what to do about them. Can anyone help me? I can provide more info, if you ask me. The warnings I get are as follows:
9
votes
2answers
207 views

Show reference label when it is undefined

When a reference is undefined, LaTeX shows simply [??] which doesn't give much information. I would like it to show the label instead. This is useful when more collaborators work on the same preprint ...
17
votes
1answer
147 views

Floats shortly after they have been \ref-erenced; Warn otherwise

In my thesis I have a many floating figures which I then reference using \ref. I use flafter to ensure that they do not appear before they are defined in the source code (See Force floats to be ...
6
votes
1answer
394 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
432 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) ...
0
votes
1answer
189 views

PDF not generated but I see no error!

I am having a lot of trouble adding png images and also with hyphenations, All of a suddent I was adding the following tkiz scheme and when I add the lattest part I started getting a bunch of ...
8
votes
1answer
2k views

How to fix BibTeX warning about missing author or key fields for webpage-type entries?

I need to reference some online databases in my LaTeX report. I have them included in my .bib file in this format: @misc{StanfordScanRep, title = {{The Stanford 3D Scanning Repository}}, howpublished ...
3
votes
1answer
201 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 ...
6
votes
2answers
627 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 ...
0
votes
1answer
209 views

How can I make compilation more quiet by removing “LaTeX Warning” messages from the log? [duplicate]

I am using a the Tufte-\LaTeX class and compiling it in TextMate, which has a nifty LaTeX bundle and latexmk interface. The document is getting long, and I get heaps of these: LaTeX Warning: ...
2
votes
1answer
1k views

hyperref warning: Token not allowed in a PDF string (PDFDocEncoding): removing `\OT1\o'

I'm starting to learn LaTeX using MiKTeX, but I'm stuck with a problem, that I hope you guys can help me with. Using the document class memoir and a bunch of different package for graphics and page ...
5
votes
1answer
580 views

Overfull hbox in tabular

In the following (M)WE, the tabular version of the Contact information from a CV gives an overfull hbox warning when compiled with pdfLatex, but the minipage version does not. Why? I have not found a ...
7
votes
1answer
680 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}} ...
14
votes
2answers
8k views

Warning with footnotes: “name{Hfootnote.xx} has been referenced but does not exist”

First, some general details about my document: I'm using the scrbook class and the hyperref package. The document is split up into different source files (though this fact should not matter in this ...
4
votes
1answer
329 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)) ...
2
votes
1answer
112 views

list: overfull error

I'm getting error: Overfull \hbox (11.66551pt too wide) in paragraph Code: \documentclass{article} \usepackage{verbatim} \usepackage{graphicx} \usepackage{url} % typeset URL's reasonably ...
7
votes
1answer
299 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} ...
4
votes
1answer
1k 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 ...
3
votes
1answer
342 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
1answer
84 views

Suppress fontaxes warnings

I'm using MyriadPro. When compiling, I'm getting a lot of fontaxes warnings: Package fontaxes Warning: I don't know how to decode (fontaxes) family `cmr' on input line 632. I ...
1
vote
0answers
27 views

Warning message overfull \hbox what does it mean? [duplicate]

When I run my latex the document is set, but it takes a long time and I have lots of warnings like this: Overfull \hbox (4.0pt too wide) has occurred while \output is active What does this mean? ...
1
vote
0answers
152 views

floatfoot with ffigbox gives warning

I use a (I believe correct setup) of floatrow, to generate multiple subfigures, which uses \ffigbox and I would like to use \floatfoot to generate a longer text below the caption for the group of ...
2
votes
1answer
249 views

How to get rid of “multiply defined” label warning?

I have used \label{rt} command 7 times in my manuscript for seven figures. It is showing a warning message of "LaTeX warning: Label '{rt}' multiply defined". How to remove the warning?
7
votes
1answer
665 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 ...