diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/chemmacros/ghsystem.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/chemmacros/ghsystem.sty | 28 |
1 files changed, 23 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/chemmacros/ghsystem.sty b/Master/texmf-dist/tex/latex/chemmacros/ghsystem.sty index 4c91a0b8796..e82ac0b0dcc 100644 --- a/Master/texmf-dist/tex/latex/chemmacros/ghsystem.sty +++ b/Master/texmf-dist/tex/latex/chemmacros/ghsystem.sty @@ -5,7 +5,7 @@ % - macros and commands for chemists - % % --------------------------------------------------------------------------- % % - Clemens Niederberger - % -% - 2012/03/20 - % +% - 2012/05/07 - % % --------------------------------------------------------------------------- % % - https://bitbucket.org/cgnieder/chemmacros/ - % % - contact@mychemistry.eu - % @@ -30,8 +30,8 @@ \RequirePackage{ expl3 } \ProvidesExplPackage {ghsystem} - {2012/03/20} - {3.2} + {2012/05/07} + {3.3} {globally harmonised system} % --------------------------------------------------------------------------- % @@ -137,8 +137,24 @@ \DeclareSIUnit { \GHSkilogram } { kg } \DeclareSIUnit { \GHSpounds } { lbs } -\bool_if:NTF \l_chemmacros_german_bool - { \input { language / ghsystem_german.def } \ExplSyntaxOn } +% language settings +\bool_new:N \l_ghsystem_language_file_loaded_bool +\bool_if:NT \l_chemmacros_english_bool + { + \bool_set_true:N \l_ghsystem_language_file_loaded_bool + \input { language / ghsystem_english.def } \ExplSyntaxOn + } +\bool_if:NT \l_chemmacros_german_bool + { + \bool_set_true:N \l_ghsystem_language_file_loaded_bool + \input { language / ghsystem_german.def } \ExplSyntaxOn + } +% \bool_if:NT \l_chemmacros_italian_bool +% { +% \bool_set_true:N \l_ghsystem_language_file_loaded_bool +% \input { language / ghsystem_italian.def } \ExplSyntaxOn +% } +\bool_if:NF \l_ghsystem_language_file_loaded_bool { \input { language / ghsystem_english.def } \ExplSyntaxOn } \cs_new_nopar:Nn \ghsystem_booktabs:n @@ -456,6 +472,8 @@ VERSION HISTORY 2012/03/03 - version 3.1b - changes in packages chemformula and chemmacros 2012/03/14 - version 3.1c - changes in packages chemformula and chemmacros 2012/03/20 - version 3.2 - changes in packages chemformula and chemmacros +2012/05/07 - version 3.3 - changes in packages chemformula and chemmacros + - support for chemmacros' new language settings %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % TODO: |