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

learn more… | top users | synonyms (1)

5
votes
1answer
176 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 ...
5
votes
1answer
541 views

Multiply defined label warnings when using Subcaption in a Tikz picture

In an earlier question, I asked how to create zoomed highlights of a larger image automatically. User Jake provided an excellent solution using TikZ. However, when subcaptions and hyperref are added ...
5
votes
2answers
5k 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 ...
5
votes
1answer
1k views

Problem with hyperref / cleveref / thmtools

The following is a (fairly) minimal example: \documentclass{book} \usepackage{amsmath} \usepackage{amsthm} \usepackage{thmtools} \declaretheoremstyle[ spaceabove=6pt, spacebelow=6pt, ...
5
votes
0answers
63 views

Different citation colour for page number [duplicate]

I try to cite a specific page in LaTeX using the following command: \cite[p.~42]{Friedberg1995}. I use colorlinks and I have set a blue colour for my citations. After the compilation takes place I ...
5
votes
0answers
159 views

Automating Error Detection of pfdlatex

Background: I have numerous individual files that need to be compiled, so am using a script to do that with the following options: set PDFLATEX_OPTIONS = "\ --file-line-error \ ...
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: ...
4
votes
1answer
2k views

How can I fix this overfull hbox?

\documentclass[10pt]{article} \usepackage{chemfig} \usepackage[margin=1.2in]{geometry} \newcommand{\chem}{\setatomsep{2em}\chemfig} \begin{document} \begin{itemize} \item[--] 1$^\circ$ Alcohol ...
4
votes
2answers
2k views

Removing an “Overfull \vbox” message caused by a nested table

I am trying to typeset a nested table, like this: \documentclass{article} \usepackage{bigstrut} \usepackage{multirow} \begin{document} \begin{tabular}{|lll|} \hline A & \multirow{2}{*}{ ...
4
votes
2answers
579 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
563 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
1answer
1k 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
2answers
210 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
415 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
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
1answer
956 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 ...
4
votes
2answers
49 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
1k 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
166 views

Beamer patching footnotes warning

Consider the following MWE \documentclass{beamer} \usepackage{lmodern} \usepackage[style=authoryear-comp,backend=biber]{biblatex} \begin{document} \begin{frame} Foo \end{frame} \end{document} ...
4
votes
2answers
86 views

nag [l2tabu] and \phantomsubcaption

The nag package used with the l2tabu option complains when \label is used in a float without following a \caption. Unfortunately, it does not understand that a \phantomsubcaption, from the subcaption ...
4
votes
1answer
91 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
379 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
793 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

Compile warning regarding fonts

A MWE of my code is this: \documentclass[12pt]{article} \usepackage[top=0.7in, bottom=1.2in, left=0.8in, right=0.8in]{geometry} \setlength{\parindent}{0cm} \usepackage{xltxtra} \usepackage{xgreek} ...
4
votes
1answer
96 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
152 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
355 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)) ...
4
votes
1answer
102 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
1k 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
116 views

Post-filtering output that I can't seem to pre-filter with silence package

I have a book that was producing 20,000 lines of output to stdout when I compiled it with pdflatex. I did the following to reduce the output: \RequirePackage{silence} ...
4
votes
0answers
111 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"
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
280 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
1answer
864 views

TeX Gyre Pagella and itemize enviroment 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 ...
3
votes
2answers
759 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
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} ...
3
votes
1answer
782 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
162 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
1k 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
1answer
30 views

fontaxes warning with llncs.sty

Springer's LNCS class (found in llncs.zip) gives a fontaxes warning when I try to load the following additional fonts: \documentclass{llncs} \usepackage[math]{iwona} \usepackage{libertine} ...
3
votes
2answers
181 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
95 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
40 views

How to put \ast in bookmark?

I need \section{\texorpdfstring{$V^\ast$}{V\textasciicircum\ast}} but \ast yields a warning.
3
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} ...
3
votes
1answer
533 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
222 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: ...