Skip to content

Commit

Permalink
minor corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
Sonja-K committed Jan 16, 2022
1 parent 7a2477d commit f543a99
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion code/chemmacros.sty
Original file line number Diff line number Diff line change
Expand Up @@ -6612,7 +6612,7 @@

% --------------------------------------------------------------------------
\ChemModuleEnd
\ChemModule{lang}{2022/01/16 translations for defined keys at one place}
\ChemModule{translations}{2022/01/16 translations for defined keys at one place}

% --------------------------------------------------------------------------
\chemmacros_declare_translations:nn {K-acid}
Expand Down
2 changes: 1 addition & 1 deletion code/chemmacros.translations.code.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
\ChemModule{lang}{2022/01/16 translations for defined keys at one place}
\ChemModule{translations}{2022/01/16 translations for defined keys at one place}

% --------------------------------------------------------------------------
\chemmacros_declare_translations:nn {K-acid}
Expand Down
Binary file modified doc/chemmacros-manual.pdf
Binary file not shown.
11 changes: 5 additions & 6 deletions doc/chemmacros-manual.tex
Original file line number Diff line number Diff line change
Expand Up @@ -2639,8 +2639,7 @@ \subsection{An Environment to Typeset Experimental Data}
\subsection{Customization}\label{sec:experimental-customization}

The output of the environment and of the NMR commands can be customized be a
number of options. For historical reasons they all belong to the module
\module{nmr}.
number of options.
\begin{options}
\keyval{unit}{unit}\Module{spectroscopy}\Default{\cs*{mega}\cs*{hertz}}
The used default unit.
Expand Down Expand Up @@ -3269,7 +3268,7 @@ \section{The \chemmodule*{errorcheck} Module}\label{sec:errorcheck-module}
support for giving users more meaningful messages when they use a command or
environment provided by a module that they haven't loaded.

\section{The \chemmodule*{lang} Module}\label{sec:lang-module}
\section{The \chemmodule*{lang} and \chemmodule*{translations} Modules}\label{sec:lang-module}

The \chemmodule{lang} module provides language support for \chemmacros. It
loads the package \pkg{translations}~\cite{pkg:translations}.
Expand Down Expand Up @@ -3297,9 +3296,9 @@ \subsection{Available Translation Keys}\label{sec:avail-transl-keys}

Table~\vref{tab:translation-keys} lists all predefined translations of the
available keys. \emph{Some of the translations have changed in
version~5.6\changedversion{5.6}.} The \chemmodule{lang} module doesn't
provide the translations themselves -- they are provided by the corresponding
modules. A translation key is a unique string\footnote{That is, a string
version~5.6\changedversion{5.6}.} All available translations are provided
by the \chemmodule{translations} module.
A translation key is a unique string\footnote{That is, a string
using the definition for strings used for expl3, i.e., converted to a series
of category code~12 characters..} of characters. Each key is used to
identify a replacement text which depends on the current language or the
Expand Down

0 comments on commit f543a99

Please sign in to comment.