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

learn more… | top users | synonyms (1)

4
votes
1answer
91 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 ...
8
votes
2answers
2k views

How do you suppress specific warnings generated by pdflatex?

A lot of the times I get warnings like "hbox overfull" when a specific part of my document is meant to be extra wide on purpose --> so I am purposefully violating the default width threshold. Or to ...
7
votes
3answers
226 views

Glossaries conflict with memoir

I am having an issue with glossaries producing the warning when used with the memoir class Package glossaries Warning: overriding `theglossary' environment on input line 4761. A minimum working ...
2
votes
1answer
195 views

What does this error mean in Mathtools-colon?

I have not been able to produce the minimal example, but I get this error * LaTeX warning: "xparse/redefine-command" * * Redefining document command \oldstylenums with arg. spec. 'm' on line 128. ...
3
votes
1answer
2k views

LaTeX Warning: Empty `thebibliography' environment on input line 3

I have a problem with my bibliography. Though my bib file is not empty, I get the message that it is. Also my .bbl file is empty. This is my document: \documentclass[10pt, a4paper]{Thesis} ...
5
votes
3answers
17k views

How to understand the LaTeX warning “there were undefined references”?

I am running this LaTeX file through pdflatex and getting these warnings: latex warning: there were undefined references. latex warning: label(s) may have changed. Rerun to get cross-reference ...
6
votes
1answer
76 views

How to detect overfull and underfull hbox without triggering the warning?

I need a LaTeX macro which can be used by this: \IfFull{TEXT}{THEN}{ELSE} It would typeset TEXT in a \vbox (which it will discard), and if there was an overfull hbox or an underfull hbox, it would ...
1
vote
0answers
82 views

How to get rid of a particular PDFLaTeX warning?

I am writing my bachelor's thesis and I want for the first pages (title, table of contents, abstract) to be numbered with roman numbers, and the rest of the pages with arabic numbers. I have almost ...
0
votes
0answers
133 views

Overfull hbox using biblatex

Here's my MWE (this is an actual bibliography item, the draft option is there to show the overfull hbox): \documentclass[draft]{article} \usepackage{filecontents} \begin{filecontents*}{x.bib} ...
42
votes
2answers
21k 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 ...
1
vote
0answers
141 views

How to disable / suppress bad box warnings within a longtable?

I have a quite long (3 pages) longtable in landscape and it is generating me a ton of bad box warnings (overfull \vbox and \hbox messages up to 30.0000pt too wide). But the table is perfectly fine for ...
0
votes
1answer
424 views

Aux und Output files in another directory puzzles TeXstudio

I have configured my TeX runs to save all aux and output files into a 'temp' subdirectory using the 'output-directory' option of lualatex in TeXlive. Everything works wonderful, Biber and ...
4
votes
1answer
69 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
0answers
103 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
47 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
310 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 = ...
11
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
417 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
1k 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 ...
31
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: ...
11
votes
2answers
743 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
109 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
294 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
109 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
516 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
3k 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
347 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
126 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
234 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
257 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
195 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
138 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
288 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
193 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
596 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}, ...
8
votes
2answers
4k 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
151 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
170 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
380 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
228 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
116 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
171 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
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} ...
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
120 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
661 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 ...