Coder Social home page Coder Social logo

ghsystem's People

Contributors

cgnieder avatar dignative avatar josephwright avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ghsystem's Issues

The data on H and P statements seems to be incomplete/not up-to-date

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!

ghsystem_french.def

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

Adjust code to chemmacros v6

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.

Better Support for Sublanguages

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).

ghsystem_french: \tl_to_lowercase deprecated

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.

ghsystem_langtemplate.def

line 78 added

\tl_set:Nn \l_ghsystem_table_next_page_tl { ... }
Thanks and regards

Frédéric Bréal

Errors in french version

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.

Incompatibility between ghsystem 4.8c and chemmacros 6.1

\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\

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.