diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/chemmacros/ghsystem.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/chemmacros/ghsystem.sty | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/chemmacros/ghsystem.sty b/Master/texmf-dist/tex/latex/chemmacros/ghsystem.sty index 8f761435690..680b4b2da56 100644 --- a/Master/texmf-dist/tex/latex/chemmacros/ghsystem.sty +++ b/Master/texmf-dist/tex/latex/chemmacros/ghsystem.sty @@ -5,7 +5,6 @@ % - macros and commands for chemists - % % --------------------------------------------------------------------------- % % - Clemens Niederberger - % -% - 2012/05/18 - % % --------------------------------------------------------------------------- % % - https://bitbucket.org/cgnieder/chemmacros/ - % % - contact@mychemistry.eu - % @@ -30,8 +29,8 @@ \RequirePackage{ expl3 } \ProvidesExplPackage {ghsystem} - {2012/05/18} - {3.3b} + {2012/07/24} + {3.3d} {globally harmonised system} % --------------------------------------------------------------------------- % @@ -194,7 +193,9 @@ % general options: language .code:n = \bool_set_true:c { l_ghsystem_#1_bool } - \input { language / ghsystem_#1.def } \ExplSyntaxOn , + \bool_if:NTF \l_ghsystem_language_directory_bool + { \input { language / ghsystem_#1.def } \ExplSyntaxOn } + { \input { ghsystem_#1.def } \ExplSyntaxOn } , % \ghs options: hide .bool_set:N = \l_ghsystem_hide_statement_bool , @@ -227,7 +228,7 @@ \fp_mul:Nn \l_ghsystem_picture_scale_fp { #1 } , includegraphics .code:n = \tl_set:Nn \l_ghsystem_picture_includegraphics_tl { , #1 } , - pic-type .choices:nn = { eps , jpg , png } + pic-type .choices:nn = { eps , jpg , png , pdf } { \tl_set_eq:NN \l_ghsystem_picture_type_tl \l_keys_choice_tl } , % \ghslistall options: table-head-number .tl_set:N = \l_ghsystem_identifier_tl , @@ -460,15 +461,15 @@ \bool_if:NT \l_ghsystem_engine_pdftex_bool { \ifpdf - \tl_set:Nn \l_ghsystem_picture_type_tl { png } + \tl_set:Nn \l_ghsystem_picture_type_tl { pdf } \else \tl_set:Nn \l_ghsystem_picture_type_tl { eps } \fi } \bool_if:NT \l_ghsystem_engine_xetex_bool - { \tl_set:Nn \l_ghsystem_picture_type_tl { png } } + { \tl_set:Nn \l_ghsystem_picture_type_tl { pdf } } \bool_if:NT \l_ghsystem_engine_luatex_bool - { \tl_set:Nn \l_ghsystem_picture_type_tl { png } } + { \tl_set:Nn \l_ghsystem_picture_type_tl { pdf } } % the command: \NewDocumentCommand \ghspic { om } @@ -524,6 +525,14 @@ VERSION HISTORY - removed erroneous empty line at the end of the table created by \ghslistall 2012/05/18 - version 3.3b - compatibility with MiKTeX +2012/05/18 - version 3.3c - fix in the `ghsystem/language' option +2012/07/24 - version 3.3d - additional picture file type `pdf' + - default bond length set to 1.1667ex + - bug fix in the bonds + - added kerning to cip commands, new option + `iupac/cip-kern' + - bug fix: messages needed to be defined before the + options %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % TODO: |