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

learn more… | top users | synonyms (1)

4
votes
0answers
98 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
2answers
45 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 ...
7
votes
1answer
214 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 = ...
9
votes
1answer
5k views

Tilde and slash in LaTeX

I am getting strange errors in LaTeX: perhaps you should insert a `~' before "\ref" missing `\ ' after "i.e." missing `\ ' after "i.e." I understand that the first expects me to put a tilde before ...
6
votes
2answers
332 views

itemize under sf produce a font warning

It seems that textbullet has no sf version. When itemize is in a \sf environment, I receive the following warning: LaTeX Font Warning: Font shape `OMS/cmss/m/n' undefined (Font) using ...
2
votes
0answers
979 views

A float is stuck (cannot be placed)

I am writing an article using revtex4-1, and I am facing the following warning: MnBi.bbl|1 warning| LaTeX Warning: A float is stuck (cannot be placed) on input line 1. (As from vim's quickfix ...
30
votes
1answer
11k views

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

I get the following warning pdfTeX warning (ext4): destination with the same identifier (name{page.1}) has been already used, duplicate ignored when compiling the following document: ...
8
votes
1answer
6k 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 ...
11
votes
2answers
718 views

Microtype warning with lmodern package and KOMA-script

With a simple document \documentclass{scrreprt} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{microtype} \usepackage{lmodern} \begin{document} \chapter{Test test test} ...
1
vote
1answer
103 views

A warning and an unknown command (XeTeX)

Why does \T{foo} yield LaTeX Warning: Command \m invalid in math mode on input line 456.? And what is \C, which yields LaTeX Error: Command \C unavailable in encoding EU1.? What is that \m the warning ...
0
votes
1answer
244 views

Warnings on TeXShop Console (XeTeX)

LaTeX warning: "xparse/redefine-command" * * Redefining document command \oldstylenums with arg. spec. 'm' on line 128. LaTeX warning: "xparse/redefine-command" * * Redefining document command ...
2
votes
0answers
98 views

TeXShop Console messages (XeTeX)

Can someone explain what the messages in the gist at https://gist.github.com/anonymous/8181888 mean? This is what TeXShop's console says when I typeset my notes. The .tex file of the notes is at ...
5
votes
1answer
401 views

Ignore a bibliography field [e.g. “urldate”] for eliminating of biblatex/biber warnings

I have a large bibliography generated by a reference manager program (Citavi, but it can be anything else). The urldate field of all references is formatted as urldate = {dd.mm.yyyy}, which is not ...
2
votes
1answer
2k views

Underfull \hbox (badness 10000) in paragraph at lines 106--107 [duplicate]

Recently, LaTeX always shows "Underfull \hbox (badness 10000) in paragraph at lines 106--107 Trial: \documentclass{ctexart} \usepackage{color} \usepackage{amsmath} \usepackage{amssymb} ...
6
votes
2answers
300 views

the problem of using “~\\” and blank line

Recently,I found the code that cotains the"~\\" and blank line always shows the warning imformation "Underfull \hbox (badness 10000) in paragraph at lines" \documentclass{ctexart} \usepackage{color} ...
1
vote
1answer
117 views

Warnings about Underfull/Overfull hboxes

I have created a calendar in LaTeX using MiKTeX and although the whole code is correct I have 12 warnings about underfull hboxes and overfull. Can someone tell me first how to make my code run without ...
8
votes
1answer
208 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} ...
5
votes
2answers
242 views

mdframed label multiply defined (with listings and paracol)

I use three packages (in a latex "book" document) to display source files (not only tex and sometimes loaded from external files) and their outputs (sometimes loaded from external files) side by side. ...
2
votes
1answer
174 views

avoid underfull \hbox (badness 10000) in paragraph because of linebreak

It seems to be a common question, but the other werent adressing my code. \begin{table}[ht!] \centering \small \caption{Absolute and relative frequencies } \label{FreqFair} ...
9
votes
1answer
132 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
241 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
186 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
4k 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
492 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
2answers
3k 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
138 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} ...
3
votes
2answers
290 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 ...
5
votes
1answer
153 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
357 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
203 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
102 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
159 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
8k 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
1k 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} ...
17
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
1k 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
118 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
597 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
209 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
33 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
262 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 ...
3
votes
2answers
2k 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
120 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
121 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
82 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
52 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:
8
votes
2answers
191 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
144 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
292 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} ...