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

learn more… | top users | synonyms (1)

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
70 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: ...
14
votes
1answer
24k 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
550 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
21 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
25 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 ...
26
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] ...
64
votes
2answers
36k 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
22 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
2k 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 = ...
3
votes
1answer
60 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} ...
75
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
34 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
34 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
183 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
47k 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
67 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
284 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
41 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
41 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
130 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
48 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
55 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
81 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
65 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
45 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
59 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
37 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. ...
84
votes
2answers
70k 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
42 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
26 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
34 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
228 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
353 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
65 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
57 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
45 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
44 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 ...
31
votes
3answers
6k views

Is there any way to generate custom errors/warnings in LaTeX?

I want something like \ifmmode\else\GenerateWarning{The command \backslash uzuka is supported only in math mode.}\fi, which is supposed to generate a warning "The command \uzuka is supported only in ...
5
votes
3answers
1k views

Warnings and errors highlighting when compiling in Bash environment

I'm processing a large document, using Latexmk in a Bash environment. It would be very helpful if error and warning messages were somehow highlighted or coloured, in order to facilitate spotting them. ...
3
votes
2answers
65 views

Overfull \hbox when using tabularx

I found a lot of related questions about Overfull \hbox warning and tabularx but none of them have helped me so far. This is a minimal code which reproduces the warning (the real table isn't so ugly ...
2
votes
2answers
75 views

Packages catoptions and tikzcircuit warning: how to remove it?

I have to use a format that uses catoptions package; when I use it in conjunction with tikzcircuit I have a (mostly harmless, I think, but annoying in IDEs) warning --- \documentclass[border=10pt, ...
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): ...
4
votes
2answers
61 views

Linebreaking in a correct manner

So this might be a really basic question, but I couldn't find anything about it. In my amateur style of LaTeX typesetting, I sometimes want linebreaks in random places for various reasons. I usually ...
15
votes
3answers
14k views

How can I get rid of the LaTeX warning: Float too large for page?

In my document, I have figures that have a rather long caption. The code I use to include them looks like this: \begin{figure} \begin{center} \includegraphics[width=\textwidth]{../fig.pdf} ...
3
votes
0answers
62 views

moderncv won't create pdf [duplicate]

while I have no errors in the Text, I get a few warnings, from which most are similar: LaTeX Warning: You have requested package 'moderncvheadii', but the package provides 'moderncvheadii'. To me this ...
2
votes
0answers
827 views

Unable to print list of abbreviations in my document [closed]

I have a master document with several chapters as separate tex files. I am trying to print the list of abbreviations using glossaries package. I am defining it in the preamble as follow and I am doing ...