2

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:

10
  • 1
    Welcome to TeX.SE.
    – Mico
    Commented Aug 26, 2022 at 17:55
  • 2
    Can you tell from the log file whether breakurl is being loaded? If so, can you identify the package that is doing it? Commented Aug 26, 2022 at 17:55
  • why can't you avoid to load breakurl? (It is not needed) Commented Aug 26, 2022 at 18:01
  • @JohnPalmieri: Yes, if I put \listfiles in the preamble, breakurl does show up in the file list portion of the log. I'm not sure what's calling it. I'll keep looking.
    – E. Tucker
    Commented Aug 26, 2022 at 18:27
  • 1
    well you can suppress the loading. Add \makeatletter \@namedef{[email protected]}{}\makeatother at the begin of your document. Commented Aug 26, 2022 at 20:39

1 Answer 1

5

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.

1
  • I am indeed. Thank you!! The full command (for future readers) was: \documentclass[sn-mathphys, pdflatex]{sn-jnl}
    – E. Tucker
    Commented Aug 27, 2022 at 13:38

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .