Stack Exchange Network
Stack Exchange network consists of 183 Q&A communities including
Stack Overflow
, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack Exchange
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this community
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about Teams
How do I get rid of this warning:
"Package breakurl Warning: You are using breakurl while processing via pdflatex.(breakurl) \burl will be just a synonym of \url. on input line 48."
Why do I care? The journal we're submitting to states there should no latex warnings.
Context: I'm on Overleaf. There are some urls. I'm not calling the function burl (nor using packages hyperref/breakurl).
What I've tried:
Looked into the source code (
https://texdoc.org/serve/breakurl.pdf/0
) - the code that causes it is on page 6.
Tried to figure out if I can "not use" a package so it wouldn't try to load burl (looked into this but not sure relevant:
How to NOT include a package in a TeX file?
)
Looked into other breakurl errors (e.g.,
Package breakurl Warning: You are using breakurl while processing via pdflatex
) but couldn't find one that addressed this question.
Loaded the two relevant packages directly: \usepackage{hyperref} \usepackage{breakurl}
–
–
–
My bet is that you're using some Springer Nature class.
The (scanty) documentation doesn't tell it, but if you want to avoid that warning you need to pass the class the option
pdflatex
.
Example 1
\documentclass{sn-jnl}
\begin{document}
\title{Test}
\author{Test}
\maketitle
\end{document}
In the log file you get
Package breakurl Warning: You are using breakurl while processing via pdflatex.
(breakurl) \burl will be just a synonym of \url.
(breakurl) on input line 48.
Example 2
\documentclass[pdflatex]{sn-jnl}
\begin{document}
\title{Test}
\author{Test}
\maketitle
\end{document}
No warning in the log file.
Other classes
If you're not with a Springer Nature class, add
\makeatletter
\disable@package@load{burl}{}
\makeatother
at the very beginning of your file, before the \documentclass
line.
–