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

learn more… | top users | synonyms (1)

2
votes
1answer
10 views

Number of nested environments in a two-column document

When you use a two-column document does the number of nested list environments you can place gets reduced? I thought that you could use 6 nested environments before LaTeX "complain" about being too ...
1
vote
2answers
26 views

Warning “Command \underbar has changed”

I am using the following code and I get the warning Command \underbar has changed. What does this mean? How do I fix it? \documentclass{article} \usepackage{amsmath} \usepackage{unicode-math} ...
5
votes
1answer
49 views

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

when compiling the following document: \documentclass[11pt]{exam} \usepackage{amsmath,amsbsy,amssymb,amsthm,cases,blkarray,mathrsfs,amsrefs,amsfonts,latexsym} ...
0
votes
0answers
7 views

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

when compiling the following document: \documentclass[11pt]{exam} \usepackage{amsmath,amsbsy,amssymb,amsthm,cases,blkarray,mathrsfs,amsrefs,amsfonts,latexsym} ...
7
votes
1answer
937 views

How to include font into document?

I have a template that use Frutiger Font. But I think the font is not correctly included because while generating the document I get various font errors and the last one: LaTeX Font Warning: Some ...
1
vote
1answer
119 views

Warning “No positions in optional float specifier.”

I am writing a LaTeX document, and received the warning No positions in optional float specifier. However, the problem is LaTeX did not point me to where does the warning come from, therefore I ...
1
vote
1answer
52 views

What does this bad box signify? And how to get rid of it?

I'm trying to compile some notes I've written using Latex (WinEdit 9.1 + MikeTex 2.9.5845 + Latex: AMS Article). Although it has compiled (when I select Compile on the Accessories menu), there is ...
96
votes
2answers
52k views

What does “overfull hbox” mean?

I often see output from TeX with the warning overfull hbox, badness 10000. What does this message mean?
0
votes
0answers
9 views

Cast a custom warning during compilation [duplicate]

I want to have a command in (XeLa)TeX cast a warning when compiled, is there a way to do this? The following code should cast a warning like "User warned `text' in line 4" (the line reference is ...
3
votes
1answer
69 views

Overfull \hbox warning in tabular

I have the following table: \documentclass[border=3mm]{standalone} \usepackage{graphicx} \usepackage{booktabs,multirow} \usepackage{siunitx} \usepackage{stackengine} \begin{document} ...
3
votes
1answer
1k views

TeX Gyre Pagella and itemize environment gives font warnings

\documentclass{article} \usepackage{tgpagella} \begin{document} \begin{itemize} \item test1 \item test2 \item test3 \end{itemize} \end{document} Compiling the above minimal LaTeX file ...
5
votes
1answer
85 views

Automatically add \texorpdfstring for math-mode in section titles

I'm receiving a ton of warnings á la "token not allowed in a pdf string", since most of my section titles contain math (see this post here: Hyperref - Token not allowed or here: Hyperref warning - ...
88
votes
4answers
3k views

Techniques and packages to keep up with good practices

Question What techniques and packages are there to keep up with good practices? What I already know I already know of the following packages for this kind of purpose: ...
15
votes
1answer
25k views

What is a “Overfull \hbox (9.89561pt too wide)”?

I have this warnings around, some of them seems to be solved naturally but I never really understand what do they mean. What this means? Edit: I would like to keep the question in more general ...
7
votes
1answer
574 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 ...
2
votes
1answer
30 views

No backend warning in TexMaker text

There are two errors over line 1 of my text 1) No "backend" specified, using Biber backend 2) 'babel/polyglossia' detected but 'csquotes' missing. here is a sample of the document ...
5
votes
1answer
32 views

Biblatex - End Occurred when \iftrue on line n was incomplete [closed]

I've been trying to troubleshoot this warning I've been getting: (\end occurred when \iftrue on line n was incomplete) where n is always the line containing \begin{document}, and I've ripped ...
28
votes
3answers
24k views

How to put a line-break in section heading?

I have some section headings occupying two lines and I'm not satisfied with the way XeLaTeX breaks the heading. If I manually add \\ the output looks fine, but I get the following warning: [hyperref] ...
66
votes
2answers
37k views

How to remove the warnings “Font shape `OT1/cmss/m/n' in size <4> not available” and “Size substitutions with differences” in beamer?

LaTeX Font Warning: Font shape `OT1/cmss/m/n' in size <4> not available LaTeX Font Warning: Size substitutions with differences I am using the files from ...
2
votes
1answer
35 views

Hyperref: destination with the same identifier (…) has been already used, duplicate ignored

From the MWE: \documentclass{memoir} \usepackage{graphicx} \newsubfloat{figure} \usepackage{hyperref} \begin{document} \begin{figure}[h] \subbottom[Image ...
8
votes
3answers
3k views

When running Bibtex with a statement that has a comma at the end, this is obscuring real problems

When I run bibtex on document with a citation such as \cite{European00Presidency} and the .bib entry looks like this: @MISC{European00Presidency, author = {European Council,}, title = ...
76
votes
11answers
22k views

Multiple PDFs with page group included in a single page warning

I updated TeX Live to the Ubuntu Quantal version (2012.20120611-4) and I suddenly got this warning: PDF inclusion: multiple pdfs with page group included in a single page This is a minimal ...
2
votes
1answer
35 views

Underfull \hbox (badness 10000) in .sty

I reasearched a lot of advice on the undefull box problem. But nothing I tried solved the problem. I wrote a .sty file for a certain formatting and get this warning for every occurrence of this ...
1
vote
0answers
53 views

How to avoid overfull and underfull boxes?

I can't solve my problem with overfull and underfull hboxes and vboxes. \usepackage{setspace} \usepackage{subfiles} \usepackage{nomencl} \makenomenclature \usepackage{color} \usepackage{tabularx} ...
3
votes
1answer
210 views

How to avoid underfull \hbox when using subfigures?

When compiling the MWE below with pdflatex, I get the warnings Underfull \hbox (badness 10000) in paragraph at lines 26--27 and Underfull \hbox (badness 10000) in paragraph at lines 36--37. I tried ...
19
votes
3answers
49k views

Undefined citation warnings

When I compile my document I get warnings of the form: Package natbib Warning: Citation `xxxxx' on page y undefined on input line z. This problem does fix itself eventually when the compiler ...
2
votes
1answer
75 views

Replace undefined reference ?? with custom text?

I'm using luatex and the cleverref package while writing a large document. I often only want to compile only parts of it, but I'd like my output to be a little nicer when I only compile a single ...
9
votes
2answers
292 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 ...
1
vote
1answer
56 views

Warning: layout scale set to 0.5 on input line

When I compile my dissertation, I have the warning: ./thesis.tex:54: Layout scale set to 0.5 on input line 54. Line 54 contains \begin{document}. The root project file thesis.tex, even just the ...
1
vote
0answers
42 views

Why are missing characters reported as warnings and not errors?

In the following example, the PDF compiles without error using xelatex: \documentclass{article} \usepackage{fontspec} \usepackage{xunicode} \usepackage{polyglossia} \setdefaultlanguage{english} ...
1
vote
1answer
1k views

Fixing overfull `\vbox`

With the code: $$A=\msq{\mat{ccccc} 2 & -1 & & \multi[2][2]{\Huge{$0$}} \\ -1& 2 & -1 \\ & \ddots & \ddots & \ddots \\ \multi[2][2]{\Huge{$0$}} & \ddots & ...
6
votes
2answers
136 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 ...
2
votes
2answers
55 views

Overfull \hbox when inserting citation in blockquote

I am inserting a \blockquote in my document but when adding a citation at the end of it (with a \hfill to make it right-aligned), I get an Overfull \hbox. This only happens using xelatex which I'm ...
3
votes
1answer
58 views

Reference to not yet written object (supress warnings)

Is there a way to make references to not yet written code? Basically I just want to supress warnings that appear, when I write \ref{}, cause I happen to have references to things, that will come ...
2
votes
4answers
89 views

minipage wrapping tabularx overfull box

The line Zur Erläuterung der... should introduce the following list. This produces an underfull hbox and I just can't get rid of it. To keep the content together on one page I found the solution in ...
1
vote
2answers
67 views

tabularx with dynamic columns and much text ends up in under- and overfull boxes

I wrote two tabulars which faces kind of the same problem. They end up in a mess of under- and overfull boxes. I noticed many under- and overfull boxes threads here, but I wasn able to fix it yet. ...
0
votes
0answers
53 views

Underfull \hbox (or \vbox) and Overfull \hbox (or \vbox)

I'm currently using the dis class with strong requirements on text with and text heigth. After compilation of my latex file I got a lot of warnings of the following kinds Underfull \hbox (badness ...
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 ...
2
votes
2answers
60 views

Can glossaries provide warnings when a glossary entry is used but not included in the glossary?

glossaries supports cross-referenced entries. In particular, if I use one glossary entry in another and only include the second explicitly in my document, glossaries can still figure out that it ...
1
vote
1answer
38 views

Does pdfTex produce warnings when it doesn't find the word hyphenation pattern?

In my document I use babel package and load several languages for correct hyphenation. \usepackage[icelandic, latin, czech]{babel} I add manually words that babel package doesn't know. ...
86
votes
2answers
73k views

Question mark instead of citation number

I've browsed the forums and found a number of posts that have addressed this issue, but none of the solutions seem to work for me. I have the following script that I just copied from the bibtex home ...
0
votes
0answers
43 views

How do I get warning when a label is not defined but we are refering?

I am writing a lecture notes for M.Sc Students... The first chapter was prepared some months ago and I forgot that the places that I have referred a particular example/exercise given in the first ...
0
votes
0answers
31 views

Compiling default sig-alternate-sample template yields warnings

I downloaded a fresh copy of the ACM SIG Proceedings template from here: However, on compiling this as suggested (Latex, bibtex), I am getting a few warnings as shown below: While I understand ...
5
votes
1answer
36 views

How can I avoid a persistent warning concerning possibly changed labels when using background and TikZ?

Last month, I posted the following code as an answer to a question. The code gives the right output. However, what I did not notice but Thérèse did is that it generates a warning concerning undefined ...
16
votes
2answers
229 views

How do I generate a warning for an undefined control sequence

I've defined some setter and getter commands to facilitate entering complex content into my document. The basic definitions are as follows: \newcommand\aeset[3]{\expandafter\newcommand\csname ...
1
vote
1answer
375 views

Warning: Font shape LGR/mdbch/m/n undefined(Font) using LGR/cmr/m/n instead

Basically I get the warning: Warning: Font shape LGR/mdbch/m/n undefined(Font) using LGR/cmr/m/n instead in a paragraph with \textdelta This latter command has an orange background, color that ...
4
votes
1answer
77 views

hyperref - pdftex warning (ext4) destination with same identifier

I am currently working on a document with fixed format, which also includes multiple sections and subsections with the same numbering appearing in it. \documentclass[12pt,a4paper]{memoir} ...
4
votes
1answer
61 views

File stack underflow problem

I was wondering if this is a bug in the currfile package. I am getting warning: File stack underflow! while running the given code. Also, I run into warnings: Font shape 'OT1/cmss/m/n' in size ...
1
vote
0answers
52 views

Suppressing badbox messages does not work

For me thesis, I want to suppress all badbox message until it is somewhat finished to concentrate on the more pressing warnings. As suggest here http://tex.stackexchange.com/a/164889/81936 I tried ...
1
vote
0answers
45 views

Why do I get Underfull \hbox warnings where there isn't even any typesetting to do? [closed]

I think screen grabs may help. As you can see, it appears to be reporting bad box warnings where there are no typesetting escape codes? Here is the source file: Here are the errors: How to I ...