Tagged Questions

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

learn more… | top users | synonyms (1)

1
vote
1answer
159 views

Warning Undefined citation from bibtex (export from Mendeley)

I have problems when compiling my code. Latex tells me it is the piece of code shown below. The bibtex file seems to have the correct format (I exported it from Mendeley) but LaTeX gives me a warning ...
7
votes
3answers
285 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
233 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
3k 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} ...
6
votes
1answer
86 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
87 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
166 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} ...
3
votes
1answer
206 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 ...
4
votes
1answer
84 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 ...
0
votes
1answer
754 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
0answers
110 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
48 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
522 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 = ...
7
votes
1answer
188 views

Reuse an image resp. a box in TikZ but have side-effects only once

I have a huge document (a pool of exercise problems) with lots of \input statements (one file per subexercise). In order to not get lost in this mess and easily open files from the PDF, I include a ...
6
votes
2answers
662 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 ...
3
votes
0answers
2k 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 ...
15
votes
1answer
381 views

How to diagnose a permanent “Label(s) may have changed” warning?

I'm getting the following warning: LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right. The problem is, it doesn't go away after rerunning (any number of times). The ...
1
vote
1answer
133 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
375 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
130 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 ...
6
votes
2answers
778 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 ...
6
votes
2answers
463 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} ...
2
votes
1answer
4k 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} ...
1
vote
1answer
140 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
312 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} ...
2
votes
1answer
293 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
392 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 ...
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 ...
12
votes
1answer
197 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} ...
4
votes
1answer
95 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 ...
3
votes
2answers
391 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
226 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} ...
9
votes
1answer
284 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
140 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
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 ...
1
vote
0answers
232 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] ...
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 ...
4
votes
1answer
146 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
0answers
258 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 ...
5
votes
2answers
278 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. ...
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} ...
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
354 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 ...
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". ...
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
134 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 ...
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 ...
5
votes
1answer
160 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
56 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:
7
votes
1answer
785 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}, ...