cgnieder / ghsystem Goto Github PK
View Code? Open in Web Editor NEWglobally harmonised system
globally harmonised system
Hi there,
I wrote a Python script that takes user input from an Excel file, then assembles a .tex file for compilation, which will then produce a label for a chemicals container. User-input is stuff like name, H/P statements, dangerous good info, pictograms, etc.
Usually, a user will copy H/P statements from a safety data sheet. Sure, there are H/P statements that have been revoked (e.g. P281, P235+P410, ...) and I would not expect ghsystem
to support those. Maybe, only in some kind of compatibility mode. However, I think that the ghsystem
-supported H/P statements do not reflect the current CLP regulation. The combined H statements are missing (e.g. 301+311+331), but there are also individual statements missing (e.g. H420). There might have also been some changes regarding the text of individual statements. Is there a chance to get an update? Can I/we support you?
With regard to my initial idea, I will often run into compilation errors due to missing statements, even though the statements taken from the manufacturer's SDB are valid.
Thanks & Best Regards!
Line 37 added
\tl_set:Nn \l_ghsystem_table_next_page_tl { suite~ sur~ la~ prochaine~ page }
Thanks and regards
Frédéric Bréal
In combination with chemmacros v6.0, this MWE
\documentclass{article}
\usepackage{ghsystem}
\begin{document}
\end{document}
results in
! Undefined control sequence.
l.669 \chemmacros_load_module:n
{nomenclature}
Deleting line 669 in ghsystem.sty
: \chemmacros_load_module:n {nomenclature}
should fix that.
When using ghsystem
with documentclass
/babel
option UKenglish
an error is obtained, stating that ghsystem_british.def
is missing.
\documentclass[UKenglish]{report}
\usepackage{listings}
\usepackage{babel}
\usepackage{ghsystem}
\begin{document}
ERROR: File ghsystem\_british.def not found. \textbackslash\{document\}
\end{document}
Currently the only way to get it working is to use [UKenglish,english]
, however this is disencouraged by babel
.
The same applies by the way for (n)austrian
and (n)german
.
Another curiosity:
When using ukenglish
, which is still accepted by babel (no error), the language name is not redirected to ghsystem
. The yielded errer ist then ghsystem\_.def
.
As an own def
file might be unnecessary, it might be the best to redirect british
to english
(if this is possible).
I got the following error message:
(/usr/local/texlive/2019/texmf-dist/tex/latex/ghsystem/language/ghsystem_french
.def
! LaTeX3 Error: '\tl_to_lowercase:n' deprecated on 2018-03-05. Use
(LaTeX3) '\tex_lowercase:D '.
The change to \tex_\lowercase:D fixes the error indeed.
Hi,
first of all I want to thank you for the hard work you did put into this package. And to further improve it, I just wanted to let you know that mhchem
was released recently with a new version due to the updated EU regulation and its updated h and p statements (see https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX%3A02008R1272-20211001 ). Could you also incorporate this updated EU regulation in your ghsystem
package?
Thank you very much.
line 78 added
\tl_set:Nn \l_ghsystem_table_next_page_tl { ... }
Thanks and regards
Frédéric Bréal
EPS and PDF files in the pictures
folder are not vectors, even though they can be found online.
Could this be modified?
Thanks!
When using the french language, calling this precautionary statement:
\ghs{P}{305+351+338}
I get this error:
Undefined control sequence.
\c_ghsystem_french_colon_tl ->:
l.6 \ghs{P}{305+351+338}
No errors in English nor German.
Version 4.8b 2020/01/16.
\documentclass{article}
\usepackage{ghsystem}
\begin{document}
\end{document}
with chemmacros 6.1 installed will result in:
! Undefined control sequence.
l.744 \chemmacros_load_module:n
{nomenclature}
Commenting out the line \chemmacros_load_module:n {nomenclature}
in ghsystem.sty will fix the problem.
Memo for me: File location is %USERPROFILE%\AppData\Local\Programs\MiKTeX\tex\latex\ghsystem\
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.