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
Ask Question
How to remove the following warning?
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.
This is my code before the \begin{document}
%\documentclass[review]{elsarticle}
\documentclass[sn-mathphys]{sn-jnl}
\usepackage{lineno}
\usepackage{graphicx}
\usepackage{tabularx}
\usepackage{booktabs}
\usepackage{supertabular}
\usepackage{multirow}
%\usepackage[skip=0.5\baselineskip,skip=0.5\abovecaptionskip]{caption}
\newcolumntype{P}[1]{>{\centering\arraybackslash}p{#1}}
\usepackage{verbatim}
% \usepackage{subfiles}
\hyphenation{presents}
\setlength{\textfloatsep}{3pt}
\date{February 2022}
%%% journal %%%
%%%%%%%%%%%%%%%%%%%%%%%
%% Elsevier bibliography styles
%%%%%%%%%%%%%%%%%%%%%%%
%% To change the style, put a % in front of the second line of the current style and
%% remove the % from the second line of the style you would like to use.
%%%%%%%%%%%%%%%%%%%%%%%
%% Numbered
%\bibliographystyle{model1-num-names}
%% Numbered without titles
%\bibliographystyle{model1a-num-names}
%% Harvard
%\bibliographystyle{model2-names.bst}\biboptions{authoryear}
%% Vancouver numbered
%\usepackage{numcompress}\bibliographystyle{model3-num-names}
%% Vancouver name/year
%\usepackage{numcompress}\bibliographystyle{model4-names}\biboptions{authoryear}
%% APA style
%\bibliographystyle{model5-names}\biboptions{authoryear}
%% AMA style
%\usepackage{numcompress}\bibliographystyle{model6-num-names}
%% `Elsevier LaTeX' style
%\bibliographystyle{elsarticle-num}
%%%%%%%%%%%%%%%%%%%%%%%
\setlength{\textfloatsep}{3pt}
\setlength{\abovedisplayskip}{3pt} %%% 3pt
\setlength{\belowdisplayskip}{3pt}
\begin{document}
–
The message about \burl
being treated as a synonym for \url
is a warning message, not an error message. You needn't doing anything about it -- especially if there are no \burl
directives in the body of your document.
If you really can't stand getting this innocuous warning message, I suggest you open the file sn-jnl.cls
in a text editor and find the following code chunk:
\gdef\breakurldefns{%
\if@pdflatex\else%
\RequirePackage[hyphenbreaks]{breakurl}%
\let\href\burlalt%
\fi}%
\breakurldefns%
Then, either comment out (or delete) this entire chunk or, more simply, its final instruction, viz.,
\breakurldefns%
To suppress the warning load the class with the option pdflatex
:
\documentclass[pdflatex]{sn-jnl}
\begin{document}
\end{document}