summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/siunitx/siunitx.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/siunitx/siunitx.dtx')
-rw-r--r--macros/latex/contrib/siunitx/siunitx.dtx15
1 files changed, 13 insertions, 2 deletions
diff --git a/macros/latex/contrib/siunitx/siunitx.dtx b/macros/latex/contrib/siunitx/siunitx.dtx
index 53cfbd8426..75c494abb4 100644
--- a/macros/latex/contrib/siunitx/siunitx.dtx
+++ b/macros/latex/contrib/siunitx/siunitx.dtx
@@ -121,7 +121,7 @@
%
% Identify the package and give the over all version information.
% \begin{macrocode}
-\ProvidesExplPackage {siunitx} {2021-06-09} {3.0.12}
+\ProvidesExplPackage {siunitx} {2021-06-17} {3.0.14}
{A comprehensive (SI) units package}
% \end{macrocode}
%
@@ -309,6 +309,17 @@
\siunitx_print_number:V \l_@@_tmp_tl
\group_end:
}
+\@ifpackageloaded { units }
+ {
+ \msg_new:nnn { siunitx } { units-pkg }
+ {
+ Detected~the~"units"~package: \\
+ Omitting~definition~of~\token_to_str:N \unit.
+ }
+ \msg_warning:nn { siunitx } { units-pkg }
+ \use_none:nnnn
+ }
+ { }
\NewDocumentCommand \unit { O { } > { \TrimSpaces } m }
{
\mode_leave_vertical:
@@ -522,7 +533,7 @@
% \subsection{Document commands in bookmarks}
%
% In bookmarks, the \pkg{siunitx} document commands need to produce simple
-% strings that represent their input as far a possible.
+% strings that represent their input as far as possible.
%
% \begin{macro}{\@@_bookmark_cmd:Nn}
% To keep things fast, expandable versions of the document command are