Questions tagged [warnings]
{warnings} is about dealing with and (hopefully) getting rid of compiler warnings.
772
questions
0
votes
0
answers
63
views
Duplicated warnings?
MiKTeX engine. I'm writing a book document class file, and it seems that the warnings are duplicated. These are my MWEs:
main.tex:
\documentclass[a4paper,oneside]{book}
\usepackage{mypackage}
\...
2
votes
1
answer
87
views
Warning: Extended allocation already in use. etex.sty code will not be used
These are the imports for my latex project. I am wondering how to fix the compile time following the warning, I don't know which package is causing it. Apparently, this question has been asked before ...
0
votes
1
answer
59
views
Trying to fix warning: 'pdfTeX warning (dest): name{theorem.1} has been referenced but does not exist, replaced by a fixed one'
Here is a small MWE which creates a warning:
\documentclass[12pt]{book}
\usepackage{amsthm}
\usepackage{thmtools}
\usepackage{enumitem}
\usepackage{hyperref}
\declaretheorem[name=Theorem,refname={...
1
vote
1
answer
46
views
typearea warning for large DIV values
The KOMA-Script documentation (scrguide-en.pdf/scrguien.pdf) has the following in section 2.6 “Adjusting the Type Area and Page Layout”:
Example: Suppose you are writing up the minutes of a meeting ...
0
votes
1
answer
37
views
Underfull warning in place where text wraps
I created a table and I have multiple underfull warings in places where text wraps. What am I doing wrong?
\documentclass[12pt,a4paper,notitlepage, twoside]{article}
\usepackage[utf8]{inputenc}
\...
0
votes
0
answers
33
views
saving cls. files in different folder than .tex file
Is it possible to use a document class from a different folder than the .tex-files?
My documentclass is used in more than 1 document. I want to use the document class for all of them.
In my document I ...
0
votes
1
answer
137
views
Package caption warning: The option `hypcap=true' will be ignored for this particular \caption
I am getting a warning regarding the \caption package when I try to put the caption to a Table.
This is my code:
\begin{center}
\begin{tabular}{|l|c|r|}
\hline
\textbf{Course} & \...
0
votes
1
answer
70
views
Underline overfull \hbox
I am getting the following Overfull \hbox (0.10945pt too wide) in paragraph at lines 12--13. How could I prevent this?
I am using \, inside \dotuline because I want to use a little bit longer dotted ...
0
votes
0
answers
23
views
hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding): removing `\@ifnextchar' [duplicate]
Update - 12/28/2022
I have included below my MWE per @Miyase's comment. The error is coming from placement of color{blue} in line \addcontentsline{toc}{chapter} ... What to do to remove the Package ...
0
votes
0
answers
21
views
Command \underbar has changed [duplicate]
\documentclass[12pt]{report}
\usepackage{sectsty}
% \usepackage[a4paper,width=150mm,top=20mm,bottom=20mm,bindingoffset=6mm]{geometry}
\usepackage[a4paper,top=20mm,bottom=20mm,left=20mm,right=20mm]{...
0
votes
0
answers
182
views
Why do I get the Package caption Warning?
While compiling my document, I get the following warning:
Package caption Warning: Unknown document class (or package), standard defaults will be used. See the caption package documentation for ...
0
votes
1
answer
41
views
So what's the right way to set the preferred line spacing? Changing default line spacing in Book returns underfull \vbox warnings
Simple task: book-class document, 12pt font size, 6x9 page size. With the default book settings (I don't really know what's the default line spacing in book-class document) the document is typeset ...
0
votes
0
answers
30
views
How to suppress Underfull an Overfull warnings [duplicate]
How can I suppress Underfull an Overfull warnings?
2
votes
1
answer
72
views
Placement of page number when page is rotated, plus warning
Consider the following MWE:
\documentclass{article}
\usepackage{pdflscape}
\usepackage{everypage}
\newcommand*\Lpagenumber{\ifdim\textwidth=\textwidth\else\bgroup
\dimendef\margin=0 %use \margin ...
1
vote
1
answer
87
views
Suppress empty bibliography warnings
I have solution (due to "moewe") for my specific problem of sorting in BiBLaTeX and numbering.
BiBLaTeX Part 1
and
BiBLaTeX Part 2
The both problems has been solved like below:
\...
2
votes
2
answers
52
views
Defining and calling a function in sagetex not working as expected
In the code below I use sagetex to define a function f(n) that returns the nth fibonacci number. I used sagesilent so that the contents of the function are not typeset. Then I call and print the value ...
2
votes
1
answer
59
views
Produce error from macro with "incorrect" argument
I have made a macro that takes certain arguments. However, I would like it to output an error when it encounters an unexpected argument. Something like this:
MWE:
\documentclass{article}
\usepackage{...
0
votes
0
answers
41
views
Is it possible to print the warning/error - log? [duplicate]
Is it possible to print the Errors and Warning - log?
Because I want to have a better overview over the logged warnings in a separate document
0
votes
2
answers
205
views
Tabularray warning: Table width is too small
I tried to use the tabularray package to create an environment for my CV template, which works fine. However, I get an error: Package tabularray Warning: Table width is too small, need 8.0036pt more! ...
3
votes
1
answer
121
views
Warning when unicode-math and mathtools are loaded [duplicate]
This is a follow-up question to "Switching from PDFLaTeX to LuaLaTeX".
Consider the following MWE:
\documentclass{article}
\usepackage{mathtools}
\usepackage{unicode-math}
\begin{document}
...
0
votes
1
answer
42
views
Authors{} throws '@ifnextchar' warning, why?
Me and my co-author are writing a paper in latex and we want to have the author's names under the title with their email addresses directly under their names and their institutional affiliation (same ...
0
votes
0
answers
30
views
Hyperref Warning & Minitoc
About this code, Overleaf warns me with this message:
Package hyperref Warning: Difference (2) between bookmark levels is greater than one, level fixed on input line 49.
Why and how could I correct my ...
0
votes
0
answers
33
views
Warning about size for plot with decoration in tikz
I am plotting some functions, and putting a ">" decoration on them. This generally works, but in one case it gives a warning
I can't work with sizes bigger than about 19 feet.
Continue ...
1
vote
0
answers
31
views
Unable to resolve warnings in revtex4-2 file [duplicate]
Unable to resolve these two warnings in my revtex4-2 file
Package caption Warning: Unknown document class (or package), standard defaults will be used. See the caption package documentation for ...
0
votes
1
answer
54
views
How can I set pdfinfo based on content of external file?
How can I include the contents of an external file in the PDF metadata (either built-in attribute like Subject, or custom one like My ID)?
I have written some text to shell-output.txt with, for ...
0
votes
1
answer
35
views
Strange label warning in console [closed]
I apologize for not showing a MWE. The reason is that the issue in question is not reproducible with a MWE.
I'm using the Memoir document class with all its default settings.
I'm also using xelatex ...
-1
votes
1
answer
88
views
sansmathfonts package warning
In my environment, I get the following warning:
The [I] package option is only compatible with the OT1 and U font encodings. I will ignore the [I] package option..
I have no idea what this means or ...
1
vote
0
answers
78
views
How to disable Luatex warning when combining Feynman diagram, beamer class and pdflatex [closed]
I am making a presentation with Latex that contains some Feynman diagram. I create the Feynman diagrams with tikz-feynman. Now I face a problem when choosing an output file:
The Feynman diagram ...
0
votes
1
answer
153
views
'You have requested package 'everyshi',but the package provides 'everyshi-2001-05-15''
I'm trying to load a LaTeX template and seem to have all the required packages, yet I still get the following warning message appearing: 'You have requested package 'everyshi',but the package provides ...
0
votes
1
answer
74
views
Line wrapping of l3msg messages
The L3 programming layer (aka expl3) has the l3msg package to provide infrastructure for all sorts of messages, warnings, errors etc. It has, however, a particular style of line-wrapping of the ...
5
votes
1
answer
119
views
Unused global option(s) warning with latex 2022-06-01-PL2
I was about to ask this question a few days ago, but at the time the site suggested this question to me and I thought that it is the same problem with mine. But now as PL2 releases, the problem in the ...
2
votes
1
answer
1k
views
Beamer warning `pdfauthor' has already been used
I'm using the minimal example presented in this old Answer, even though, still I encounter this warning:
Package hyperref Warning: Option 'pdfauthor' has already been used, setting the option has no ...
0
votes
1
answer
186
views
Warning in arxiv compilation: LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right
I am trying to upload pdfLaTex of a document on https://arxiv.org/. After compiling, I notice the following.
LaTeX Warning: Label(s) may have changed. Rerun to get
cross-references right.
Everything ...
0
votes
1
answer
778
views
How to fix "Underfull \hbox (badness 10000) in paragraph " in a two-column format?
How can I fix this warning? I read that it can be ignored in most of cases but I want to fix it.
Underfull \hbox (badness 10000) in paragraph at lines 16--17
\documentclass[lettersize,journal]{...
0
votes
0
answers
199
views
Package caption Warning: Unknown document class (or package), standard defaults will be used. See the caption package documentation
I have the following code for my main.tex file and it gives the error message "Package caption Warning: Unknown document class (or package), standard defaults will be used. See the caption ...
1
vote
0
answers
732
views
\underline and \underbar commands have change warning
I have two warnings telling me that "Command \underbar has changed." and "Command \underline has changed." but I don't get why is that so since I am not using these commands.
I ...
3
votes
1
answer
80
views
“\end occurred when \ifnum ... was incomplete” with both tikz and luatexja
The following MCE:
\documentclass{article}
\usepackage{tikz}
% \usepackage{luatexja}
\begin{document}
\tikz{\coordinate[yshift=\the\ht\strutbox];}
\end{document}
compiles without anything suspect but,...
4
votes
0
answers
659
views
Moderncv underfull and academicons warning
The following minimal example gives an underfull bad box. When I uncomment the quote line, it somehow works. What is the problem? I don't understand the behavior. Is it possible to not use a quote and ...
0
votes
0
answers
29
views
Automatically detect overrunning minipage
What is the best way to detect whether the content of a minipage runs over the right boundary of that minipage?
I do not want to detect it visually, but have an automatic check whether this happens.
1
vote
0
answers
82
views
Is there a package to help write warning like messages in final pdf compiled file?
Is/are there some package/packages to allow the user to typeset some "Warning", "Caution" or other special sentences?
In other words, considering this generic MWE:
\documentclass[...
0
votes
0
answers
544
views
Package caption Warning: Unknown document class (or package), standard defaults will be used
I have used the following packages in my IEEEtran document class, but I am getting the above warning:
Package caption Warning: Unknown document class (or package), standard defaults will be used. See ...
0
votes
1
answer
90
views
Underfull \vbox (badness 10000) warnings in Book with no floats or math, just simple headings (Part and Chapter) and text
So I have this relatively simple-coded book document.
When I try to compile it, I get a lot of Underfull \vbox (badness 10000) has occurred while \output is active warnings (though there's only one ...
0
votes
1
answer
134
views
Silence the package "scontents"
I use the package scontents in one of my packages, and since some other packages may loaded verbatim internally, there is always a warning
The implementation of the 'verbatimsc' environment
(scontents)...
5
votes
2
answers
154
views
Didn't get warning for empty citation
My document has an empty citation \cite{}. I'd expected to get some warning about it.
Is it a bug? (if not - why?)
Is it possible to enable checking for such cases?
MWE:
\documentclass{article}
\...
1
vote
1
answer
2k
views
Pythontex Warning: "DeprecationWarning: invalid escape sequence \m"
When using pythontex with sagefamily like in the example below, I get the following warning:
This is PythonTeX 0.18
---- Messages for sage:default:default ----
/usr/local/texlive/2021/texmf-dist/...
3
votes
1
answer
87
views
How to solve this false overfull warning?
Consider the following MWE:
\documentclass[a4paper,parskip=true]{scrartcl}
% PACKAGES LOADING
\usepackage[T1]{fontenc} % To customise font.
\usepackage{mathtools} % Math Packages
\usepackage[utopia]{...
0
votes
0
answers
116
views
Package polyglossia - incomprehensible warning
I definitely don't understand what is happening here:
(now as a complete example).
\documentclass {scrbook}
\def\DocLng{english} % centralised location for customisation
\def\DocLngVar{british}
\...
1
vote
1
answer
293
views
Compilation Warning - "Negative Labelwidth. This does not make much(enumitem) sense,"
I get a compilation error in the below document. I've made a outline template I like using for my notes, but get a compilation warning with some 'suggestions.' What do these mean? I also get a ...
0
votes
2
answers
76
views
What causes Underfull and Overfull \hbox warnings in code processed in .dtx file but not in standalone .tex file?
I am running TeX Live 2021 with all available package and system updates applied on macOS Catalina (again with all available updates applied). I am editing package documentation that was last ...
0
votes
0
answers
126
views
Warning `LastBibItem' multiply defined'?
What does this warning actually mean?
I wrote two different LaTeX files which I combined into a single LaTeX file. (first main document, first references, second main document, second references). As ...