Skip to main content

Questions tagged [warnings]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
17 views

Use of the package 'bodeplot' giving warnings and doesn't produce the plot

I am just a beginner and am writing my first report in LaTeX, so excuse me if the solution is very obvious. I am trying to plot asymptotic approximation of bode plots using the package bodeplot as ...
caramalizedTomato's user avatar
0 votes
0 answers
26 views

Overleaf Compilation Problem with Package natbib Warning Error

I have spent days of trying to solve these problem but I failed. So I decide to ask for help from you guys. I am writing on Overleaf and using the model2-names.bst to generate my bibliography. However,...
Turing Tu's user avatar
0 votes
1 answer
41 views

Warning "No positions in optional float specifier"

I've read the warning and LaTeX documentation of the error message in the title. They are very clear begin{figure}[] with begin{figure}. The warning points towards: ./chapters/Intro/tables/table1.tex ...
M.G.Poirot's user avatar
9 votes
1 answer
485 views

Language warning

Consider the following MWE: % lualatex test.tex \DocumentMetadata{} \documentclass{article} \usepackage{polyglossia} \setdefaultlanguage{danish} \begin{document} test \end{document} I get the ...
Svend Tveskæg's user avatar
2 votes
2 answers
70 views

Suppress column already defined warning, tabularx, array

How can I suppress the column is already defined package warning caused by repeat uses of \newcolumntype with tabularx? (and therefor by extension the array package). I am intentionally redefining the ...
Bob's user avatar
  • 1,322
3 votes
0 answers
50 views

Warning caused by itemindent from enumitem

Consider the following MWE: \DocumentMetadata{} \documentclass{report} \usepackage{enumitem} \usepackage{hyperref} \begin{document} \begin{Form} \begin{enumerate}[ label = \CheckBox{}, ...
Svend Tveskæg's user avatar
1 vote
1 answer
44 views

Multibib not allowing a common source for different bibliographies without a Warning

Assume a typical situation where you have a big data basis of references in a unique bib file, say references.bib. Then, within one single tex file, say main.tex, you want to create two distinct lists ...
 Christophe's user avatar
0 votes
0 answers
36 views

VSCode No Warnings shown

When writing a .tex file I normally get warnings in the problems for like "overfull hbox" or "missing } in line 12". Now I just see nothing - any ideas? When using chktex to check ...
Nicolas's user avatar
1 vote
1 answer
41 views

Use Lua to flag font warnings

Using lualatex, TeXlive2024, Linux. In an earlier question, Marcel Krüger showed how to use Lua for keeping track of errors. In essence, that code sets a flag, if any error was reported. At the end, I ...
user avatar
-3 votes
2 answers
48 views

Font shape warnings [closed]

What may be done to get rid of these two font shape warnings: Font shape `LGR/ntxtlf/m/n' undefined Font shape `LGR/ntxtlf/m/it' undefined
Frode Alfson Bjørdal's user avatar
0 votes
0 answers
75 views

Font shape `T1/lato-TLF/b/sc' undefined, Some font shapes were not available, defaults substituted

When I am compiling an overleaf document with \documentclass[num-refs]{wiley-article}, and the packages \WarningFilter{latex}{Text page 8 contains only floats} \usepackage{anyfontsize} \usepackage{...
Thushara G.A's user avatar
1 vote
1 answer
102 views

Encountering a warning while running the Overleaf document, "Package amsmath Warning: Unable to redefine math accent \vec."

Following are the packages which I have used in the document. \usepackage{amsmath} \usepackage{lipsum} \usepackage{graphicx} \usepackage{amsfonts} \usepackage{algpseudocode} \usepackage{algorithm} \...
Thushara G.A's user avatar
1 vote
1 answer
101 views

Underfull \hbox (badness 10000) in paragraph at lines 25--27

\documentclass[lettersize,journal]{IEEEtran} \usepackage{amsmath,amsfonts} \usepackage{algorithmic} \usepackage{algorithm} \usepackage{array} \usepackage[caption=false,font=normalsize,labelfont=sf,...
BsAxUbx5KoQDEpCAqSffwGy554PSah's user avatar
0 votes
1 answer
50 views

On the hyperlink related warnings generated by the engine and the package hyperref

After a few days' trying, I have essentially finished the new version of multifootnote. However, looking at the log file, I notice that there are some lines like these (with pdflatex): pdfTeX warning (...
Jinwen's user avatar
  • 8,608
0 votes
1 answer
82 views

Avoid the warning "What does the phrase "Underfull \hbox (badness 10000) in paragraph", while keeping the line space as using \\[<space>]

There is plenty of advice to avoid line break by \\ and use an empty line for going to the next line. My problem is that the template I am using is full of warnings of Underfull \hbox (badness 10000) ...
Abbas's user avatar
  • 73
0 votes
0 answers
31 views

Getting "`refsection:1' multiply defined" - which didn't use to happen

Consider the following document: \documentclass{minimal} \usepackage{biblatex} \newsavebox{\foobox} \newcommand{\doofoo}[1]{ \ifdefined\donewithfoo \else \begin{lrbox}{\foobox} \begin{...
einpoklum's user avatar
  • 12.4k
1 vote
2 answers
65 views

Unused global option(s) with kvoptions string option

\begin{filecontents}{foo.cls} \NeedsTeXFormat{LaTeX2e} \ProvidesClass{foo} \RequirePackage{kvoptions} \SetupKeyvalOptions{family=myoptions,prefix=myoptions@} \DeclareStringOption[scriptsize]{bibsize}...
Tom de Geus's user avatar
0 votes
0 answers
63 views

How do you fix underfull hbox warning?

I am trying to write my thesis proposal paper in Latex. Here's the summarized code since most of it is all about the paper I wrote: \documentclass[a4paper,12pt]{report} \usepackage{indentfirst} \...
Kenneth Ligutom's user avatar
0 votes
1 answer
181 views

XeLaTeX and svg - Package transparent Warning: Loading aborted, because pdfTeX is not running in PDF mode

I am using XeLaTex to compile the following LaTeX-code: \documentclass[]{book} \usepackage[UKenglish]{babel} % main language \usepackage{xeCJK} % for Japanese fonts (requires XeLaTeX) \...
edgar's user avatar
  • 21
7 votes
1 answer
178 views

Why do I get "unused global options warning" for options forwarded to a package except for the first option?

I am working on a custom package for my macros and shortcuts, and a custom class for my preferred style of the document. I am using DeclareKeys to define key-value options in my package, and then my ...
Shai Avr's user avatar
  • 909
1 vote
0 answers
39 views

Warning when putting a math command in \section regarding "Token not allowed in a PDF string (Unicode)" [duplicate]

I am very new to LaTeX and I have been playing around with it by trying to transcribe my math notes into it. For some reasons when i wrote \begin{math}\sqrt{2}\end{math} after \section Overleaf ...
Nadia K's user avatar
  • 11
1 vote
1 answer
29 views

Split inside Align raises overfull hbox - need a local solution

When using a split environment inside a align environment, I get the Overfull hbox warning. \documentclass{article} \usepackage{amsmath} \setlength\textwidth{.5\textwidth}% force narrow text to get ...
Euler_Salter's user avatar
0 votes
1 answer
42 views

Warning messages related to superscript and mathshift in my latex file with hyperref

I am writing a manuscript. I am trying to use hyperref. I have two warning messages. Package hyperref Warning: Token not allowed in a PDF string (Unicode): removing `math shift' on input line 215. ...
Alex Poyser's user avatar
0 votes
0 answers
69 views

Question regarding microtype package

I am using the inofficial thesis template from my university. However, when I compile I get several warnings in the manner of Package microtype Warning: tracking amount list `output.tex/85' will ...
clearseplex's user avatar
1 vote
1 answer
122 views

error using htlatex and no output file is generated :(

I am very new to using LaTeX so please be kind :) Specs: Using Windows OS, TexLive, Overleaf(initially). Used the accessible package from https://libguides.lib.msu.edu/c.php?g=995742&p=8207771 ...
Locke's user avatar
  • 13
2 votes
1 answer
76 views

Enforcing the Use of for Acronyms in LaTeX

I am working on a document where I want to enforce the use of acronyms via the glossaries package. My intention is to ensure that each acronym is used properly with the \gls{} command so that I can ...
Highnoon's user avatar
10 votes
3 answers
560 views

Avoid spurious warnings in a parasitic class with key-value options (LaTeX3 \DeclareKeys)

This is a modified version of "Unused global options(s)" when using arguments in options of class. The question is how to create a parasitic class (i.e. one which loads another) which ...
cfr's user avatar
  • 207k
0 votes
4 answers
86 views

Underfull \hbox (badness 10000) in paragraph within nested minipages

I am generating a PDF using a .tex file of similar name. Generating the PDF with pdflatex generates a number of Underfull \hbox (badness 10000) in paragraph at lines 539--542, with each set of line ...
MTecknology's user avatar
0 votes
1 answer
59 views

`TU/KpMath-Regular.otf(4)/b/n' undefined error in kpfonts-otf when useing \mathversion{bold}

\documentclass{article} \usepackage{kpfonts-otf} \begin{document} Some text.\mathversion{bold}$a$ \end{document} The code compiles fine using without any errors and gives the expected output. ...
Apoorv Potnis's user avatar
1 vote
0 answers
68 views

Two playing cards packages show vastly different performance

I am experimenting typesetting poker hands with two packages. I unexpectedly spotted a huge performance difference between the two. $ cat pst-poker.tex \documentclass{article} \usepackage{pst-poker} \...
mhj67163's user avatar
0 votes
0 answers
88 views

VSCode & MacTex: clicking on a problem does not navigate to the source

Recently, I've just shifted from Win to Mac, but I encountered a problem on the setup of Microsoft VSCode with MacTex. After one builds a tex project, there might be warnings and errors shown in the ...
Sway's user avatar
  • 1
4 votes
1 answer
119 views

unsupported document class detected with Copernicus Latex Package

I’m trying to compile the template of the Copernicus Latex package (used for Copernicus journals). I downloaded the package from Copernicus website: https://publications.copernicus.org/for_authors/...
Clmt's user avatar
  • 43
6 votes
2 answers
108 views

Why overfull in terms of pts and underfull in terms of badness?

I am reading Knuth's The TeXbook, and experimenting around as directed in Chapter 6, I found that the quality of overfull warnings is reported by x pt too wide where x is a decimal; whereas, that of ...
Atom's user avatar
  • 665
3 votes
1 answer
72 views

hfuzz not working in table environment

dear internet stranger. I just wanted to turn off some overfull hbox warnings when I ran into a problem. I could not turn off warnings inside a table environment. What can I do to fix this? Here is a ...
Florian's user avatar
  • 299
3 votes
1 answer
171 views

Which LaTeX command prints a warning message about "Overfull \hbox"?

I want to override the command that prints Overfull \hbox..., but it seems that it's not \GenericWarning. What is it?
yegor256's user avatar
  • 12.2k
4 votes
1 answer
142 views

How to generate a warning message when the contents of a specific page exceeds half a page in length?

Consider the following MWE: \documentclass{toptesi} \usepackage{lipsum} % just for dummy text \begin{document} \sommario \lipsum[1-3] \end{document} Typically, the “sommario” (or “abstract” in ...
miticollo's user avatar
  • 367
3 votes
1 answer
119 views

Why do I receive warnings after using biblatex?

First of all, I'm quite new to LaTex. I watched some tutorials but this is my first real document i want to create. I wanted to add a bibliography to my document, so i did some googling around. But ...
Enter name here's user avatar
2 votes
1 answer
58 views

lua-widow-control: is it possible to change warnings into infos

I am using the nice package lua-widow-control to slightly improve the appearance of the document. However, the warning messages "Widow/Orphan/Broken Hyphen NOT removed on page ..." was too ...
Jinwen's user avatar
  • 8,608
0 votes
0 answers
53 views

\gls is not compatible with hyperref

I got this warning message: Package hyperref Warning: Token not allowed in a PDF string (Unicode): removing `\gls' on input line 39 Line 39 is the following: \subsection{\gls{tev} protease cleavage} ...
Kristof's user avatar
1 vote
1 answer
703 views

XeLaTeX Font Warning: Font shape `TU/pcr/m/n' undefined (Font)

The commands \textbf and \texttt don't have an effect. XeLaTeX Font Warning: Font shape `TU/pcr/m/n' undefined .cls file: \RequirePackage{fmtcount} \newcommand{\setthesistype}[1]{\def\@thesistype{#1}}...
Ukias's user avatar
  • 11
1 vote
3 answers
161 views

Roboto light condensed undefined font shape warning

I'm using the Roboto light condensed font, and always get the following font warning: Font shape OT1/cmr/lc/n' undefined(Font) using OT1/cmr/m/n' instead An example document to generate the warning ...
dikdirk's user avatar
  • 73
0 votes
1 answer
147 views

Suppress providing message of package

The package infwarerr is included in quite a few packages (by means of \RequirePackage{infwarerr}and most of the times an option with a date) and it results (once) in the line: Package: infwarerr 2019/...
albert's user avatar
  • 1,337
0 votes
0 answers
58 views

Importing siunitx gives warning "file [...] does not appear to be a dictionary"

Why does the following minimal document result in the warning? \documentclass[a4paper, 11pt]{article} \usepackage[utf8]{inputenc} \usepackage[catalan]{babel} \usepackage{siunitx} \begin{document} ...
Adrià Vilanova's user avatar
5 votes
2 answers
852 views

What's wrong with the xwatermark package?

On a relatively old MacTeX distribution (2015), the following code was compiling fine without any issue. But with the latest MacTeX, it doesn't compile well anymore. I'm getting some mysterious ...
Cham's user avatar
  • 2,328
6 votes
1 answer
1k views

Silencing 'siunitx' and 'physics' package \qty warning

I want to use the siunitxand the physicspackage, using the \qty definition of siunitx. Following the issued warning Package siunitx Warning: Detected the "physics" package: omitting ...
Tim's user avatar
  • 63
2 votes
1 answer
304 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 ...
Node.JS's user avatar
  • 685
2 votes
1 answer
378 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={...
Linear Christmas's user avatar
2 votes
1 answer
371 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 ...
Socob's user avatar
  • 1,703
0 votes
1 answer
78 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} \...
Anna S's user avatar
  • 25
0 votes
0 answers
384 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 ...
Steven Schneiders's user avatar

1
2 3 4 5
17