添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
力能扛鼎的豌豆  ·  .NET6 修改ASP.NET ...·  1 年前    · 
苦闷的水龙头  ·  delle3如何图生图-抖音·  1 年前    · 
温文尔雅的皮蛋  ·  LocalDate (Java ...·  1 年前    · 

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}
  • Can you tell from the log file whether breakurl is being loaded? If so, can you identify the package that is doing it? John Palmieri Aug 26, 2022 at 17:55 @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 Aug 26, 2022 at 18:27 well you can suppress the loading. Add \makeatletter \@namedef{[email protected]}{}\makeatother at the begin of your document. Ulrike Fischer Aug 26, 2022 at 20:39

    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.

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