Skip to content

Commit

Permalink
adapt to siunitx
Browse files Browse the repository at this point in the history
it's 3.0 in 2021 or so and we still use the 2 interface.
also don't use the PGF interface deprecated in 3.0, I think we did not
use it after all.

see #28
  • Loading branch information
krono committed Oct 5, 2021
1 parent 3986dd7 commit 0e79a4e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions hpitr.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -2216,7 +2216,7 @@ without this file.
}{}
\PassOptionsToPackage{shortcuts}{extdash}
\AtEndPreamble{\RequirePackage{extdash}}
\AtEndPreamble{\RequirePackage{siunitx}}
\AtEndPreamble{\RequirePackage{siunitx}[=v2]}
\AfterPackage{siunitx}{%
\sisetup{%
binary-units,
Expand All @@ -2227,9 +2227,6 @@ without this file.
unit-optional-argument,
parse-units = false}
\AtEndPreamble{%
\ltx@ifpackageloaded{pgf}%
{\SendSettingsToPgf}%
{}
\addto\extrasgerman{\sisetup{locale = DE}}
\addto\extrasngerman{\sisetup{locale = DE}}
\addto\extrasenglish{\sisetup{locale = US}}}}
Expand Down

0 comments on commit 0e79a4e

Please sign in to comment.