As a package author, I want people to load my package with a version
parameter like
\usepackage[version=4]{mhchem}
I decided to use a warning (and no error) if they did not, because not specifying a version works for basic usage and the differences will only be noticed on more complex chemical formulae.
I do not mind too much that questions asked here do not contain a version parameter. But the accepted answers should be completely correct, in my point of view. However, almost none of the accepted answers did so, initially.
This leads me to the conclusion that even experienced LaTeX users that post answers here, do not take a look at the LaTeX warnings, rendering the warning system of LaTeX virtually useless.
So before I consider changing my warning into an error, I wanted to ask here if there was the possibility to create more obvious warnings. (I doubt it, but I wanted to ask anyway.)
Update
Maybe you could report back how your editor behaves.
\documentclass{article}
\usepackage{expl3}
\begin{document}
a
\PackageWarning{test}{This is a traditional warning.}
\ExplSyntaxOn
\msg_new:nnn { test } { msg } { This~is~a~LaTeX3~warning.}
\msg_warning:nn { test } { msg }
\end{document}
- TeXworks: Identifies traditional warning, but not LaTeX3 warning. Nevertheless hides console output after compilation, even if a warning was identified.
- ...
ledmac
currently does. This will really draw attention. On the other hand, if using an older version is fine, why change?final
-option to supress the output.\PackageWarning
, because the LaTeX3 warnings are not recognized by the majority of editors, yet?