diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/chemmacros/language/ghsystem_langtemplate.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/chemmacros/language/ghsystem_langtemplate.def | 139 |
1 files changed, 90 insertions, 49 deletions
diff --git a/Master/texmf-dist/tex/latex/chemmacros/language/ghsystem_langtemplate.def b/Master/texmf-dist/tex/latex/chemmacros/language/ghsystem_langtemplate.def index a7455f844d5..7fbe5c9cc8e 100644 --- a/Master/texmf-dist/tex/latex/chemmacros/language/ghsystem_langtemplate.def +++ b/Master/texmf-dist/tex/latex/chemmacros/language/ghsystem_langtemplate.def @@ -1,32 +1,30 @@ -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% --------------------------------------------------------------------------- % -% - the CHEMMACROS bundle - % -% - ghsystem_langtemplate.def - % -% - macros and commands for chemists - % -% --------------------------------------------------------------------------- % -% - Clemens Niederberger - % -% - 2013/01/04 - % -% --------------------------------------------------------------------------- % -% - http://www.mychemistry.eu/ - % -% - contact@mychemistry.eu - % -% --------------------------------------------------------------------------- % -% - If you have any ideas, questions, suggestions or bugs to report, please - % -% - feel free to contact me. - % -% --------------------------------------------------------------------------- % -% - Copyright 2011-2013 Clemens Niederberger - % -% - - % -% - This work may be distributed and/or modified under the - % -% - conditions of the LaTeX Project Public License, either version 1.3 - % -% - of this license or (at your option) any later version. - % -% - The latest version of this license is in - % -% - http://www.latex-project.org/lppl.txt - % -% - and version 1.3 or later is part of all distributions of LaTeX - % -% - version 2005/12/01 or later. - % -% - - % -% - This work has the LPPL maintenance status `maintained'. - % -% - - % -% - The Current Maintainer of this work is Clemens Niederberger. - % -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% -------------------------------------------------------------------------- +% - the CHEMMACROS bundle +% - ghsystem_langtemplate.def +% - loads of little helpers for chemists +% -------------------------------------------------------------------------- +% - Clemens Niederberger +% -------------------------------------------------------------------------- +% - https://bitbucket.org/cgnieder/chemmacros/ +% - contact@mychemistry.eu +% -------------------------------------------------------------------------- +% - If you have any ideas, questions, suggestions or bugs to report, please +% - feel free to contact me. +% -------------------------------------------------------------------------- +% - Copyright 2011-2014 Clemens Niederberger +% - +% - This work may be distributed and/or modified under the +% - conditions of the LaTeX Project Public License, either version 1.3 +% - of this license or (at your option) any later version. +% - The latest version of this license is in +% - http://www.latex-project.org/lppl.txt +% - and version 1.3 or later is part of all distributions of LaTeX +% - version 2005/12/01 or later. +% - +% - This work has the LPPL maintenance status `maintained'. +% - +% - The Current Maintainer of this work is Clemens Niederberger. +% -------------------------------------------------------------------------- % % Some information how to use this template: % @@ -44,8 +42,7 @@ % % You need to know: % - every gap that is to be filled is indicated be three dots: ... -% - you need to take care of hyphenation by adding \- at the appropriate places -% - you need to take care of special symbols such as ä replaced with \"a etc. +% - you need to take care of special symbols such as ä replaced with \"{a} etc. % so the statements can be used with latex, pdflatex, xelatex, and lualatex as % well % - for the fill-in functions the original English text is given to help you @@ -57,16 +54,16 @@ % % To test your language file you have to name it % \ghsystem_<language name>.def -% for example by replacing `langtemplate' in the name of this file. Then place a -% copy in the `language' directory of chemmacros. You now can use it with +% for example by replacing `langtemplate' in the name of this file. You now +% can use it with % \chemsetup[ghsystem]{language=<language name>} % I suggest running a test file similar to this: % ----------------------------------------------------------------------------- % \documentclass{article} -% \usepackage{chemmacros} -% \chemsetup[ghsystem]{language=<language name>,fill-in=true} +% \usepackage{ghsystem} % \begin{document} -% +% +% \loadghsystemlanguage{<language name>} % \ghslistall % % \end{document} @@ -177,10 +174,26 @@ \prop_put:Nnn \l__ghsystem_h_prop { 360 } { ... \ghsystem_effect: \ghsystem_exposure: } \prop_put:Nnn \l__ghsystem_h_prop { 361 } { ... \ghsystem_effect: \ghsystem_exposure: } \prop_put:Nnn \l__ghsystem_h_prop { 362 } { ... } -\prop_put:Nnn \l__ghsystem_h_prop { 370 } { ... \bool_if:NF \l__ghsystem_organs_bool { ... } \ghsystem_organs: . \ghsystem_exposure: } -\prop_put:Nnn \l__ghsystem_h_prop { 371 } { ... \bool_if:NF \l__ghsystem_organs_bool { ... } \ghsystem_organs: \ghsystem_exposure: } -\prop_put:Nnn \l__ghsystem_h_prop { 372 } { ... \bool_if:NF \l__ghsystem_organs_bool { ... } \ghsystem_organs:\ ... \ghsystem_exposure: } -\prop_put:Nnn \l__ghsystem_h_prop { 373 } { ... \bool_if:NF \l__ghsystem_organs_bool { ... } \ghsystem_organs:\ ... \ghsystem_exposure: } +\prop_put:Nnn \l__ghsystem_h_prop { 370 } + { + ... \bool_if:NF \l__ghsystem_organs_bool { ... } \ghsystem_organs: + . \ghsystem_exposure: + } +\prop_put:Nnn \l__ghsystem_h_prop { 371 } + { + ... \bool_if:NF \l__ghsystem_organs_bool { ... } \ghsystem_organs: + \ghsystem_exposure: + } +\prop_put:Nnn \l__ghsystem_h_prop { 372 } + { + ... \bool_if:NF \l__ghsystem_organs_bool { ... } \ghsystem_organs:\ + ... \ghsystem_exposure: + } +\prop_put:Nnn \l__ghsystem_h_prop { 373 } + { + ... \bool_if:NF \l__ghsystem_organs_bool { ... } \ghsystem_organs:\ + ... \ghsystem_exposure: + } % 1.3 Environmental hazards \prop_put:Nnn \l__ghsystem_h_prop { 400 } { ... } @@ -236,7 +249,8 @@ \prop_put:Nnn \l__ghsystem_p_prop { 202 } { ... } \prop_put:Nnn \l__ghsystem_p_prop { 210 } { ... } \prop_put:Nnn \l__ghsystem_p_prop { 211 } { ... } -\prop_put:Nnn \l__ghsystem_p_prop { 220 } { ... / \l__ghsystem_dots_tl / ... } +\prop_put:Nnn \l__ghsystem_p_prop { 220 } + { ... \ghsystem_slash: \l__ghsystem_dots_tl \ghsystem_slash: ... } \prop_put:Nnn \l__ghsystem_p_prop { 221 } { ... \l__ghsystem_dots_tl } \prop_put:Nnn \l__ghsystem_p_prop { 222 } { ... } \prop_put:Nnn \l__ghsystem_p_prop { 223 } { ... } @@ -247,11 +261,13 @@ \prop_put:Nnn \l__ghsystem_p_prop { 234 } { ... } \prop_put:Nnn \l__ghsystem_p_prop { 235 } { ... } \prop_put:Nnn \l__ghsystem_p_prop { 240 } { ... } -\prop_put:Nnn \l__ghsystem_p_prop { 241 } { ... / \l__ghsystem_dots_tl\ ... } +\prop_put:Nnn \l__ghsystem_p_prop { 241 } + { ... \ghsystem_slash: \l__ghsystem_dots_tl\ ... } \prop_put:Nnn \l__ghsystem_p_prop { 242 } { ... } \prop_put:Nnn \l__ghsystem_p_prop { 243 } { ... } \prop_put:Nnn \l__ghsystem_p_prop { 244 } { ... } -\prop_put:Nnn \l__ghsystem_p_prop { 250 } { ... / \l__ghsystem_dots_tl / ... } +\prop_put:Nnn \l__ghsystem_p_prop { 250 } + { ... \ghsystem_slash: \l__ghsystem_dots_tl \ghsystem_slash: ... } \prop_put:Nnn \l__ghsystem_p_prop { 251 } { ... } \prop_put:Nnn \l__ghsystem_p_prop { 260 } { ... } \prop_put:Nnn \l__ghsystem_p_prop { 261 } { ... } @@ -354,20 +370,45 @@ \prop_put:Nnn \l__ghsystem_p_prop { 403 } { ... } \prop_put:Nnn \l__ghsystem_p_prop { 404 } { ... } \prop_put:Nnn \l__ghsystem_p_prop { 405 } { ... } -\prop_put:Nnn \l__ghsystem_p_prop { 406 } { ... / \l__ghsystem_dots_tl\ ... } +\prop_put:Nnn \l__ghsystem_p_prop { 406 } + { ... \ghsystem_slash: \l__ghsystem_dots_tl\ ... } \prop_put:Nnn \l__ghsystem_p_prop { 407 } { ... } \prop_put:Nnn \l__ghsystem_p_prop { 410 } { ... } -\prop_put:Nnn \l__ghsystem_p_prop { 411 } { ... ~ \exp_args:No \SI { \l__ghsystem_celsius_temperature_tl }{ \GHScelsius } / \exp_args:No \SI { \l__ghsystem_fahrenheit_temperature_tl } { \GHSfahrenheit } ~ ... } -\prop_put:Nnn \l__ghsystem_p_prop { 412 } { ... ~ \SI { 50 } { \GHScelsius } / \SI { 122 } { \GHSfahrenheit } ~ ... } -\prop_put:Nnn \l__ghsystem_p_prop { 413 } { ... ~ \exp_args:No \SI { \l__ghsystem_kg_mass_tl } { \GHSkilogram } ~ ... ~ \SI { \l__ghsystem_celsius_temperature_tl } { \GHScelsius } / \exp_args:No \SI { \l__ghsystem_fahrenheit_temperature_tl } { \GHSfahrenheit } ~ ... } +\prop_put:Nnn \l__ghsystem_p_prop { 411 } + { + ... ~ \exp_args:No \SI { \l__ghsystem_celsius_temperature_tl } + { \GHScelsius } \ghsystem_slash: \exp_args:No \SI + { \l__ghsystem_fahrenheit_temperature_tl } { \GHSfahrenheit } ~ ... + } +\prop_put:Nnn \l__ghsystem_p_prop { 412 } + { + ... ~ \SI { 50 } { \GHScelsius } \ghsystem_slash: \SI { 122 } { + \GHSfahrenheit } ~ ... + } +\prop_put:Nnn \l__ghsystem_p_prop { 413 } + { + ... ~ \exp_args:No \SI { \l__ghsystem_kg_mass_tl } { \GHSkilogram } ~ + ... ~ \SI { \l__ghsystem_celsius_temperature_tl } { \GHScelsius } + \ghsystem_slash: \exp_args:No \SI { \l__ghsystem_fahrenheit_temperature_tl + } { \GHSfahrenheit } ~ ... + } \prop_put:Nnn \l__ghsystem_p_prop { 420 } { ... } \prop_put:Nnn \l__ghsystem_p_prop { 422 } { ... ~ \l__ghsystem_dots_tl\ ... } \prop_put:Nnn \l__ghsystem_p_prop { 402 + 404 } { ... } \prop_put:Nnn \l__ghsystem_p_prop { 403 + 233 } { ... } \prop_put:Nnn \l__ghsystem_p_prop { 403 + 235 } { ... } \prop_put:Nnn \l__ghsystem_p_prop { 410 + 403 } { ... } -\prop_put:Nnn \l__ghsystem_p_prop { 410 + 412 } { ... ~ \SI { 50 } { \GHScelsius } / \SI { 122 } { \GHSfahrenheit } ~ ... } -\prop_put:Nnn \l__ghsystem_p_prop { 411 + 235 } { ... ~ \exp_args:No \SI { \l__ghsystem_celsius_temperature_tl }{ \GHScelsius } / \exp_args:No \SI { \l__ghsystem_fahrenheit_temperature_tl } { \GHSfahrenheit } ~ ... } +\prop_put:Nnn \l__ghsystem_p_prop { 410 + 412 } + { + ... ~ \SI { 50 } { \GHScelsius } \ghsystem_slash: \SI { 122 } { + \GHSfahrenheit } ~ ... + } +\prop_put:Nnn \l__ghsystem_p_prop { 411 + 235 } + { + ... ~ \exp_args:No \SI { \l__ghsystem_celsius_temperature_tl }{ + \GHScelsius } \ghsystem_slash: \exp_args:No \SI { + \l__ghsystem_fahrenheit_temperature_tl } { \GHSfahrenheit } ~ ... + } % 3.5 Precautionary Statements — Disposal \prop_put:Nnn \l__ghsystem_p_prop { 501 } { ... ~ \l__ghsystem_dots_tl\ ... } |