9

I've recently requested the IT guys to upgrade my texlive version to 2018, and now I noticed that it always throws a warning:

Package remreset Warning: The remreset package is obsolete: (remreset) \@removefomresset is defined.

Since I've never even heard about remreset before, I found this to be a bit confusing. Upon a bit of digging up, I figured out that aliascnt is where the fault lies. And since I use this quite often in my documents, I see this warning being thrown at me constantly when I compile things here at the office.

What can I do about this warning? What should I do about this warning?

Since downgrading/upgrading things requires hassling the IT guys, my preference is to minimize the amount of emails I need to send to them about the topic.

(Let me also say that I have an immense difficulty ignoring warnings when I compile things, so this one little warning is likely to drive me crazy until it's gone.)

15
  • 1
    Add an issue here: github.com/ho-tex/oberdiek. Jun 29, 2018 at 12:52
  • 4
    This doesn't help with your problem, but just to give a bit of background: the \@re­move­from­re­set command provided by remreset is now provided by the LaTeX kernel, which is why remreset is now obsolete. Jun 29, 2018 at 12:52
  • 2
    With the 2018 release the packages remreset amd chngcntr have been integrated into the LaTeX kernel. One should hope that Heiko updates aliascnt. For the moment, though, I believe you may ignore the warnings.
    – campa
    Jun 29, 2018 at 12:53
  • 2
    Step one would be to tell the maintainers of the package about it github.com/ho-tex/oberdiek. After they fix it, you would probably ask your IT department to update your TeX live again. But there are ways to suppress harmless warnings like these. You could say \usepackage{silence} \WarningFilter{remreset}{The remreset package is obsolete} before you load aliascnt.
    – moewe
    Jun 29, 2018 at 12:53
  • 1
    @campa: "I believe you may ignore the warnings" is a very innocent sentence that is easy to say to someone like me. Kind of like "Just go and talk to her" or "Just call them and get that job that you want"...
    – Ink blot
    Jun 29, 2018 at 14:21

1 Answer 1

10

Once you are reassured that the specific warning is innocuous and will be most likely fixed in the near future, you can silence the warning: add

\RequirePackage{silence}
\WarningFilter{remreset}{The remreset package}

at the very top of your document.

Example:

\documentclass{article}
\usepackage{aliascnt}
\begin{document}
Hello
\end{document}

will produce the following console output:

This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2018) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./test.tex
LaTeX2e <2018-04-01> patch level 5
(/usr/local/texlive/2018/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/local/texlive/2018/texmf-dist/tex/latex/base/size10.clo))
(/usr/local/texlive/2018/texmf-dist/tex/latex/oberdiek/aliascnt.sty
(/usr/local/texlive/2018/texmf-dist/tex/latex/carlisle/remreset.sty

Package remreset Warning: The remreset package is obsolete:
(remreset)                \@removefomresset is defined.

))
No file test.aux.
[1{/usr/local/texlive/2018/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
(./test.aux) )</usr/local/texlive/2018/texmf-dist/fonts/type1/public/amsfonts/
cm/cmr10.pfb>
Output written on test.pdf (1 page, 10450 bytes).
Transcript written on test.log.

Instead

\RequirePackage{silence}
\WarningFilter{remreset}{The remreset package}

\documentclass{article}
\usepackage{aliascnt}
\begin{document}
Hello
\end{document}

will produce

This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2018) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./test.tex
LaTeX2e <2018-04-01> patch level 5
(/usr/local/texlive/2018/texmf-dist/tex/latex/silence/silence.sty)
(/usr/local/texlive/2018/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/local/texlive/2018/texmf-dist/tex/latex/base/size10.clo))
(/usr/local/texlive/2018/texmf-dist/tex/latex/oberdiek/aliascnt.sty
(/usr/local/texlive/2018/texmf-dist/tex/latex/carlisle/remreset.sty))
(./test.aux) [1{/usr/local/texlive/2018/texmf-var/fonts/map/pdftex/updmap/pdft
ex.map}] (./test.aux) )</usr/local/texlive/2018/texmf-dist/fonts/type1/public/
amsfonts/cm/cmr10.pfb>
Output written on test.pdf (1 page, 10450 bytes).
Transcript written on test.log.
8
  • Is there a way to add this to all my document without actually adding it to any of my documents? Like some local tex config?
    – Ink blot
    Jun 29, 2018 at 14:19
  • @Inkblot I'm afraid not. I'd simply ignore the warning: it is temporary and will disappear soon.
    – egreg
    Jun 29, 2018 at 14:22
  • So... like a toothache. I guess it will have to do. Thank you very much!
    – Ink blot
    Jun 29, 2018 at 14:28
  • @Inkblot if you have toothache, you go see a dentist. that is not to be ignored! ignoring these warnings however (which can be compared to imprints on plastic coffee lids stating the obvious "Content is hot") won't kill you or harm anyone. it will - if at all - only mess up your PDF output. therefore ignoring the warnings, stating a package as obsolete is okay.
    – naphaneal
    Jun 29, 2018 at 16:06
  • This code could be added to the documentclass, which would save adding it to every document...?
    – cmhughes
    Jun 29, 2018 at 16:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.