From: Uwe Stöhr Date: Sat, 18 Nov 2017 17:20:10 +0000 (+0100) Subject: R-S-statements.lyx: move to attic/R-S-statements.lyx X-Git-Tag: 2.3.0rc2~253 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=0ff701698c7b419e5ee8f268603651b5956e3baa;p=features.git R-S-statements.lyx: move to attic/R-S-statements.lyx RS statements are deprecated since 2015. Their replacement are the HP statements for which LyX has an example file since LyX 2.2. --- diff --git a/lib/Makefile.am b/lib/Makefile.am index aa90e83eab..c9b463a260 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -180,7 +180,6 @@ dist_jaexamples_DATA = \ examples/ja/Braille.lyx \ examples/ja/FeynmanDiagrams.lyx \ examples/ja/MultilingualCaptions.lyx \ - examples/ja/R-S-statements.lyx \ examples/ja/beamer.lyx \ examples/ja/knitr.lyx \ examples/ja/lilypond.lyx \ @@ -351,7 +350,6 @@ dist_examples_DATA = \ examples/PDF-form.lyx \ examples/powerdot.lyx \ examples/recipebook.lyx \ - examples/R-S-statements.lyx \ examples/script_form.lyx \ examples/seminar.lyx \ examples/serial_letter1.lyx \ diff --git a/lib/doc/attic/R-S-statements.lyx b/lib/doc/attic/R-S-statements.lyx new file mode 100644 index 0000000000..0287ae575e --- /dev/null +++ b/lib/doc/attic/R-S-statements.lyx @@ -0,0 +1,576 @@ +#LyX 2.3 created this file. For more info see http://www.lyx.org/ +\lyxformat 544 +\begin_document +\begin_header +\save_transient_properties true +\origin /systemlyxdir/examples/ +\textclass scrartcl +\begin_preamble +% if pdflatex is used +\usepackage{ifpdf} +\ifpdf + +% set fonts for nicer pdf view +\IfFileExists{lmodern.sty} + {\usepackage{lmodern}}{} + +\fi % end if pdflatex is used +\end_preamble +\use_default_options true +\begin_modules +rsphrase +\end_modules +\maintain_unincluded_children false +\language english +\language_package default +\inputencoding auto +\fontencoding global +\font_roman "default" "default" +\font_sans "default" "default" +\font_typewriter "default" "default" +\font_math "auto" "auto" +\font_default_family default +\use_non_tex_fonts false +\font_sc false +\font_osf false +\font_sf_scale 100 100 +\font_tt_scale 100 100 +\use_microtype false +\use_dash_ligatures false +\graphics default +\default_output_format default +\output_sync 0 +\bibtex_command default +\index_command default +\paperfontsize default +\spacing single +\use_hyperref true +\pdf_title "Chemical Risk and Safety statements in LyX" +\pdf_author "Uwe Stöhr" +\pdf_bookmarks true +\pdf_bookmarksnumbered true +\pdf_bookmarksopen false +\pdf_bookmarksopenlevel 1 +\pdf_breaklinks false +\pdf_pdfborder false +\pdf_colorlinks true +\pdf_backref false +\pdf_pdfusetitle false +\pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false" +\papersize default +\use_geometry false +\use_package amsmath 1 +\use_package amssymb 1 +\use_package cancel 1 +\use_package esint 1 +\use_package mathdots 1 +\use_package mathtools 1 +\use_package mhchem 1 +\use_package stackrel 1 +\use_package stmaryrd 1 +\use_package undertilde 1 +\cite_engine basic +\cite_engine_type default +\biblio_style plain +\use_bibtopic false +\use_indices false +\paperorientation portrait +\suppress_date true +\justification true +\use_refstyle 1 +\use_minted 0 +\notefontcolor #ff0000 +\index Index +\shortcut idx +\color #008000 +\end_index +\secnumdepth 3 +\tocdepth 3 +\paragraph_separation skip +\defskip medskip +\is_math_indent 0 +\math_numbering_side default +\quotes_style english +\dynamic_quotes 0 +\papercolumns 1 +\papersides 1 +\paperpagestyle default +\tracking_changes false +\output_changes false +\html_math_output 0 +\html_css_as_file 0 +\html_be_strict false +\end_header + +\begin_body + +\begin_layout Standard +\begin_inset Note Greyedout +status open + +\begin_layout Plain Layout +IMPORTANT NOTE: Risk and Safety Statements are replaced in 2015 in the EU + by the Hazard and Precautionary statements. +\end_layout + +\begin_layout Plain Layout +See the LyX example file +\emph on +H-P-statements.lyx +\emph default + for Hazard and Precautionary statements. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Title +Chemical Risk and Safety statements in \SpecialChar LyX + +\end_layout + +\begin_layout Author +Uwe Stöhr +\end_layout + +\begin_layout Section +Introduction +\end_layout + +\begin_layout Standard +To be able to insert chemical Risk and Safety statements in \SpecialChar LyX +, you need to + load the module +\family sans +Risk +\begin_inset space ~ +\end_inset + +and +\begin_inset space ~ +\end_inset + +Safety +\begin_inset space ~ +\end_inset + +Statements +\family default + in the menu +\family sans +Document\SpecialChar menuseparator +Settings\SpecialChar menuseparator +Modules +\family default +. + The module provides 2 +\begin_inset space ~ +\end_inset + +insets and 1 +\begin_inset space ~ +\end_inset + +environment. + The insets are accessible via the menu +\family sans +Insert\SpecialChar menuseparator +Custom +\begin_inset space ~ +\end_inset + +Insets +\family default +. +\end_layout + +\begin_layout Section +Risk statements +\end_layout + +\begin_layout Standard +The inset +\family sans +R-S +\begin_inset space ~ +\end_inset + +number +\family default + is used to typeset the number, the inset +\family sans +R-S +\begin_inset space ~ +\end_inset + +phrase +\family default + will output the corresponding phrase. +\end_layout + +\begin_layout Standard +The risk statement +\begin_inset Flex R-S number +status open + +\begin_layout Plain Layout +R55 +\end_layout + +\end_inset + + has the phrase: +\begin_inset Flex R-S phrase +status open + +\begin_layout Plain Layout +R55 +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +This is +\begin_inset Flex R-S number +status collapsed + +\begin_layout Plain Layout +R23 +\end_layout + +\end_inset + +: +\begin_inset Flex R-S phrase +status open + +\begin_layout Plain Layout + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +As you can see, the phrase inset can be left empty. + In this case the previously used number is also used for the phrase. +\end_layout + +\begin_layout Standard +It is of course also possible to use combined statements like this: +\end_layout + +\begin_layout Standard +\begin_inset Flex R-S number +status collapsed + +\begin_layout Plain Layout +R36/38 +\end_layout + +\end_inset + + states: +\begin_inset Flex R-S phrase +status open + +\begin_layout Plain Layout + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Section +Safety statements +\end_layout + +\begin_layout Standard +They are inserted the same way as risk statements: +\end_layout + +\begin_layout Standard +The risk statement +\begin_inset Flex R-S number +status open + +\begin_layout Plain Layout +S35 +\end_layout + +\end_inset + + has the phrase: +\begin_inset Flex R-S phrase +status open + +\begin_layout Plain Layout + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + + +\end_layout + +\begin_layout Standard +Some safety statements require some text. + For these statements, you need to use the phrase environments from \SpecialChar LyX +'s environme +nt selection box instead of the inset. + The required text is specified as optional argument (inserted via the +\family sans +Insert +\family default + menu): +\end_layout + +\begin_layout Standard +If something must not be heated above 138 +\begin_inset space \thinspace{} +\end_inset + +°C use +\begin_inset Flex R-S number +status open + +\begin_layout Plain Layout +S47 +\end_layout + +\end_inset + + with the optional argument +\begin_inset Quotes eld +\end_inset + +138 +\begin_inset Quotes erd +\end_inset + +: +\end_layout + +\begin_layout Safety phrase +\begin_inset Argument 1 +status open + +\begin_layout Plain Layout +138 +\end_layout + +\end_inset + +S47 +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + + +\end_layout + +\begin_layout Standard +Special issues of a certain statements are fully supported. + For example for S +\begin_inset space \thinspace{} +\end_inset + +43 a further sentence must be added if water increases the risk. + Using the variant S +\begin_inset space \thinspace{} +\end_inset + +43.1 adds the sentence, S +\begin_inset space \thinspace{} +\end_inset + +43.0 disables the sentence. +\end_layout + +\begin_layout Standard +The statement +\begin_inset Flex R-S number +status open + +\begin_layout Plain Layout +S43 +\end_layout + +\end_inset + + for water is: +\end_layout + +\begin_layout Safety phrase +\begin_inset Argument 1 +status open + +\begin_layout Plain Layout +water +\end_layout + +\end_inset + +S43.0 +\end_layout + +\begin_layout Standard +The statement +\begin_inset Flex R-S number +status open + +\begin_layout Plain Layout +S43 +\end_layout + +\end_inset + + for sand is: +\end_layout + +\begin_layout Safety phrase +\begin_inset Argument 1 +status open + +\begin_layout Plain Layout +sand +\end_layout + +\end_inset + +S43.1 +\end_layout + +\begin_layout Section +Language issues +\end_layout + +\begin_layout Standard +The statements are output depending on the language. + Currently only the languages +\begin_inset Newline newline +\end_inset + +Danish, English, French, German, Italian and Spanish +\begin_inset Newline newline +\end_inset + +are supported. +\end_layout + +\begin_layout Standard +At +\begin_inset CommandInset href +LatexCommand href +name "this webpage" +target "http://schoolscout24.de/cgi-bin/keminaco/rspinput.cgi" +literal "false" + +\end_inset + + you find the official statements for all 23 +\begin_inset space ~ +\end_inset + +languages of the EU. +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + + +\end_layout + +\begin_layout Standard +Mixing languages is possible without problems: +\end_layout + +\begin_layout Standard + +\lang ngerman +Dies ist Sicherheitssatz +\begin_inset Flex R-S number +status collapsed + +\begin_layout Plain Layout + +\lang ngerman +S15 +\end_layout + +\end_inset + +: +\begin_inset Flex R-S phrase +status open + +\begin_layout Plain Layout + +\lang ngerman +S15 +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +This is safety statement +\begin_inset Flex R-S number +status collapsed + +\begin_layout Plain Layout +S15 +\end_layout + +\end_inset + +: +\begin_inset Flex R-S phrase +status open + +\begin_layout Plain Layout + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset Note Greyedout +status open + +\begin_layout Plain Layout +Note: If the phrase inset is not in the document language, it must not be + empty. +\end_layout + +\end_inset + + +\end_layout + +\end_body +\end_document diff --git a/lib/doc/attic/ja/R-S-statements.lyx b/lib/doc/attic/ja/R-S-statements.lyx new file mode 100644 index 0000000000..48d6285ddf --- /dev/null +++ b/lib/doc/attic/ja/R-S-statements.lyx @@ -0,0 +1,504 @@ +#LyX 2.3 created this file. For more info see http://www.lyx.org/ +\lyxformat 544 +\begin_document +\begin_header +\save_transient_properties true +\origin /systemlyxdir/examples/ja/ +\textclass scrartcl +\begin_preamble +% if pdflatex is used +\usepackage{ifpdf} +\ifpdf + +% set fonts for nicer pdf view +\IfFileExists{lmodern.sty} + {\usepackage{lmodern}}{} + +\fi % end if pdflatex is used +\end_preamble +\use_default_options true +\begin_modules +rsphrase +\end_modules +\maintain_unincluded_children false +\language japanese +\language_package default +\inputencoding auto +\fontencoding global +\font_roman "default" "default" +\font_sans "default" "default" +\font_typewriter "default" "default" +\font_math "auto" "auto" +\font_default_family default +\use_non_tex_fonts false +\font_sc false +\font_osf false +\font_sf_scale 100 100 +\font_tt_scale 100 100 +\use_microtype false +\use_dash_ligatures false +\graphics default +\default_output_format default +\output_sync 0 +\bibtex_command default +\index_command default +\paperfontsize default +\spacing single +\use_hyperref true +\pdf_title "Chemical Risk and Safety statements in LyX" +\pdf_author "Uwe Stohr" +\pdf_bookmarks true +\pdf_bookmarksnumbered true +\pdf_bookmarksopen false +\pdf_bookmarksopenlevel 1 +\pdf_breaklinks false +\pdf_pdfborder false +\pdf_colorlinks false +\pdf_backref false +\pdf_pdfusetitle false +\pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false" +\papersize default +\use_geometry false +\use_package amsmath 1 +\use_package amssymb 1 +\use_package cancel 1 +\use_package esint 1 +\use_package mathdots 1 +\use_package mathtools 1 +\use_package mhchem 1 +\use_package stackrel 1 +\use_package stmaryrd 1 +\use_package undertilde 1 +\cite_engine basic +\cite_engine_type default +\biblio_style plain +\use_bibtopic false +\use_indices false +\paperorientation portrait +\suppress_date true +\justification true +\use_refstyle 1 +\use_minted 0 +\notefontcolor #0000ff +\index Index +\shortcut idx +\color #008000 +\end_index +\secnumdepth 3 +\tocdepth 3 +\paragraph_separation skip +\defskip smallskip +\is_math_indent 0 +\math_numbering_side default +\quotes_style english +\dynamic_quotes 0 +\papercolumns 1 +\papersides 1 +\paperpagestyle default +\tracking_changes false +\output_changes false +\html_math_output 0 +\html_css_as_file 0 +\html_be_strict false +\end_header + +\begin_body + +\begin_layout Title +\SpecialChar LyX +での『化学リスクと安全性に関する表示』 +\end_layout + +\begin_layout Author +Uwe Stöhr +\end_layout + +\begin_layout Section +はじめに +\end_layout + +\begin_layout Standard +\SpecialChar LyX +に、化学リスクと安全性に関する表示( +\lang english +Chemical Risk and Safety Statements +\lang japanese +)を挿入できるようにするには、 +\family sans +文書\SpecialChar menuseparator +設定\SpecialChar menuseparator +モジュール +\family default +メニューから +\family sans +リスクと安全性に関する表示 +\family default +モジュールを読み込ませる必要があります。このモジュールは、2つの差込枠と1つの環境を提供します。差込枠は、 +\family sans +挿入\SpecialChar menuseparator +任意設定差込枠 +\family default +メニューで入れることができます。 +\end_layout + +\begin_layout Section +リスクに関する表示 +\end_layout + +\begin_layout Standard +差込枠 +\family sans +R-S番号 +\family default +は、番号を組むのに用いられ、差込枠 +\family sans +R-S説明文 +\family default +は、対応する説明文を出力します。 +\end_layout + +\begin_layout Standard +リスクに関する表示 +\begin_inset Flex R-S number +status open + +\begin_layout Plain Layout +R55 +\end_layout + +\end_inset + +の説明文は: +\begin_inset Flex R-S phrase +status open + +\begin_layout Plain Layout +R55 +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +これは +\begin_inset Flex R-S number +status collapsed + +\begin_layout Plain Layout +R23 +\end_layout + +\end_inset + +です: +\begin_inset Flex R-S phrase +status open + +\begin_layout Plain Layout + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +ご覧のように、説明文差込枠は、空のままでも構いません。この場合は、直前に用いられた番号が、この説明文にも用いられます。 +\end_layout + +\begin_layout Standard +もちろん、下記のように複数の表示をつなげても構いません。: +\end_layout + +\begin_layout Standard +\begin_inset Flex R-S number +status collapsed + +\begin_layout Plain Layout +R36/38 +\end_layout + +\end_inset + +の表示は: +\begin_inset Flex R-S phrase +status open + +\begin_layout Plain Layout + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Section +安全性に関する表示 +\end_layout + +\begin_layout Standard +安全性に関する表示は、下記のように、リスクに関する表示と同じように挿入できます。 +\end_layout + +\begin_layout Standard +安全性に関する表示 +\begin_inset Flex R-S number +status open + +\begin_layout Plain Layout +S35 +\end_layout + +\end_inset + +の説明文は: +\begin_inset Flex R-S phrase +status open + +\begin_layout Plain Layout + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + + +\end_layout + +\begin_layout Standard +安全性に関する表示の一部には、文字列を必要とするものがあります。これらの表示については、差込枠ではなく、\SpecialChar LyX +の環境選択ボックスから説明文環境を選んで使う必要がありま +す。必要とされる文字列は、非必須引数として指定します( +\family sans +挿入\SpecialChar menuseparator +短縮タイトル +\family default +メニューで挿入)。 +\end_layout + +\begin_layout Standard +もし何かを138 +\begin_inset space \thinspace{} +\end_inset + +°C以上に熱してはならない場合、下記のように、 +\begin_inset Flex R-S number +status open + +\begin_layout Plain Layout +S47 +\end_layout + +\end_inset + +に非必須引数「138」を与えて使用してください: +\end_layout + +\begin_layout Safety phrase +\begin_inset Argument 1 +status open + +\begin_layout Plain Layout +138 +\end_layout + +\end_inset + +S47 +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + + +\end_layout + +\begin_layout Standard +特別な用法のある表示についても、完全にサポートされています。例えば、S +\begin_inset space \thinspace{} +\end_inset + +43については、水がリスクを増大させる場合、さらに文章を追記しなくてはなりません。派生番号S +\begin_inset space \thinspace{} +\end_inset + +43.1はこの文章を追記し、S +\begin_inset space \thinspace{} +\end_inset + +43.0はこの文章を表示させません。 +\end_layout + +\begin_layout Standard +水を用いる表示 +\begin_inset Flex R-S number +status open + +\begin_layout Plain Layout +S43 +\end_layout + +\end_inset + +は: +\end_layout + +\begin_layout Safety phrase +\begin_inset Argument 1 +status open + +\begin_layout Plain Layout +water +\end_layout + +\end_inset + +S43.0 +\end_layout + +\begin_layout Standard +砂を用いる表示 +\begin_inset Flex R-S number +status open + +\begin_layout Plain Layout +S43 +\end_layout + +\end_inset + +は: +\end_layout + +\begin_layout Safety phrase +\begin_inset Argument 1 +status open + +\begin_layout Plain Layout +sand +\end_layout + +\end_inset + +S43.1 +\end_layout + +\begin_layout Section +言語関連 +\end_layout + +\begin_layout Standard +表示は、言語によって出力が変わります。現在、サポートされている言語は、 +\begin_inset Newline newline +\end_inset + +イタリア語・英語・スペイン語・デンマーク語・ドイツ語・フランス語 +\begin_inset Newline newline +\end_inset + +です。 +\end_layout + +\begin_layout Standard +\begin_inset CommandInset href +LatexCommand href +name "このウェブページ" +target "http://schoolscout24.de/cgi-bin/rsp/rspinput.cgi" +literal "false" + +\end_inset + +には、EU全23言語の公的な表示があります。 +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + + +\end_layout + +\begin_layout Standard +言語は、以下のように、問題なく混ぜることができます。 +\end_layout + +\begin_layout Standard +(ドイツ語) +\lang ngerman +Dies Sicherheitssatz +\begin_inset Flex R-S number +status collapsed + +\begin_layout Plain Layout + +\lang ngerman +S15 +\end_layout + +\end_inset + +: +\begin_inset Flex R-S phrase +status open + +\begin_layout Plain Layout + +\lang ngerman +S15 +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +(英語) This is safety statement +\begin_inset Flex R-S number +status collapsed + +\begin_layout Plain Layout +S15 +\end_layout + +\end_inset + +: +\begin_inset Flex R-S phrase +status open + +\begin_layout Plain Layout + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset Note Greyedout +status open + +\begin_layout Plain Layout +【註】説明文差込枠が文書言語ではない場合、差込枠は空にしておかなくてはなりません。 +\end_layout + +\end_inset + + +\end_layout + +\end_body +\end_document diff --git a/lib/examples/R-S-statements.lyx b/lib/examples/R-S-statements.lyx deleted file mode 100644 index 0287ae575e..0000000000 --- a/lib/examples/R-S-statements.lyx +++ /dev/null @@ -1,576 +0,0 @@ -#LyX 2.3 created this file. For more info see http://www.lyx.org/ -\lyxformat 544 -\begin_document -\begin_header -\save_transient_properties true -\origin /systemlyxdir/examples/ -\textclass scrartcl -\begin_preamble -% if pdflatex is used -\usepackage{ifpdf} -\ifpdf - -% set fonts for nicer pdf view -\IfFileExists{lmodern.sty} - {\usepackage{lmodern}}{} - -\fi % end if pdflatex is used -\end_preamble -\use_default_options true -\begin_modules -rsphrase -\end_modules -\maintain_unincluded_children false -\language english -\language_package default -\inputencoding auto -\fontencoding global -\font_roman "default" "default" -\font_sans "default" "default" -\font_typewriter "default" "default" -\font_math "auto" "auto" -\font_default_family default -\use_non_tex_fonts false -\font_sc false -\font_osf false -\font_sf_scale 100 100 -\font_tt_scale 100 100 -\use_microtype false -\use_dash_ligatures false -\graphics default -\default_output_format default -\output_sync 0 -\bibtex_command default -\index_command default -\paperfontsize default -\spacing single -\use_hyperref true -\pdf_title "Chemical Risk and Safety statements in LyX" -\pdf_author "Uwe Stöhr" -\pdf_bookmarks true -\pdf_bookmarksnumbered true -\pdf_bookmarksopen false -\pdf_bookmarksopenlevel 1 -\pdf_breaklinks false -\pdf_pdfborder false -\pdf_colorlinks true -\pdf_backref false -\pdf_pdfusetitle false -\pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false" -\papersize default -\use_geometry false -\use_package amsmath 1 -\use_package amssymb 1 -\use_package cancel 1 -\use_package esint 1 -\use_package mathdots 1 -\use_package mathtools 1 -\use_package mhchem 1 -\use_package stackrel 1 -\use_package stmaryrd 1 -\use_package undertilde 1 -\cite_engine basic -\cite_engine_type default -\biblio_style plain -\use_bibtopic false -\use_indices false -\paperorientation portrait -\suppress_date true -\justification true -\use_refstyle 1 -\use_minted 0 -\notefontcolor #ff0000 -\index Index -\shortcut idx -\color #008000 -\end_index -\secnumdepth 3 -\tocdepth 3 -\paragraph_separation skip -\defskip medskip -\is_math_indent 0 -\math_numbering_side default -\quotes_style english -\dynamic_quotes 0 -\papercolumns 1 -\papersides 1 -\paperpagestyle default -\tracking_changes false -\output_changes false -\html_math_output 0 -\html_css_as_file 0 -\html_be_strict false -\end_header - -\begin_body - -\begin_layout Standard -\begin_inset Note Greyedout -status open - -\begin_layout Plain Layout -IMPORTANT NOTE: Risk and Safety Statements are replaced in 2015 in the EU - by the Hazard and Precautionary statements. -\end_layout - -\begin_layout Plain Layout -See the LyX example file -\emph on -H-P-statements.lyx -\emph default - for Hazard and Precautionary statements. -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Title -Chemical Risk and Safety statements in \SpecialChar LyX - -\end_layout - -\begin_layout Author -Uwe Stöhr -\end_layout - -\begin_layout Section -Introduction -\end_layout - -\begin_layout Standard -To be able to insert chemical Risk and Safety statements in \SpecialChar LyX -, you need to - load the module -\family sans -Risk -\begin_inset space ~ -\end_inset - -and -\begin_inset space ~ -\end_inset - -Safety -\begin_inset space ~ -\end_inset - -Statements -\family default - in the menu -\family sans -Document\SpecialChar menuseparator -Settings\SpecialChar menuseparator -Modules -\family default -. - The module provides 2 -\begin_inset space ~ -\end_inset - -insets and 1 -\begin_inset space ~ -\end_inset - -environment. - The insets are accessible via the menu -\family sans -Insert\SpecialChar menuseparator -Custom -\begin_inset space ~ -\end_inset - -Insets -\family default -. -\end_layout - -\begin_layout Section -Risk statements -\end_layout - -\begin_layout Standard -The inset -\family sans -R-S -\begin_inset space ~ -\end_inset - -number -\family default - is used to typeset the number, the inset -\family sans -R-S -\begin_inset space ~ -\end_inset - -phrase -\family default - will output the corresponding phrase. -\end_layout - -\begin_layout Standard -The risk statement -\begin_inset Flex R-S number -status open - -\begin_layout Plain Layout -R55 -\end_layout - -\end_inset - - has the phrase: -\begin_inset Flex R-S phrase -status open - -\begin_layout Plain Layout -R55 -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -This is -\begin_inset Flex R-S number -status collapsed - -\begin_layout Plain Layout -R23 -\end_layout - -\end_inset - -: -\begin_inset Flex R-S phrase -status open - -\begin_layout Plain Layout - -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -As you can see, the phrase inset can be left empty. - In this case the previously used number is also used for the phrase. -\end_layout - -\begin_layout Standard -It is of course also possible to use combined statements like this: -\end_layout - -\begin_layout Standard -\begin_inset Flex R-S number -status collapsed - -\begin_layout Plain Layout -R36/38 -\end_layout - -\end_inset - - states: -\begin_inset Flex R-S phrase -status open - -\begin_layout Plain Layout - -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Section -Safety statements -\end_layout - -\begin_layout Standard -They are inserted the same way as risk statements: -\end_layout - -\begin_layout Standard -The risk statement -\begin_inset Flex R-S number -status open - -\begin_layout Plain Layout -S35 -\end_layout - -\end_inset - - has the phrase: -\begin_inset Flex R-S phrase -status open - -\begin_layout Plain Layout - -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset VSpace bigskip -\end_inset - - -\end_layout - -\begin_layout Standard -Some safety statements require some text. - For these statements, you need to use the phrase environments from \SpecialChar LyX -'s environme -nt selection box instead of the inset. - The required text is specified as optional argument (inserted via the -\family sans -Insert -\family default - menu): -\end_layout - -\begin_layout Standard -If something must not be heated above 138 -\begin_inset space \thinspace{} -\end_inset - -°C use -\begin_inset Flex R-S number -status open - -\begin_layout Plain Layout -S47 -\end_layout - -\end_inset - - with the optional argument -\begin_inset Quotes eld -\end_inset - -138 -\begin_inset Quotes erd -\end_inset - -: -\end_layout - -\begin_layout Safety phrase -\begin_inset Argument 1 -status open - -\begin_layout Plain Layout -138 -\end_layout - -\end_inset - -S47 -\end_layout - -\begin_layout Standard -\begin_inset VSpace bigskip -\end_inset - - -\end_layout - -\begin_layout Standard -Special issues of a certain statements are fully supported. - For example for S -\begin_inset space \thinspace{} -\end_inset - -43 a further sentence must be added if water increases the risk. - Using the variant S -\begin_inset space \thinspace{} -\end_inset - -43.1 adds the sentence, S -\begin_inset space \thinspace{} -\end_inset - -43.0 disables the sentence. -\end_layout - -\begin_layout Standard -The statement -\begin_inset Flex R-S number -status open - -\begin_layout Plain Layout -S43 -\end_layout - -\end_inset - - for water is: -\end_layout - -\begin_layout Safety phrase -\begin_inset Argument 1 -status open - -\begin_layout Plain Layout -water -\end_layout - -\end_inset - -S43.0 -\end_layout - -\begin_layout Standard -The statement -\begin_inset Flex R-S number -status open - -\begin_layout Plain Layout -S43 -\end_layout - -\end_inset - - for sand is: -\end_layout - -\begin_layout Safety phrase -\begin_inset Argument 1 -status open - -\begin_layout Plain Layout -sand -\end_layout - -\end_inset - -S43.1 -\end_layout - -\begin_layout Section -Language issues -\end_layout - -\begin_layout Standard -The statements are output depending on the language. - Currently only the languages -\begin_inset Newline newline -\end_inset - -Danish, English, French, German, Italian and Spanish -\begin_inset Newline newline -\end_inset - -are supported. -\end_layout - -\begin_layout Standard -At -\begin_inset CommandInset href -LatexCommand href -name "this webpage" -target "http://schoolscout24.de/cgi-bin/keminaco/rspinput.cgi" -literal "false" - -\end_inset - - you find the official statements for all 23 -\begin_inset space ~ -\end_inset - -languages of the EU. -\end_layout - -\begin_layout Standard -\begin_inset VSpace bigskip -\end_inset - - -\end_layout - -\begin_layout Standard -Mixing languages is possible without problems: -\end_layout - -\begin_layout Standard - -\lang ngerman -Dies ist Sicherheitssatz -\begin_inset Flex R-S number -status collapsed - -\begin_layout Plain Layout - -\lang ngerman -S15 -\end_layout - -\end_inset - -: -\begin_inset Flex R-S phrase -status open - -\begin_layout Plain Layout - -\lang ngerman -S15 -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -This is safety statement -\begin_inset Flex R-S number -status collapsed - -\begin_layout Plain Layout -S15 -\end_layout - -\end_inset - -: -\begin_inset Flex R-S phrase -status open - -\begin_layout Plain Layout - -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset Note Greyedout -status open - -\begin_layout Plain Layout -Note: If the phrase inset is not in the document language, it must not be - empty. -\end_layout - -\end_inset - - -\end_layout - -\end_body -\end_document diff --git a/lib/examples/ja/R-S-statements.lyx b/lib/examples/ja/R-S-statements.lyx deleted file mode 100644 index 48d6285ddf..0000000000 --- a/lib/examples/ja/R-S-statements.lyx +++ /dev/null @@ -1,504 +0,0 @@ -#LyX 2.3 created this file. For more info see http://www.lyx.org/ -\lyxformat 544 -\begin_document -\begin_header -\save_transient_properties true -\origin /systemlyxdir/examples/ja/ -\textclass scrartcl -\begin_preamble -% if pdflatex is used -\usepackage{ifpdf} -\ifpdf - -% set fonts for nicer pdf view -\IfFileExists{lmodern.sty} - {\usepackage{lmodern}}{} - -\fi % end if pdflatex is used -\end_preamble -\use_default_options true -\begin_modules -rsphrase -\end_modules -\maintain_unincluded_children false -\language japanese -\language_package default -\inputencoding auto -\fontencoding global -\font_roman "default" "default" -\font_sans "default" "default" -\font_typewriter "default" "default" -\font_math "auto" "auto" -\font_default_family default -\use_non_tex_fonts false -\font_sc false -\font_osf false -\font_sf_scale 100 100 -\font_tt_scale 100 100 -\use_microtype false -\use_dash_ligatures false -\graphics default -\default_output_format default -\output_sync 0 -\bibtex_command default -\index_command default -\paperfontsize default -\spacing single -\use_hyperref true -\pdf_title "Chemical Risk and Safety statements in LyX" -\pdf_author "Uwe Stohr" -\pdf_bookmarks true -\pdf_bookmarksnumbered true -\pdf_bookmarksopen false -\pdf_bookmarksopenlevel 1 -\pdf_breaklinks false -\pdf_pdfborder false -\pdf_colorlinks false -\pdf_backref false -\pdf_pdfusetitle false -\pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false" -\papersize default -\use_geometry false -\use_package amsmath 1 -\use_package amssymb 1 -\use_package cancel 1 -\use_package esint 1 -\use_package mathdots 1 -\use_package mathtools 1 -\use_package mhchem 1 -\use_package stackrel 1 -\use_package stmaryrd 1 -\use_package undertilde 1 -\cite_engine basic -\cite_engine_type default -\biblio_style plain -\use_bibtopic false -\use_indices false -\paperorientation portrait -\suppress_date true -\justification true -\use_refstyle 1 -\use_minted 0 -\notefontcolor #0000ff -\index Index -\shortcut idx -\color #008000 -\end_index -\secnumdepth 3 -\tocdepth 3 -\paragraph_separation skip -\defskip smallskip -\is_math_indent 0 -\math_numbering_side default -\quotes_style english -\dynamic_quotes 0 -\papercolumns 1 -\papersides 1 -\paperpagestyle default -\tracking_changes false -\output_changes false -\html_math_output 0 -\html_css_as_file 0 -\html_be_strict false -\end_header - -\begin_body - -\begin_layout Title -\SpecialChar LyX -での『化学リスクと安全性に関する表示』 -\end_layout - -\begin_layout Author -Uwe Stöhr -\end_layout - -\begin_layout Section -はじめに -\end_layout - -\begin_layout Standard -\SpecialChar LyX -に、化学リスクと安全性に関する表示( -\lang english -Chemical Risk and Safety Statements -\lang japanese -)を挿入できるようにするには、 -\family sans -文書\SpecialChar menuseparator -設定\SpecialChar menuseparator -モジュール -\family default -メニューから -\family sans -リスクと安全性に関する表示 -\family default -モジュールを読み込ませる必要があります。このモジュールは、2つの差込枠と1つの環境を提供します。差込枠は、 -\family sans -挿入\SpecialChar menuseparator -任意設定差込枠 -\family default -メニューで入れることができます。 -\end_layout - -\begin_layout Section -リスクに関する表示 -\end_layout - -\begin_layout Standard -差込枠 -\family sans -R-S番号 -\family default -は、番号を組むのに用いられ、差込枠 -\family sans -R-S説明文 -\family default -は、対応する説明文を出力します。 -\end_layout - -\begin_layout Standard -リスクに関する表示 -\begin_inset Flex R-S number -status open - -\begin_layout Plain Layout -R55 -\end_layout - -\end_inset - -の説明文は: -\begin_inset Flex R-S phrase -status open - -\begin_layout Plain Layout -R55 -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -これは -\begin_inset Flex R-S number -status collapsed - -\begin_layout Plain Layout -R23 -\end_layout - -\end_inset - -です: -\begin_inset Flex R-S phrase -status open - -\begin_layout Plain Layout - -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -ご覧のように、説明文差込枠は、空のままでも構いません。この場合は、直前に用いられた番号が、この説明文にも用いられます。 -\end_layout - -\begin_layout Standard -もちろん、下記のように複数の表示をつなげても構いません。: -\end_layout - -\begin_layout Standard -\begin_inset Flex R-S number -status collapsed - -\begin_layout Plain Layout -R36/38 -\end_layout - -\end_inset - -の表示は: -\begin_inset Flex R-S phrase -status open - -\begin_layout Plain Layout - -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Section -安全性に関する表示 -\end_layout - -\begin_layout Standard -安全性に関する表示は、下記のように、リスクに関する表示と同じように挿入できます。 -\end_layout - -\begin_layout Standard -安全性に関する表示 -\begin_inset Flex R-S number -status open - -\begin_layout Plain Layout -S35 -\end_layout - -\end_inset - -の説明文は: -\begin_inset Flex R-S phrase -status open - -\begin_layout Plain Layout - -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset VSpace bigskip -\end_inset - - -\end_layout - -\begin_layout Standard -安全性に関する表示の一部には、文字列を必要とするものがあります。これらの表示については、差込枠ではなく、\SpecialChar LyX -の環境選択ボックスから説明文環境を選んで使う必要がありま -す。必要とされる文字列は、非必須引数として指定します( -\family sans -挿入\SpecialChar menuseparator -短縮タイトル -\family default -メニューで挿入)。 -\end_layout - -\begin_layout Standard -もし何かを138 -\begin_inset space \thinspace{} -\end_inset - -°C以上に熱してはならない場合、下記のように、 -\begin_inset Flex R-S number -status open - -\begin_layout Plain Layout -S47 -\end_layout - -\end_inset - -に非必須引数「138」を与えて使用してください: -\end_layout - -\begin_layout Safety phrase -\begin_inset Argument 1 -status open - -\begin_layout Plain Layout -138 -\end_layout - -\end_inset - -S47 -\end_layout - -\begin_layout Standard -\begin_inset VSpace bigskip -\end_inset - - -\end_layout - -\begin_layout Standard -特別な用法のある表示についても、完全にサポートされています。例えば、S -\begin_inset space \thinspace{} -\end_inset - -43については、水がリスクを増大させる場合、さらに文章を追記しなくてはなりません。派生番号S -\begin_inset space \thinspace{} -\end_inset - -43.1はこの文章を追記し、S -\begin_inset space \thinspace{} -\end_inset - -43.0はこの文章を表示させません。 -\end_layout - -\begin_layout Standard -水を用いる表示 -\begin_inset Flex R-S number -status open - -\begin_layout Plain Layout -S43 -\end_layout - -\end_inset - -は: -\end_layout - -\begin_layout Safety phrase -\begin_inset Argument 1 -status open - -\begin_layout Plain Layout -water -\end_layout - -\end_inset - -S43.0 -\end_layout - -\begin_layout Standard -砂を用いる表示 -\begin_inset Flex R-S number -status open - -\begin_layout Plain Layout -S43 -\end_layout - -\end_inset - -は: -\end_layout - -\begin_layout Safety phrase -\begin_inset Argument 1 -status open - -\begin_layout Plain Layout -sand -\end_layout - -\end_inset - -S43.1 -\end_layout - -\begin_layout Section -言語関連 -\end_layout - -\begin_layout Standard -表示は、言語によって出力が変わります。現在、サポートされている言語は、 -\begin_inset Newline newline -\end_inset - -イタリア語・英語・スペイン語・デンマーク語・ドイツ語・フランス語 -\begin_inset Newline newline -\end_inset - -です。 -\end_layout - -\begin_layout Standard -\begin_inset CommandInset href -LatexCommand href -name "このウェブページ" -target "http://schoolscout24.de/cgi-bin/rsp/rspinput.cgi" -literal "false" - -\end_inset - -には、EU全23言語の公的な表示があります。 -\end_layout - -\begin_layout Standard -\begin_inset VSpace bigskip -\end_inset - - -\end_layout - -\begin_layout Standard -言語は、以下のように、問題なく混ぜることができます。 -\end_layout - -\begin_layout Standard -(ドイツ語) -\lang ngerman -Dies Sicherheitssatz -\begin_inset Flex R-S number -status collapsed - -\begin_layout Plain Layout - -\lang ngerman -S15 -\end_layout - -\end_inset - -: -\begin_inset Flex R-S phrase -status open - -\begin_layout Plain Layout - -\lang ngerman -S15 -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -(英語) This is safety statement -\begin_inset Flex R-S number -status collapsed - -\begin_layout Plain Layout -S15 -\end_layout - -\end_inset - -: -\begin_inset Flex R-S phrase -status open - -\begin_layout Plain Layout - -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset Note Greyedout -status open - -\begin_layout Plain Layout -【註】説明文差込枠が文書言語ではない場合、差込枠は空にしておかなくてはなりません。 -\end_layout - -\end_inset - - -\end_layout - -\end_body -\end_document