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

learn more… | top users | synonyms (1)

4
votes
2answers
407 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. ...
4
votes
1answer
503 views

Font shape undefined despite using either or both of fix-cm and lmodern

My document begins: \RequirePackage{fix-cm} \RequirePackage[l2tabu, orthodox]{nag} \documentclass[oneside]{memoir} % TODO 12pt Nevertheless, I get errors: LaTeX Font Info: Font shape ...
4
votes
2answers
185 views

No support for \ordinal for language 'UKenglish'

I get this warning: No support for \ordinal for language 'UKenglish' on input line xxx The input line refers to the generated *.toc file: \contentsline ...
4
votes
1answer
4k views

Overfull/Underfull \hbox warnings when compiling the document

I have bunch of pgfplots (plots and bar charts in my document) and when I compile I get errors like: Overfull \hbox (1.17287pt too wide) in paragraph at lines 2121--2122 [][] [35] Sometimes it ...
4
votes
1answer
363 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 ...
4
votes
1answer
957 views

Overfull \hbox warning for TOC entries when using memoir documentclass

I get Overfull warning for TOC entries when using memoir documentclass. They seem to occur when the page number for chapter title entries (highlighted in bold text) exceeds 2-digits or section page ...
4
votes
1answer
1k views

pgfplots in combination with gnuplot requires additional semicolon

I have the following example which produces a klein bottle. Whatever I compile with the option --shell-escape and I get the following warning: "<file>.pgf-plot.gnuplot", line 2: ';' expected ...
4
votes
2answers
245 views

What are these warnings for minitoc package?

I'm using a scrreprt document class to write my lecture notes in a condensed form for easy reviewing later. I organized the main.tex in a modular file and I downloaded, installed and loaded the ...
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 ...
4
votes
1answer
923 views

xfrac + siunitx gives me a font warning

I'm using mathpazo and the AMS math packages, and I just started using xfrac for the \sfrac command. However, now when I use \sfrac (or when I set siunitx to use it), I get this output: LaTeX Font ...
4
votes
1answer
67 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
1answer
276 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 ...
4
votes
1answer
717 views

minitoc package: overfull \hbox

Does anyone of you know how to format a ToC created with the minitoc package in LaTeX? My problem is that I always get the following warning: ./hauptdokument.mtc.1:21:Overfull \hbox (2.83262 pt too ...
4
votes
2answers
1k views

Abstract page problems

I am using a report document classe. I have an abstract and an acknowledgement sections before the toc. This is my definition for Acknowledgements. I took it from someplace in the web, so there might ...
4
votes
1answer
36 views

hyperref warning caused by Beamer appendix

The code below results in the following warning: "Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding): removing '\translate' on input line 16." (Note: line 16 is the blank ...
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 ...
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 ...
4
votes
1answer
101 views

Hyperref warning when using amsthm and enumerate

hyperref gives the warning that something has been referenced but it doesn't exist. When I use the enumerate (or an itemize) list, I get the warning. Here is the minimal working example (MWE): ...
4
votes
1answer
42 views

tabularx: underfull \hbox (badness 10000) in alignment

I'd like to have table of 15cm with fixed-width cells. I use tabularx package. For some reason, the following code gives underfull \hbox (badness 10000) in alignment . What causes this warning? How ...
4
votes
1answer
821 views

LaTeX gives warning - empty label `' multiply defined

I have a LaTeX document that works fine, but it does give a warning message every time I compile it. Here is the text of the warning message: LaTeX Warning: Label `' multiply defined. The name ...
4
votes
2answers
2k views

BibTeX: referencing entire journal

How can I write a BibTeX entry for a special issue of a journal? I've tried using @book, but then I get Warning--can't use both volume and number fields in <entry> I use natbib with abbrvnat, ...
4
votes
0answers
100 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
0answers
152 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 ...
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: ...
3
votes
3answers
2k views

Suppressing error messages

I have a style sheet that has some problems. At this point I am just writing my paper and do not really care about \viiipt warnings and errors. So I need to press enter a million times to skip errors ...
3
votes
1answer
2k views

How come Revtex says acknowledgements are obsolete?

Running revtex4-1 with the preamble: \documentclass[aps, pre, floatfix, reprint]{revtex4-1} and the section later: \begin{acknowledgements} The authors would like to thank Tex, LaTeX and Friends ...
3
votes
1answer
123 views

What does 'Label multiply defined' mean?

I'm trying to compile this book https://forja.rediris.es/projects/guia-wxmaxima/ I'm using MiKTeX, TeXstudio, and in the build options I have the default compiler pdfLaTeX. So my question is, why ...
3
votes
2answers
537 views

Warning message: “The marginal notes overrun the paper”

\documentclass[english]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[a4paper]{geometry} ...
3
votes
1answer
1k views

Warning when loading a LaTeX package

I'm new to LaTeX, and I can't work out why I'm getting a warning when adding a package I downloaded (from the MATLAB website called mcode.sty). Here is my code, \usepackage{myFolder/mcode}. I put ...
3
votes
1answer
870 views

Overfull vbox with scrbook and setspacing

The following MWE gives me a lot of badbox warnings Overfull \vbox (1.39674pt too high) has occurred while \output is active [] with always the same value of 1.39674pt. It seems to be related to the ...
3
votes
1answer
1k 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} ...
3
votes
1answer
602 views

Underfull hbox in tabular

I'm trying to make a table with fixed column widths. Cells in the first column will generally not have enough text to require a line break within the cell. The second column's cells will quite often ...
3
votes
1answer
141 views

Loading Aurical fonts without generating a font warning

I've got a document where I load in the aurical package. However, whenever I use the fonts this defines, I get a Font Warning telling me that the font shape has been scaled. For example, ...
3
votes
1answer
953 views

Using 'xfrac' with 'mathrsfs'

I'm attempting to move from the nicefrac package to xfrac. The following source compiles, but with a warning: \RequirePackage{fix-cm} \documentclass{article} \usepackage{xfrac} \usepackage{mathrsfs} ...
3
votes
1answer
2k views

Errors/Warnings in LaTeX Output

I use Vim to edit LaTeX documents and pdflatex to compile the documents. One problem with using pdflatex is that it takes time to go through the output to see if there is any warning/errors. ...
3
votes
2answers
50 views

How to avoid overfull \hbox warning when using tabularx with \textwidth?

Question How do I avoid the warning Overfull \hbox (10.95003pt too wide) in paragraph at lines [...] produced by the following document? \documentclass[parskip=half]{scrartcl} ...
3
votes
1answer
58 views

Overfull \vbox and wrong page layout

I know there are plenty of questions about this kind of warning but I've not been able to find my answer in any of them. I've used a code to avoid \cleardoublepage and \clearpage after every ...
3
votes
2answers
33 views

How to put \ast in bookmark?

I need \section{\texorpdfstring{$V^\ast$}{V\textasciicircum\ast}} but \ast yields a warning.
3
votes
1answer
476 views

Why am I getting overfull with this parcolumns lstlisting?

I'm sure this is a simple question but would anybody be able to point out to me why the following generates overfull \hbox errors for the two \colchunk macros? It doesn't appear LaTeX needs to do any ...
3
votes
3answers
202 views

Design size mismatch warning when using the eco package

I'm using the eco package and am getting the following warning: design size mismatch in local font ecrm2074 in virtual font ecorm2074.vf ignored. when compiling the following MWE: ...
3
votes
2answers
9k views

Bibtex: I didn't find a database entry for

I have a very large tex file and a very large bib file. When I run (xelatex, bibtex) I get several warnings like this: Database file #1: Thesis.bib Warning--I didn't find a database entry for "Jag08" ...
3
votes
1answer
72 views

New warning on Console

I've just started getting the following warning (or rather, two warnings) on my console: ** WARNING ** Too thin line: width=655 (0.00995717 bp) ** WARNING ** Please consider using "-d" option. What ...
3
votes
1answer
39 views

Table containing symbols in a fixed-width column results in underfull hbox

As part of a large table I have a column where each row contains a number of variables/symbols. The column should have a fixed width to fit the rest of the table. The problem is that the collection of ...
3
votes
1answer
220 views

Suppressing unwanted command line output when running pdflatex

Using the \batchmode command at the top of the file helps getting rid of some lines, but I'm still left with a few lines, for example: (/usr/local/texlive/2011/texmf-dist/tex/latex/base/t1enc.def)) ...
3
votes
2answers
624 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
2answers
2k views

LaTeX Error: Something's wrong--perhaps a missing \item [closed]

I am writing my thesis using a LaTeX template. When I tried to import my references, I got the following errors when I texifyed my thesis.tex: This is BibTeX, Version 0.99d (MiKTeX 2.9 64-bit) The ...
3
votes
1answer
151 views

How reduce badbox sensitivity locally?

In my document I have a Underfull \vbox (badness 2662). I want to ingnore this specific badbox but none of the others. Therefore, I want to make LaTeX locally less sensitive to badboxes. I tried ...
3
votes
1answer
388 views

Warnings with beamer class and itemize

I'm getting the following annoying warnings: LaTeX Font Warning: Font shape `OT1/cmss/m/n' in size <4> not available (Font) size <5> substituted on input line 16. ... LaTeX ...
3
votes
1answer
316 views

What does this warning “** WARNING ** TrueType post table name index 32768 > 32767” mean?

I'm new to TeX and trying to compile this code: \documentclass{article} \usepackage{xeCJK} \setCJKmainfont{WenQuanYi Zen Hei Mono} \begin{document} 你好,\TeX! \end{document} I get the pdf fine, but ...
3
votes
1answer
429 views

How can I get rid of an Underfull \hbox message in my macro?

I can't find the reason for getting this message: Underfull \hbox (badness 10000) in paragraph This is my test case: \newcommand{\ruler}{\noindent\rule[1ex]{\textwidth}{1pt}\\} ...