texlive[52245] Master/texmf-dist: ghsystem (1oct19)

commits+karl at tug.org commits+karl at tug.org
Tue Oct 1 23:18:25 CEST 2019


Revision: 52245
          http://tug.org/svn/texlive?view=revision&revision=52245
Author:   karl
Date:     2019-10-01 23:18:25 +0200 (Tue, 01 Oct 2019)
Log Message:
-----------
ghsystem (1oct19)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/ghsystem/README
    trunk/Master/texmf-dist/doc/latex/ghsystem/ghsystem_en.pdf
    trunk/Master/texmf-dist/doc/latex/ghsystem/ghsystem_en.tex
    trunk/Master/texmf-dist/tex/latex/ghsystem/ghsystem.sty
    trunk/Master/texmf-dist/tex/latex/ghsystem/language/ghsystem_english.def
    trunk/Master/texmf-dist/tex/latex/ghsystem/language/ghsystem_french.def
    trunk/Master/texmf-dist/tex/latex/ghsystem/language/ghsystem_german.def
    trunk/Master/texmf-dist/tex/latex/ghsystem/language/ghsystem_italian.def
    trunk/Master/texmf-dist/tex/latex/ghsystem/language/ghsystem_langtemplate.def
    trunk/Master/texmf-dist/tex/latex/ghsystem/language/ghsystem_spanish.def

Modified: trunk/Master/texmf-dist/doc/latex/ghsystem/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/ghsystem/README	2019-10-01 21:17:56 UTC (rev 52244)
+++ trunk/Master/texmf-dist/doc/latex/ghsystem/README	2019-10-01 21:18:25 UTC (rev 52245)
@@ -1,5 +1,5 @@
 --------------------------------------------------------------------------
-the GHSYSTEM package v4.8 2016/07/16
+the GHSYSTEM package v4.8a 2019/09/30
 
   globally harmonized system
 
@@ -8,7 +8,7 @@
 Web:    https://github.com/cgnieder/ghsystem/
 E-Mail: contact at mychemistry.eu
 --------------------------------------------------------------------------
-Copyright 2011-2016 Clemens Niederberger
+Copyright 2011--2019 Clemens Niederberger
 
 This work may be distributed and/or modified under the
 conditions of the LaTeX Project Public License, either version 1.3

Modified: trunk/Master/texmf-dist/doc/latex/ghsystem/ghsystem_en.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/ghsystem/ghsystem_en.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/ghsystem/ghsystem_en.tex	2019-10-01 21:17:56 UTC (rev 52244)
+++ trunk/Master/texmf-dist/doc/latex/ghsystem/ghsystem_en.tex	2019-10-01 21:18:25 UTC (rev 52245)
@@ -16,7 +16,7 @@
 % If you have any ideas, questions, suggestions or bugs to report, please
 % feel free to contact me.
 % --------------------------------------------------------------------------
-% Copyright 2011-2016 Clemens Niederberger
+% Copyright 2011--2019 Clemens Niederberger
 %
 % This work may be distributed and/or modified under the
 % conditions of the LaTeX Project Public License, either version 1.3

Modified: trunk/Master/texmf-dist/tex/latex/ghsystem/ghsystem.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ghsystem/ghsystem.sty	2019-10-01 21:17:56 UTC (rev 52244)
+++ trunk/Master/texmf-dist/tex/latex/ghsystem/ghsystem.sty	2019-10-01 21:18:25 UTC (rev 52245)
@@ -12,7 +12,7 @@
 % If you have any ideas, questions, suggestions or bugs to report, please
 % feel free to contact me.
 % --------------------------------------------------------------------------
-% Copyright 2011-2016 Clemens Niederberger
+% Copyright 2011--2019 Clemens Niederberger
 %
 % This work may be distributed and/or modified under the
 % conditions of the LaTeX Project Public License, either version 1.3
@@ -29,8 +29,8 @@
 \RequirePackage{ expl3, xparse, chemmacros }
 \ExplSyntaxOn
 
-\tl_const:Nn \c_ghsystem_version_tl {4.8}
-\tl_const:Nn \c_ghsystem_date_tl    {2016/07/16}
+\tl_const:Nn \c_ghsystem_version_tl {4.8a}
+\tl_const:Nn \c_ghsystem_date_tl    {2019/09/30}
 \tl_const:Nn \c_ghsystem_info_tl    {globally~ harmonised~ system}
 
 \ProvidesExplPackage
@@ -106,7 +106,7 @@
 \cs_new:Npn \ghsystem_text: {}
 \cs_new:Npn \ghsystem_dash:
   {
-    \tex_penalty:D \c_ten_thousand
+    \tex_penalty:D 10000 \scan_stop:
     -
     \skip_horizontal:N \c_zero_skip
   }
@@ -113,7 +113,7 @@
 
 \cs_new:Npn \ghsystem_slash:
   {
-    \tex_penalty:D \c_ten_thousand
+    \tex_penalty:D 10000 \scan_stop:
     /
     \skip_horizontal:N \c_zero_skip
   }
@@ -208,19 +208,45 @@
       {#3}
   }
 
-\cs_new:Npn \ghsystem_load_language_file:n #1
+\cs_new_protected:Npn \__ghsystem_load_language:n #1
   {
+    \seq_gput_right:Nn \g__ghsystem_loadad_languages_seq {#1}
+    \str_set:Nn \l_ghsystem_current_language_str {#1}
+    \@onefilewithoptions
+      {\c__ghsystem_definition_file_prefix_tl _ #1} [][]
+      \c__ghsystem_definition_file_extension_tl
+  }
+\cs_generate_variant:Nn \__ghsystem_load_language:n {V}
+\cs_generate_variant:Nn \file_if_exist:nTF {V}
+
+\cs_new_protected:Npn \__ghsystem_load_language_file:n #1
+  {
+    \tl_set:Nx \l__ghsystem_tmpa_tl { \@trnslt at language {#1} }
+    \file_if_exist:nTF
+      {
+        \c__ghsystem_definition_file_prefix_tl _ \l__ghsystem_tmpa_tl .
+        \c__ghsystem_definition_file_extension_tl
+      }
+      { \__ghsystem_load_language:V \l__ghsystem_tmpa_tl }
+      {
+        \tl_set:Nx \l__ghsystem_tmpa_tl { \baselanguage {#1} }
+        \file_if_exist:nTF
+          {
+            \c__ghsystem_definition_file_prefix_tl _ \l__ghsystem_tmpa_tl .
+            \c__ghsystem_definition_file_extension_tl
+          }
+          { \__ghsystem_load_language:V \l__ghsystem_tmpa_tl }
+          { \errorTODO }
+      }
+  }
+
+\cs_new_protected:Npn \ghsystem_load_language_file:n #1
+  {
     \ghsystem_if_language_file_loaded:nF {#1}
       {
         \cs_if_eq:NNTF \@onefilewithoptions\@notprerr
           { \msg_error:nnn {ghsystem} {language-file} {#1} }
-          {
-            \seq_gput_right:Nx \g__ghsystem_loadad_languages_seq
-              { \@trnslt at language {#1} }
-            \@onefilewithoptions
-              {\c__ghsystem_definition_file_prefix_tl _ #1} [][]
-              \c__ghsystem_definition_file_extension_tl
-          }
+          { \__ghsystem_load_language_file:n {#1} }
       }
   }
 \cs_generate_variant:Nn \ghsystem_load_language_file:n { V }
@@ -230,7 +256,12 @@
     \seq_if_in:NxTF \g__ghsystem_loadad_languages_seq
       { \@trnslt at language {#1} }
       { \prg_return_true: }
-      { \prg_return_false: }
+      {
+        \seq_if_in:NxTF \g__ghsystem_loadad_languages_seq
+          { \baselanguage {#1} }
+          { \prg_return_true: }
+          { \prg_return_false: }
+      }
   }
 
 % TODO: an neuen Mechanismus anpassen:
@@ -238,7 +269,6 @@
   {
     \ghsystem_if_language_file_loaded:nF {#1}
       { \ghsystem_load_language_file:n {#1} }
-    \str_set:Nx \l_ghsystem_current_language_str { \@trnslt at language {#1} }
     \bool_set_true:N \l__ghsystem_language_file_loaded_bool
   }
 \cs_generate_variant:Nn \ghsystem_load_language:n { V }
@@ -638,9 +668,10 @@
 
 \chemmacros_load_module:n {nomenclature}
 
-\chemmacros_integrate_package:nnn {} {ghsystem} {2016/01/11}
+\cs_generate_variant:Nn \chemmacros_integrate_package:nnn {nnV}
+\chemmacros_integrate_package:nnV {} {ghsystem} \c_ghsystem_date_tl
 
-\tex_endinput:D
+\file_input_stop:
 
 % --------------------------------------------------------------------------
 VERSION HISTORY
@@ -680,7 +711,6 @@
                             proper value
 2016/07/16 - version 4.8  - French translations, thanks to Bréal Frédéric and
                             Beaude Aurélien
+2019/09/30 - version 4.8a - add \l_ghsystem_table_next_page_tl to the template
+                            and the French translations
 
-% --------------------------------------------------------------------------
-% TODO:
-- add option to switch between `longtable` and `supertabular` for \ghslistall ?

Modified: trunk/Master/texmf-dist/tex/latex/ghsystem/language/ghsystem_english.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ghsystem/language/ghsystem_english.def	2019-10-01 21:17:56 UTC (rev 52244)
+++ trunk/Master/texmf-dist/tex/latex/ghsystem/language/ghsystem_english.def	2019-10-01 21:18:25 UTC (rev 52245)
@@ -11,7 +11,7 @@
 % - If you have any ideas, questions, suggestions or bugs to report, please
 % - feel free to contact me.
 % --------------------------------------------------------------------------
-% - Copyright 2011-2016 Clemens Niederberger
+% - Copyright 2011--2019 Clemens Niederberger
 % -
 % - This work may be distributed and/or modified under the
 % - conditions of the LaTeX Project Public License, either version 1.3

Modified: trunk/Master/texmf-dist/tex/latex/ghsystem/language/ghsystem_french.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ghsystem/language/ghsystem_french.def	2019-10-01 21:17:56 UTC (rev 52244)
+++ trunk/Master/texmf-dist/tex/latex/ghsystem/language/ghsystem_french.def	2019-10-01 21:18:25 UTC (rev 52245)
@@ -11,7 +11,7 @@
 % - If you have any ideas, questions, suggestions or bugs to report, please
 % - feel free to contact me.
 % --------------------------------------------------------------------------
-% - Copyright 2011-2016 Clemens Niederberger
+% - Copyright 2011--2019 Clemens Niederberger
 % -
 % - This work may be distributed and/or modified under the
 % - conditions of the LaTeX Project Public License, either version 1.3
@@ -29,17 +29,18 @@
 % - Aurélien. Many thanks!
 
 % FRENCH DEFINITIONS
-\ghsystemlanguagefile{french}{2016/07/16}
+\ghsystemlanguagefile{french}{2019/09/30}
 
 % table head:
 \tl_set:Nn \l_ghsystem_identifier_tl { num\'ero }
 \tl_set:Nn \l_ghsystem_table_text_tl { phrases }
 \tl_set:Nn \l_ghsystem_table_caption_tl { Toutes~ les~ phrases~ H,~ EUH~ et~ P }
+\tl_set:Nn \l_ghsystem_table_next_page_tl { suite~ sur~ la~ prochaine~ page }
 
 \group_begin:
 \char_set_catcode_active:N \^^@
 \char_set_lccode:nn { `^^@ } { `: }
-\tl_to_lowercase:n
+\tex_lowercase:D
   {
     \group_end:
     \tl_const:Nn \c_ghsystem_french_colon_tl { ^^@ }

Modified: trunk/Master/texmf-dist/tex/latex/ghsystem/language/ghsystem_german.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ghsystem/language/ghsystem_german.def	2019-10-01 21:17:56 UTC (rev 52244)
+++ trunk/Master/texmf-dist/tex/latex/ghsystem/language/ghsystem_german.def	2019-10-01 21:18:25 UTC (rev 52245)
@@ -11,7 +11,7 @@
 % - If you have any ideas, questions, suggestions or bugs to report, please
 % - feel free to contact me.
 % --------------------------------------------------------------------------
-% - Copyright 2011-2016 Clemens Niederberger
+% - Copyright 2011--2019 Clemens Niederberger
 % -
 % - This work may be distributed and/or modified under the
 % - conditions of the LaTeX Project Public License, either version 1.3

Modified: trunk/Master/texmf-dist/tex/latex/ghsystem/language/ghsystem_italian.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ghsystem/language/ghsystem_italian.def	2019-10-01 21:17:56 UTC (rev 52244)
+++ trunk/Master/texmf-dist/tex/latex/ghsystem/language/ghsystem_italian.def	2019-10-01 21:18:25 UTC (rev 52245)
@@ -11,7 +11,7 @@
 % - If you have any ideas, questions, suggestions or bugs to report, please
 % - feel free to contact me.
 % --------------------------------------------------------------------------
-% - Copyright 2011-2016 Clemens Niederberger
+% - Copyright 2011--2019 Clemens Niederberger
 % -
 % - This work may be distributed and/or modified under the
 % - conditions of the LaTeX Project Public License, either version 1.3

Modified: trunk/Master/texmf-dist/tex/latex/ghsystem/language/ghsystem_langtemplate.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ghsystem/language/ghsystem_langtemplate.def	2019-10-01 21:17:56 UTC (rev 52244)
+++ trunk/Master/texmf-dist/tex/latex/ghsystem/language/ghsystem_langtemplate.def	2019-10-01 21:18:25 UTC (rev 52245)
@@ -11,7 +11,7 @@
 % - If you have any ideas, questions, suggestions or bugs to report, please
 % - feel free to contact me.
 % --------------------------------------------------------------------------
-% - Copyright 2011-2016 Clemens Niederberger
+% - Copyright 2011--2019 Clemens Niederberger
 % -
 % - This work may be distributed and/or modified under the
 % - conditions of the LaTeX Project Public License, either version 1.3
@@ -76,6 +76,7 @@
 \tl_set:Nn \l_ghsystem_identifier_tl { ... }
 \tl_set:Nn \l_ghsystem_table_text_tl { ... }
 \tl_set:Nn \l_ghsystem_table_caption_tl { ... }
+\tl_set:Nn \l_ghsystem_table_next_page_tl { ... }
 
 % fill-in functions:
 % <state route of exposure if it is conclusively proven that no other routes of exposure cause the hazard>.

Modified: trunk/Master/texmf-dist/tex/latex/ghsystem/language/ghsystem_spanish.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ghsystem/language/ghsystem_spanish.def	2019-10-01 21:17:56 UTC (rev 52244)
+++ trunk/Master/texmf-dist/tex/latex/ghsystem/language/ghsystem_spanish.def	2019-10-01 21:18:25 UTC (rev 52245)
@@ -11,7 +11,7 @@
 % - If you have any ideas, questions, suggestions or bugs to report, please
 % - feel free to contact me.
 % --------------------------------------------------------------------------
-% - Copyright 2011-2016 Clemens Niederberger
+% - Copyright 2011--2019 Clemens Niederberger
 % -
 % - This work may be distributed and/or modified under the
 % - conditions of the LaTeX Project Public License, either version 1.3



More information about the tex-live-commits mailing list