Questions tagged [warnings]

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

Filter by
Sorted by
Tagged with
1 vote
0 answers
42 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 ...
user avatar
3 votes
1 answer
54 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,...
user avatar
0 votes
0 answers
44 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 ...
user avatar
  • 573
0 votes
0 answers
27 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.
user avatar
1 vote
0 answers
44 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[...
user avatar
0 votes
0 answers
39 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 ...
user avatar
  • 61
0 votes
1 answer
47 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 ...
user avatar
0 votes
1 answer
98 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)...
user avatar
  • 4,717
5 votes
2 answers
99 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} \...
user avatar
  • 426
1 vote
1 answer
98 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/...
user avatar
  • 1,472
0 votes
0 answers
7 views

Defining the correct file path for previews

I am using Texworks. I have read several answers here, but none of them specifically help. In short, due to my work's IP, I have to save everything I create on an external server. This seems ...
user avatar
3 votes
1 answer
74 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]{...
user avatar
  • 2,037
0 votes
0 answers
75 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} \...
user avatar
  • 41
0 votes
0 answers
24 views

How to disable "characters of junk" Biber warning? [duplicate]

I use TeXMaker 5.1.2 and Biber for my Bib(la)tex with \usepackage[backend=biber,<other parameters>]{biblatex} \addbibresource{mybib.bib} and \printbibliography When I hit F11 to run BibTeX, my ...
user avatar
  • 21
0 votes
1 answer
63 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 ...
user avatar
0 votes
2 answers
47 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 ...
user avatar
0 votes
0 answers
56 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 ...
user avatar
  • 101
1 vote
1 answer
51 views

Overfull hbox with parindent, tcolorbox and witharrows

As per the title, I get an overfull hbox whenever I utilize a combination of a tcolorbox with a non-zero parindent and a DispWithArrows environment. I've not tried particularly much as I don't see ...
user avatar
1 vote
1 answer
178 views

Font shape TU/lmss/m/sc not available with newly updated "newpxtext"

After a recent update to my TeX Live 2021 distribution, I'm getting the following kind of warning message in an old document: Font shape `TU/lmss/m/sc' in size <10> not available (Font) Font ...
user avatar
  • 4,717
2 votes
2 answers
164 views

destination with the same identifier (name{page.}) has been already used, duplicate ignored warning

Consider this test case: \documentclass{article} \usepackage{hyperref} \usepackage{fancyhdr} \fancypagestyle{empty}{ \pagenumbering{gobble} } \usepackage{titling} \title{} \author{} \begin{...
user avatar
2 votes
0 answers
60 views

Underfull problem

I am creating a memoir document that contains quotations from other authors and keep getting a warning about Underfull box .... The output looks good to me but I would like to eliminate the warnings. ...
user avatar
  • 25.2k
2 votes
1 answer
259 views

Overleaf citation multiply defined with A&A class file

In Overleaf, when citing a reference within the document class aa from the A&A Latex package (from the journal Astronomy and Astrophysics) and compiling with TexLive2021, I get a warning Package ...
user avatar
  • 133
0 votes
1 answer
36 views

Float too large for the page Warning

I get the "Float too large for the page" warning and I am interested if I can ignore it. The table I have is indeed huge but it fits just exactly like it should on one page (aesthetically ...
user avatar
1 vote
2 answers
94 views

Suppress Warning "You have requested package `"blablabla/mypackage"', but the package provides `mypackage'."

In a main tex file, I load my style file mypackage.sty by \usepackage{blablabla/mypackage} This absolute reference is inevitable for my purpose (impossible to change the location of the style file) ...
user avatar
0 votes
1 answer
127 views

Warnings from using wrapfigures

I losing my mind for some time with the following warnings of which I can't get rid off. line 25 Collision between wrapping environments line 29 Stationary wrapfigure forced to float line 31 ...
user avatar
  • 107
0 votes
0 answers
194 views

How do I suppress the warning "Command \@endpbox has changed." caused by loading the cellspace package?

Here is my MWE (LuaLaTeX): \documentclass[% % draft, twoside, DIV=15, % division factor BCOR=12.5mm, % binding correction ]{scrbook} % 11pt, a4paper (default) \usepackage[ automark, % footheight=18pt ]...
user avatar
21 votes
1 answer
2k views

'Generic hook <name> is deprecated' warning after update

I have had a warning for a few days (since I updated MiKTeX): LaTeX hooks Warning: Generic hook (hooks) 'file/after/translations-basic-dictionary-french.trsl' is (hooks) ...
user avatar
  • 589
1 vote
1 answer
93 views

How can I reduce the "Underfull \vbox badness" warning if I have a tcolorbox box that almost takes up an entire page?

I want to create a box using the tcolorbox package that almost takes up an entire page and here's my MWE of a document that I compiled using LuaLaTeX in a scrbook class. % !TeX program = lualatex % ...
user avatar
0 votes
2 answers
183 views

jinja template engine statement conflicts with {%

tldr/solution: The jinja template engine default statement is defined as {%,%} and it conflicts with % at the end of the line (which is simply not a comment) in a combination with the parenthesis {. ...
user avatar
  • 311
0 votes
1 answer
82 views

Compilation warnings on using $...$ signs in headings [duplicate]

I get a compilation warning whenever I use $...$ signs in headings and subheadings. Is there any way to remove these errors? The code that I use is given below: \subsection{Solving $\widetilde{(Ric_\...
user avatar
2 votes
1 answer
42 views

One character seen as junk on top level in .bib file

I have searched for a week now for a solution to an error in my .bib file, and I simply cannot solve it. I'm using a .bib file for my references and every single reference, except the first one, has ...
user avatar
1 vote
0 answers
46 views

pause and againframe for recapitulation

Similar to Multiply-defined labels warnings with frame labels in Beamer with againframe I get multiply-defined labels warnings. But the workaround given there does not work for following situation: \...
user avatar
  • 305
1 vote
2 answers
113 views

Help adjusting padding in complex longtable

I'm working on a CV and decided to use a longtable to set everything so it can span multiple pages easily. Overall, I like the look of what I've arrived at, but there are a couple issues with padding ...
user avatar
1 vote
0 answers
90 views

latex error(can only be used in preamble)

goodevening to everyone. please when i try running this code below i always have can only be used at the preamble.Please need your help. \documentclass[12pt,A4,english]{report} \usepackage{setspace} \...
user avatar
  • 11
1 vote
1 answer
418 views

BibTeX: warning: 1 characters of junk seen at toplevel

I have googled for hours without finding any solution for my warnings. The warning says: BibTeX: warning: 1 characters of junk seen at toplevel. I have 21 working Citations in my bibliography. If i ...
user avatar
  • 11
1 vote
0 answers
23 views

Overfull in frametitle, reducing margin keeping the design

If you run this simple code you get an overfull hbox. I think the reason is that the beamercolorbox in the title is \paperwidth large. \documentclass{beamer} \usetheme{metropolis} \setbeamersize{...
user avatar
0 votes
1 answer
44 views

Function `\endhead` and `\endfirst` head gets warning for `command terminated with space` in longtable by chktex

This is the code where I got the warning message. However, when I put {} to the command such as \endhead{}, the warning goes away. However I get errors for misplaced noalign. \begin{center} \begin{...
user avatar
2 votes
1 answer
85 views

How to get rid of compiler warnings? (in particular "Underful \hbox")

Upon compiling, I routinely get a lot of "Underful \hbox" warnings from the compiler. Whereas I take "Overful \hbox" warnings seriously since they often mean that somewhere text ...
user avatar
  • 233
0 votes
1 answer
119 views

How to remove locally overfull \hbox warning in beamer frametitle?

I am preparing some slides for a lab meeting, and I am using mainly beamer/metropolis. I need to add a logo at top right corner of the frametitle to fit my lab standards. So I used the command \...
user avatar
  • 860
0 votes
0 answers
20 views

How do I deal with the reledmac warning "\advanceline produced a line number less than zero"?

I'm working on a file that, when compiled, produces dozens of examples of the following warning: \advanceline produced a line number less than zero. The thing is, the command \advanceline doesn't ...
user avatar
1 vote
1 answer
29 views

texorpdfstring in addcontentsline - Using math mode in an unnumbered subsubsection

I have an issue to use the \texorpdfstring command in \addcontentsline. This is the minicode : \documentclass[a4paper, 11pt]{report} \usepackage{bookmark} \usepackage{hyperref} \begin{document} \...
user avatar
  • 47
2 votes
1 answer
127 views

Removing `underfull \hbox` warning with \hbox: how to do it?

How can I remove the warning Underfull \hbox (badness 10000) detected at line 4 \OT1/cmr/m/n/10 test in the following MWE ? \documentclass{article} \begin{document} \leavevmode\hbox to3cm{test}Hello ...
user avatar
  • 6,130
0 votes
0 answers
43 views

Problem with bibliogrpahy

I was working on my thesis and everything is fine and works as ist should. Then I realized that this is written in the log file: The document still works fine but I do not understand what it wants ...
user avatar
  • 6,230
2 votes
1 answer
83 views

How to suppress undefined references in exercise answers when using answerdelayed option?

I'm using the exercise package to write exercises and their corresponding answers. Each chapter contains a list of exercises at the end of the chapter, and I want all answers of all exercises are to ...
user avatar
1 vote
1 answer
118 views

Hyperref Warnings

Overleaf tells me this: Why? Thank you so much First Edit: (Reading comment) A short tex-code from Overleaf and just edited by me: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % ...
user avatar
  • 793
1 vote
0 answers
53 views

Beamer, stmaryrd and boldsymbol

When compiling this code: % !TeX program = xelatex \documentclass{beamer} \usepackage{stmaryrd} \SetSymbolFont{stmry}{bold}{U}{stmry}{b}{n} \begin{document} $\boldsymbol{x}$ \end{document} I get ...
user avatar
  • 568
1 vote
1 answer
94 views

How to remove the etex warning when using cryptocode with the llncs document class?

When using the cryptocode package along with the llncs document class, as provided by the Overleaf template, etex complains with the following warning: /usr/local/texlive/2020/texmf-dist/tex/latex/...
user avatar
0 votes
0 answers
46 views

Package keyvalue Error: Unknown option 'mathtools-overbracket' for package unicode-math-luatex

The PDF file fails to be generated after using the option warnings-off = {mathtools-colon, mathtools-overbracket} of unicode-math with the error Package keyvalue Error: Unknown option 'mathtools-...
user avatar
  • 8,759
0 votes
0 answers
65 views

How to get minted listing to break into multiple pages

Listings like \begin{listing} \begin{minted}[linenos,breakanywhere,breaklines]{python} # long code \end{minted} \label{lst:label} \end{listing} will go over the page number and generate a Float ...
user avatar
0 votes
2 answers
103 views

Underfull \hbox warning

I'm new at LaTEX. I'm learning by myself so this maybe is a beginner problem. I'm getting the warning: underfull \hbox (badness 10000) in paragraph \documentclass[a4paper, 12pt]{article} \usepackage[...
user avatar

1
2 3 4 5
15