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

learn more… | top users | synonyms (1)

5
votes
0answers
59 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 ...
2
votes
1answer
823 views

biblatex won't compile with XeLaTeX and print bibliography

I have been testing out biblatex to get more control over the bibliography format that you get from BibTeX. Therefore I have been trying to get this to compile. The problem is that bibliography does ...
2
votes
1answer
70 views

Can I silence pdfpages output?

The pdfpages package does not seem to have either a verbose or quiet option. I am compiling a big document and the include messages from pdfpages are obscuring the warnings from other places in the ...
2
votes
1answer
117 views

How to automatically detect overfull \hboxes for inline maths mode

I am trying to create a macro which should have the following behaviour: Write the mathematical expression with the inline mode \( \) if it doesn't give rise to an overfull \hbox warning, Write the ...
9
votes
1answer
183 views

overfull hbox despite of width=\linewidth

I want to include a PDF file in my LaTeX-Document, which I compile with pdflatex. Using width=\linewidth, I still get an overfull hbox. What am I doing wrong? MWE: \documentclass{article} ...
37
votes
3answers
1k views

Is there any way to specify a “TO DO” in LaTeX? [duplicate]

I'm writing my degree thesis in LaTeX and I have some chapters and sections which I didn't write yet. Is there any way to put a tag to specify that there is a TO DO there so I remember to fill it ? ...
15
votes
1answer
208 views

Strange behaviour of \sbox

This question consists of two related parts. I already solved the original problem but still don't understand where it came from or why the solution works. I use the subcaption package so I can place ...
1
vote
0answers
172 views

Occasional overfull \vbox warnings [closed]

Depending on the value of \aeheight I may or may not get Overfull \vbox errors. I don't understand why. \documentclass{article} \usepackage[margin=0.5in,landscape]{geometry} \usepackage{multicol} ...
0
votes
0answers
34 views

Badbox in TexnicCenter.. How to solve it? [duplicate]

After compiling my Project in Latex, I got 206 badboxes of all the types you want. However, I can only see the reference of the Badbox, for example: Underfull \hbox (badness 1607) in paragraph at ...
3
votes
1answer
83 views

Suppress natbib warnings

The output of pdflatex is filled with lines like this: Package natbib Warning: Citation `lee2004calder' on page 15 undefined on input line 207. I'm aware that the citation is undefined, and at some ...
1
vote
0answers
29 views

Using Inkscape “pdf+latex” pictures: “pdfTex warning: PDF inclusion: multiple pdfs with page group included in a single page” [duplicate]

When I include multiple pictures produced in Inkscape and saved as pdf+latex in one page I get the warning: pdflatex> pdfTex warning: pdflatex.exe (file D:/..... .pdf): PDF inclusion: multiple ...
6
votes
1answer
312 views

Overfull \hbox caused by em-dash

There is one problem that currently seems insolvable to me. I am typesetting a book in Russian language and I noticed that, in some cases, an overfull box appears which cannot be solved via manual ...
5
votes
0answers
96 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 \ ...
0
votes
0answers
21 views

pdflatex options: double dash vs. single dash [duplicate]

Been meaning to ask this for a while, but is there any difference in a command line option to pdflatex which uses a single dash, and one that uses a double dash? For instance in my recent question ...
7
votes
3answers
9k views

How to avoid empty 'thebibliography' environment (bibtex) if there are no references?

I have a general and central preamble for a lot of similar-style documents (several dozens) and most of the documents have a Bibliography at the beginning, so I call \bibliographystyle{alphadin} ...
4
votes
2answers
168 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 ...
1
vote
0answers
82 views

Removing overfull and underfull box warnings [closed]

Always when I want to prepare a document with LaTeX I receive different warnings including underfull and overfull but I don't know how I can handle these warnings. As you can see here I have two ...
5
votes
1answer
1k views

Hyperref warning which doesn't affect the output of the PDF

I have encountered a hyperref warning but there are no visible negative consequences. Additionally, LaTeX complete without a complaint. I only found the warning by looking at the .log file. Package ...
6
votes
1answer
159 views

Why do I get these warnings with 14pt scrartcl

This is what my file looks like: \documentclass[14pt]{scrartcl} \begin{document} \Huge Hi \end{document} This is the output: Font shape `OT1/cmr/m/n' in size <35.83> not available(Font) ...
7
votes
3answers
106 views

Best approach to detect whether hierarchy of sectioning commands is respected?

Is there a package that checks whether each subsection lies in a parent section, each subsubsection lies in a parent subsection, etc. and issues a warning or error otherwise? Not to my knowledge, but ...
11
votes
2answers
5k views

Is there really something wrong with using the caption package for \ContinuedFloat?

In my question How to create an unnumbered algorithm with a caption?, a nice solution was suggested using \ContinuedFloat, from the caption package. However, when I use it, I get: Package caption ...
2
votes
1answer
456 views

Hyperref causing warning with table of contents, list of figures and list of tables

I receive the following warning and managed to figure out that these were due to some interplay between the hyperref package and the commands \tableofcontents, \listoftables and \listoffigures (the ...
10
votes
1answer
443 views

nag l2tabu caption/label checking versus \subcaptionbox

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 the first argument of \subcaptionbox from ...
16
votes
3answers
3k views

Is there any way to generate custom errors/warnings in LaTeX?

I want something like \ifmmode\else\GenerateWarning{The command \backslash uzuka is supported only in math mode.}\fi, which is supposed to generate a warning "The command \uzuka is supported only in ...
3
votes
1answer
483 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 ...
0
votes
1answer
98 views

latexmk pointing to a line of code with an error that I don't see [closed]

When trying to compile my code, latexmk keeps hitting me with an undefined control sequences. I have checked above, below, and the line it says is causing the issue, but I don't see anything wrong. ...
6
votes
1answer
556 views

listing package and vbox warning

I have this many (see below) underfull warnings that are caused by using the listing package and creating \begin{lstlisting}\end{} to make code appear presentable. Is there a may to fix the warnings? ...
3
votes
1answer
1k 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 ...
1
vote
1answer
218 views

How to solve hyperref anchor warnings? [duplicate]

I'm writing a report document, at some point I create a new section inside a chapter and I got this message from sharetex LaTeX compiler: main.tex:122 [hyperref] The anchor of a bookmark and its ...
1
vote
1answer
105 views

Picture not formatting to text width

I'm trying to format a picture so that it fills the text width however it always errors and fills the whole page. \includegraphics[width=\textwidth]{circle} is the line I'm currently using also ...
12
votes
1answer
22k views

Undefined citation warnings

When I compile my document I get warnings of the form: Package natbib Warning: Citation `xxxxx' on page y undefined on input line z. This problem does fix itself eventually when the compiler ...
5
votes
1answer
219 views

badness messages when changing from report to book class

When I change the documentclass from report to book I suddenly get a lot of messages like this: Underfull \vbox (badness 10000) has occurred while \output is active [] Does anyone have an ...
1
vote
0answers
83 views

Some errors with a little document [closed]

I have some errors with my paper in LaTeX, and I don't understand how to fix the problems : The first is : pdfTeX warning (ext4): destination with the sa me identifier (name{page.1}) has been ...
15
votes
1answer
464 views

Why does the compiler keeps telling me (forever) to rerun because labels have changed?

I have a LaTeX paper (multifile setup, using \input{} statements) that , since a few days ago, keeps telling me at each compile (both with pdflatex or latex): LaTeX Warning: Label(s) may have ...
4
votes
1answer
96 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): ...
73
votes
4answers
2k views

Techniques and packages to keep up with good practices

Question What techniques and packages are there to keep up with good practices? What I already know I already know of the following packages for this kind of purpose: ...
20
votes
2answers
591 views

How to decypher font shape warnings?

Often one gets warnings of the form (example) LaTeX Font Warning: Font shape `T1/qcs/m/sl' in size <10.95> not available (Font) Font shape `T1/qcs/m/it' tried instead on input line ...
6
votes
1answer
76 views

Why does scrheadings + tgschola triggers a font shape warning?

This code: \documentclass{scrartcl} \usepackage{tgschola} \usepackage[T1]{fontenc} \usepackage{scrpage2} \pagestyle{scrheadings} \begin{document} a \end{document} gives this warning LaTeX Font ...
41
votes
3answers
857 views

Why/When should I pay attention to warnings?

I often see warnings in the compilation-log of my tex-files. I searched in the internet and did not find a good answer to this question. And in my opinion there must be a reason why tex warns me about ...
3
votes
2answers
435 views

Warning message: “The marginal notes overrun the paper”

\documentclass[english]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[a4paper]{geometry} ...
3
votes
2answers
795 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 ...
11
votes
1answer
569 views

stmaryrd and boldsymbol: avoid warnings

Here are two examples: 1 \documentclass[a4paper,10pt]{article} \usepackage{amsmath} \begin{document} $\boldsymbol x$ \end{document} 2 \documentclass[a4paper,10pt]{article} ...
7
votes
1answer
265 views

Package showexpl throws “Label … multiply defined” [closed]

With the following MWE you will get a warning Label lst:HalloWelt multiply defined. In the MWE I have added the calls for packages showlabels and refcheck to show the used labels and to check ...
2
votes
1answer
265 views

Glossaries list - no separating lines

I am trying to produce a list of acronyms and definitions in which each entry is at some distance from the previous one. Distance of two lines worked out of the box and I am happy with it, but it is ...
1
vote
1answer
101 views

Error while using leavevmode before newline

I am using \newline but I get some error message and I was suggested on this forum to use \leavevmode before \newline. It works fine for my code except at few place where I get this error message. ! ...
2
votes
1answer
473 views

How to use \cite with biblatex in figures? (using style=footnote-dw) [duplicate]

After googling for a while, I decided to ask this question on here.. I am desperately trying to make a citation inside a figure (using BibLaTeX and the footnote-dw style [the sources are added as ...
4
votes
2answers
893 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}{*}{ ...
3
votes
1answer
134 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 ...
5
votes
3answers
187 views

Multiple labels warning for exam class with parts

I am writing a document in the exam class. For question with multiple parts (a), (b),... you are supposed to use the parts environment. Using it works fine, until I add a solution to the question that ...
3
votes
0answers
228 views

Sudden “Overfull \hbox” warning messages [closed]

(Apologies if this is a duplicate; I didn't see my question among the many overfull \hbox questions already asked.) My TeX file had been typsetting without any problems for a few days, when suddenly ...