diff options
author | Norbert Preining <norbert@preining.info> | 2020-11-23 03:01:13 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-11-23 03:01:13 +0000 |
commit | f0be59ccfa7046c57199fe35c49e1e8963fcb1a9 (patch) | |
tree | 76acc32660433b9e6bb1921e5fd180463f57d160 /macros/latex | |
parent | 77b930de8c27e0e88d6861bf623015271146a1d5 (diff) |
CTAN sync 202011230301
Diffstat (limited to 'macros/latex')
42 files changed, 649 insertions, 534 deletions
diff --git a/macros/latex/contrib/acro/README b/macros/latex/contrib/acro/README index abe9d6dbce..3e20b3aa53 100644 --- a/macros/latex/contrib/acro/README +++ b/macros/latex/contrib/acro/README @@ -1,5 +1,5 @@ -------------------------------------------------------------------------- -the ACRO package v3.2a 2020/11/08 +the ACRO package v3.3 2020/11/21 Typeset Acronyms diff --git a/macros/latex/contrib/acro/acro-manual.pdf b/macros/latex/contrib/acro/acro-manual.pdf Binary files differindex 63d5b8d77e..1e92609269 100644 --- a/macros/latex/contrib/acro/acro-manual.pdf +++ b/macros/latex/contrib/acro/acro-manual.pdf diff --git a/macros/latex/contrib/acro/acro-manual.tex b/macros/latex/contrib/acro/acro-manual.tex index 49ea2727da..357d3b2d94 100644 --- a/macros/latex/contrib/acro/acro-manual.tex +++ b/macros/latex/contrib/acro/acro-manual.tex @@ -18,7 +18,7 @@ % and version 1.3c or later is part of all distributions of LaTeX % version 2008/05/04 or later. % -% This work has nce status `maintained'. +% This work has the LPPL maintenance status `maintained'. % % The Current Maintainer of this work is Clemens Niederberger. % -------------------------------------------------------------------------- @@ -499,9 +499,9 @@ the same. In that case you can use \propval{foreign-format}{code}\Default The format used for the foreign form of the acronym. %% single-format - \propval{single-format}{code}\Default={long-format} - The format used for the acronym if the acronym is only used a single - time. + % \propval{single-format}{code}\Default={long-format} + % The format used for the acronym if the acronym is only used a single + % time. %% list-format \propval{list-format}{code}\Default={long-format} The format used for the long form of the acronym in the list if the list @@ -762,13 +762,15 @@ The single appearance of an acronym is determined by this option: If you like you can also set the single appearance of an acronym individually: \begin{properties} - \propval{single}{text}\Default={long} - If provided \meta{text} will be used instead of the long form if the - acronym is only used a single time \emph{and} the option - \option{single} has been set. - \propval{single-format}{code}\Default={long-format} - The format used for the acronym if the acronym is only used a single - time. + \propval{single}{text}\Default + If provided \meta{text} will be used instead of whatever template + (\enquote{style}) has been set for the single appearance if the acronym is + only used a single time \emph{and} the option \option{single} has been + set\footnote{Actually the template \template{single} is used which + typesets the \property{single} property.}. + % \propval{single-format}{code}\Default={long-format} + % The format used for the acronym if the acronym is only used a single + % time. \propchoice{single-style}{long-short,short-long,short,long,footnote}\Default The style of the single appearance of the acronym. \end{properties} @@ -874,6 +876,11 @@ the list of acronym you can use these options: \keybool{name}\Module{pages}\Default{false} If set to true the page numbers are preceded with p.\ or pp. \end{options} +Additionally\sinceversion{3.3} to setting these options with \cs{acsetup} they +can be set as options to \cs{printacronyms}: +\begin{sourcecode} + \printacronyms[pages={display=all,seq/use=false}] +\end{sourcecode} \subsection{Filter lists using tags}\label{sec:lists-tags} With the property \property{tag} you can assign one or more tags to an @@ -1018,11 +1025,12 @@ also give each acronym its own formatting individually: The style of a single appearance of the acronym, see also section~\vref{sec:single-appe-an}. \end{properties} -Per default the individual formatting instructions are \emph{additive} to the -global ones. This can be changed through the option +Per\changedversion{3.3} default the individual formatting instructions +\emph{replace} the global ones. This can be changed through the option \begin{options} - \keybool{replace}\Module{format}\Default{false} - With this option active local options will \emph{replace} the global ones. + \keybool{replace}\Module{format}\Default{true} + With this option active local options will \emph{replace} the global + ones. \end{options} Let's see an example: @@ -1036,7 +1044,7 @@ Let's see an example: \begin{example} \acsetup{format = \itshape} \acf{pdf} \par - \acsetup{format/replace=true} + \acsetup{format/replace=false} \acf{pdf} \end{example} @@ -1381,6 +1389,8 @@ This manual is an example for the indexing feature. Each acronym from section~\vref{sec:acronyms} that has been used in this manual is also listed in the index. +%% TODO: document the label property + \section{Barriers}\label{sec:barriers} The main purpose of the concept of barriers is to be able to have \emph{local} lists of acronyms. This concept does a little bit more than that, though, @@ -1815,15 +1825,15 @@ to defines own such objects: \tmpl{long-short} A template for the first appearance where the long form is printed and the short form follows in parentheses. - \tmpl{first} - This is a \emph{pseudo} template which always displays what is - set through the \option{single-style} or the property - \property{single-style}. \tmpl{short} Display the short form of an acronym. \tmpl{short-long} A template for the first appearance where the short form is printed and the long form follows in parentheses. + \tmpl{single} + A template which is used when the property \property{single} has been set + \emph{and} the option \option{single} has been set \emph{and} if the + acronym is only used a single time. \tmpl{show} A template which writes all properties of an acronym into the log file. \end{templates} diff --git a/macros/latex/contrib/acro/acro.sty b/macros/latex/contrib/acro/acro.sty index 1e1bfb4baa..d3ab51cf9b 100644 --- a/macros/latex/contrib/acro/acro.sty +++ b/macros/latex/contrib/acro/acro.sty @@ -27,10 +27,10 @@ % setup package: \tl_const:Nn \c_acro_package_name_tl {acro} -\tl_const:Nn \c_acro_date_tl {2020/11/08} +\tl_const:Nn \c_acro_date_tl {2020/11/21} \tl_const:Nn \c_acro_version_major_number_tl {3} -\tl_const:Nn \c_acro_version_minor_number_tl {2} -\tl_const:Nn \c_acro_version_subrelease_tl {a} +\tl_const:Nn \c_acro_version_minor_number_tl {3} +\tl_const:Nn \c_acro_version_subrelease_tl {} \tl_const:Nx \c_acro_version_number_tl { \c_acro_version_major_number_tl . @@ -656,7 +656,7 @@ \clist_map_inline:nn {#1} { \acro_package_if_loaded:nF {##1} - { \msg_error:nnen {acro} {package-needed} { \TemplateName } {##1} } + { \msg_error:nnen {acro} {package-needed} { \AcroTemplateName } {##1} } } } @@ -921,7 +921,7 @@ { \acro_print_pages:enn { \AcronymID } {#1} {#2} } \NewDocumentCommand \acronopagerange {} - { \acro_no_page_ranges:e { \TemplateName } } + { \acro_no_page_ranges:e { \AcroTemplateName } } \NewDocumentCommand \acropagefill {} { \acro_if_pages:eT { \AcronymID } { \tl_use:N \l__acro_pages_fill_tl } } @@ -1718,7 +1718,7 @@ \DeclareAcroProperty {foreign-locale} % additional properties: -\DeclareAcroPropertyAlias {single} {long} +\DeclareAcroProperty {single} \DeclareAcroPropertyAlias {list} {long} \DeclareAcroPropertyAlias {first-long} {long} \DeclareAcroProperty {extra} @@ -1734,7 +1734,7 @@ \DeclareAcroPropertyAlias {long-format} {format} \DeclareAcroPropertyAlias {first-long-format} {long-format} \DeclareAcroProperty {foreign-format} -\DeclareAcroProperty {single-format} +% \DeclareAcroProperty {single-format} \DeclareAcroProperty {list-format} \DeclareAcroProperty {extra-format} @@ -1745,7 +1745,6 @@ \acro_list_add:nn {short} {#1-acc} } -\DeclareAcroPropertyAlias {single-acc} {long-acc} \acro_list_map:nn {long} { \DeclareAcroPropertyAlias {#1-acc} {#1} @@ -2008,10 +2007,7 @@ \cs_new_protected:Npn \acro_new_format:n #1 { \tl_new:c {l__acro_format_#1_tl} - \keys_define:nn {acro/format} - { - #1 .tl_set:c = l__acro_format_#1_tl - } + \keys_define:nn {acro/format} { #1 .tl_set:c = l__acro_format_#1_tl } } \acro_new_format:n {short} @@ -2026,7 +2022,7 @@ { format .meta:n = { format/short = #1 , format/long = #1 } , format / replace .bool_set:N = \l__acro_format_replace_bool , - format / replace .initial:n = false + format / replace .initial:n = true } % ---------------------------------------------------------------------------- @@ -2413,8 +2409,9 @@ \str_case:nnTF {#1} { {true} {} {false} {} } { \use:c {bool_set_#1:N} \l__acro_cite_group_bool } - { \msg_error:nnn {kernel} {boolean-values-only} {group} } , + { \msg_error:nnn {acro} {boolean-values-only} {cite/group} } , group .initial:n = false , + group .default:n = true , display .choice: , display/all .code:n = \bool_set_true:N \l__acro_cite_bool @@ -2432,6 +2429,12 @@ group / cmd .initial:n = \cite } +\msg_new:nnn {acro} {boolean-values-only} + { + The~ option~ `#1'~ can~ only~ receive~ boolean~ values,~ i.e.~ either~ + `true'~ or~ `false'. + } + % -------------------------------------------------------------------------- % indexing \bool_new:N \l__acro_index_bool @@ -3273,6 +3276,7 @@ \cs_new_protected:Npn \acro_template_use:nnn #1#2#3 { \bool_set_false:N \l__acro_tmpa_bool + \bool_set_false:N \l__acro_tmpb_bool \bool_lazy_and:nnT { \l__acro_use_only_first_bool } { \l__acro_use_bool } @@ -3289,12 +3293,16 @@ { !\l__acro_first_bool } { \acro_if_single_p:V \l_acro_id_tl } { - \acro_property_if_set:VnTF \l_acro_id_tl {single-style} + \acro_property_if_set:VnTF \l_acro_id_tl {single} + { \bool_set_true:N \l__acro_tmpb_bool } { - \tl_set:Ne \l__acro_tmpa_tl - { \acro_property_get:Vn \l_acro_id_tl {single-style} } + \acro_property_if_set:VnTF \l_acro_id_tl {single-style} + { + \tl_set:Ne \l__acro_tmpa_tl + { \acro_property_get:Vn \l_acro_id_tl {single-style} } + } + { \tl_set_eq:NN \l__acro_tmpa_tl \l__acro_single_tl } } - { \tl_set_eq:NN \l__acro_tmpa_tl \l__acro_single_tl } } { \acro_if_first:VTF \l_acro_id_tl @@ -3310,12 +3318,16 @@ } } {single} { - \acro_property_if_set:VnTF \l_acro_id_tl {single-style} + \acro_property_if_set:VnTF \l_acro_id_tl {single} + { \bool_set_true:N \l__acro_tmpb_bool } { - \tl_set:Ne \l__acro_tmpa_tl - { \acro_property_get:Vn \l_acro_id_tl {single-style} } + \acro_property_if_set:VnTF \l_acro_id_tl {single-style} + { + \tl_set:Ne \l__acro_tmpa_tl + { \acro_property_get:Vn \l_acro_id_tl {single-style} } + } + { \tl_set_eq:NN \l__acro_tmpa_tl \l__acro_single_tl } } - { \tl_set_eq:NN \l__acro_tmpa_tl \l__acro_single_tl } } } { \tl_set:Nn \l__acro_tmpa_tl {#3} } @@ -3328,7 +3340,9 @@ } { \tl_set_eq:NN \l__acro_tmpa_tl \l__acro_first_style_tl } } - \__acro_template_use:nnV {#1} {#2} \l__acro_tmpa_tl + \bool_if:NTF \l__acro_tmpb_bool + { \__acro_template_use:nnn {#1} {#2} {single} } + { \__acro_template_use:nnV {#1} {#2} \l__acro_tmpa_tl } } \cs_generate_variant:Nn \acro_template_use:nnn {nnV} @@ -3589,7 +3603,8 @@ postamble .tl_set:N = \l__acro_postamble_tl , postamble .initial:n = , name .tl_set:N = \l__acro_list_name_tl , - name .initial:n = \acro_translate:n {list-name} + name .initial:n = \acro_translate:n {list-name} , + pages .meta:nn = {acro/pages} {#1} } \acro_if_komascript:TF @@ -3670,13 +3685,22 @@ } { \bool_if:NT \l__acro_pages_name_display_bool {#2} - \pageref { \l_acro_label_prefix_tl #1 } + \acro_print_first_page:n {#1} } } } \cs_generate_variant:Nn \acro_print_pages:nnn {e} % #1: id +\cs_set_protected:Npn \acro_print_first_page:n #1 + { + \seq_set_split:Nnx \l__acro_tmpa_seq {|} + { \acro_property_get:nn {#1} {pages} } + \exp_last_unbraced:Ne + \__acro_page_name:w { \seq_item:Nn \l__acro_tmpa_seq {1} } \q_stop + } + +% #1: id % #2: one page % #3: more than one page \cs_set_protected:Npn \acro_print_page_ranges:nnn #1#2#3 @@ -3769,6 +3793,7 @@ } } } + \int_compare:nNnTF { \seq_count:N \l__acro_tmpb_seq } = 1 {#2} {#3} \seq_use:Nn \l__acro_tmpb_seq { \l__acro_pages_sep_tl } } @@ -3838,13 +3863,13 @@ } \prg_generate_conditional_variant:Nnn \acro_if_pages:n {e} {p,T,F,TF} -\acro_at_begin_document:n - { - \bool_lazy_and:nnT - { \l__acro_pages_display_bool } - { !\l__acro_pages_all_bool } - { \bool_set_true:N \l__acro_label_bool } - } +% \acro_at_begin_document:n +% { +% \bool_lazy_and:nnT +% { \l__acro_pages_display_bool } +% { !\l__acro_pages_all_bool } +% { \bool_set_true:N \l__acro_label_bool } +% } % #1: style name \cs_new_protected:Npn \acro_no_page_ranges:n #1 @@ -4945,11 +4970,10 @@ } \NewAcroTemplate {long} - { - \acroifTF {single} - { \acrowrite {single} } - { \acrowrite {long} } - } + { \acrowrite {long} } + +\NewAcroTemplate {single} + { \acrowrite {single} } \NewAcroTemplate {short} { \acrowrite {short} } @@ -5491,6 +5515,7 @@ \acro_removed_property:n {long-pre} \acro_removed_property:n {after-citation} \acro_removed_property:n {index-cmd} +\acro_removed_property:n {single-format} % ---------------------------------------------------------------------------- % old functions diff --git a/macros/latex/contrib/acro/acro2.sty b/macros/latex/contrib/acro/acro2.sty index bed0779122..d5c7d0b59f 100644 --- a/macros/latex/contrib/acro/acro2.sty +++ b/macros/latex/contrib/acro/acro2.sty @@ -11,12 +11,12 @@ % Copyright 2011--2020 Clemens Niederberger % % This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either version 1.3 +% conditions of the LaTeX Project Public License, either version 1.3c % 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. +% version 2008/05/04 or later. % % This work has the LPPL maintenance status `maintained'. % @@ -2481,8 +2481,6 @@ \cs_new_protected:Npn \acro@pages #1#2 { \tl_gset:cn {g__acro_#1_recorded_pages_tl} {#2} } - -\bool_new:N \g__acro_rerun_bool \cs_new_protected:Npn \acro@rerun@check { diff --git a/macros/latex/contrib/chemmacros/README b/macros/latex/contrib/chemmacros/README index a3e932f46c..f701e7d2de 100644 --- a/macros/latex/contrib/chemmacros/README +++ b/macros/latex/contrib/chemmacros/README @@ -1,5 +1,5 @@ -------------------------------------------------------------------------- -the CHEMMACROS package v5.11 2020/03/07 +the CHEMMACROS package v5.11a 2020/11/21 comprehensive support for typesetting chemistry documents @@ -11,12 +11,12 @@ E-Mail: contact@mychemistry.eu Copyright 2011--2020 Clemens Niederberger This work may be distributed and/or modified under the -conditions of the LaTeX Project Public License, either version 1.3 +conditions of the LaTeX Project Public License, either version 1.3c 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. +version 2008/05/04 or later. This work has the LPPL maintenance status `maintained'. diff --git a/macros/latex/contrib/chemmacros/chemmacros-manual.cls b/macros/latex/contrib/chemmacros/chemmacros-manual.cls index 43ed389709..7a243d4bfc 100644 --- a/macros/latex/contrib/chemmacros/chemmacros-manual.cls +++ b/macros/latex/contrib/chemmacros/chemmacros-manual.cls @@ -15,12 +15,12 @@ % Copyright 2011--2020 Clemens Niederberger % % This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either version 1.3 +% conditions of the LaTeX Project Public License, either version 1.3c % 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. +% version 2008/05/04 or later. % % This work has the LPPL maintenance status `maintained'. % diff --git a/macros/latex/contrib/chemmacros/chemmacros-manual.pdf b/macros/latex/contrib/chemmacros/chemmacros-manual.pdf Binary files differindex a6f6c8f5a4..bb12caa2fa 100644 --- a/macros/latex/contrib/chemmacros/chemmacros-manual.pdf +++ b/macros/latex/contrib/chemmacros/chemmacros-manual.pdf diff --git a/macros/latex/contrib/chemmacros/chemmacros-manual.tex b/macros/latex/contrib/chemmacros/chemmacros-manual.tex index 1c8ca7776c..0bc8a5b437 100644 --- a/macros/latex/contrib/chemmacros/chemmacros-manual.tex +++ b/macros/latex/contrib/chemmacros/chemmacros-manual.tex @@ -19,12 +19,12 @@ % Copyright 2011--2020 Clemens Niederberger % % This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either version 1.3 +% conditions of the LaTeX Project Public License, either version 1.3c % 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. +% version 2008/05/04 or later. % % This work has the LPPL maintenance status `maintained'. % @@ -2890,7 +2890,7 @@ number of options. For historical reasons they all belong to the module \keyval{delta}{tokens}\Module{spectroscopy}\Default The \meta{tokens} are added after $\delta$. \keybool{list}\Module{spectroscopy}\Default{false} - The environment \env{nmr}[<optionen>]{} is formatted as a list + The environment \env{nmr}[<options>]{} is formatted as a list \keyval{list-setup}{setup}\Module{spectroscopy} Setup of the list. See below for the default settings. \keybool{use-equal}\Module{spectroscopy}\Default{false} @@ -3579,4 +3579,6 @@ conflicts with other packages, \ldots) then please go to \url{https://github.com/cgnieder/chemmacros/issues/} and open a new issue describing the error including a minimal working example. +\printbibliography + \end{document} diff --git a/macros/latex/contrib/chemmacros/chemmacros.history b/macros/latex/contrib/chemmacros/chemmacros.history index 2104a10f20..0ecb03994c 100644 --- a/macros/latex/contrib/chemmacros/chemmacros.history +++ b/macros/latex/contrib/chemmacros/chemmacros.history @@ -15,381 +15,383 @@ feel free to contact me. Copyright 2011--2020 Clemens Niederberger This work may be distributed and/or modified under the -conditions of the LaTeX Project Public License, either version 1.3 +conditions of the LaTeX Project Public License, either version 1.3c 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. +version 2008/05/04 or later. This work has the LPPL maintenance status `maintained'. The Current Maintainer of this work is Clemens Niederberger. -------------------------------------------------------------------------- Version history -2011/05/15 - version 1.0 - CTAN release -2011/06/22 - version 1.1 - "LaTeXified" whole package for safer usage - - less user work required (like loading package - after another) - - more particle macros - - latin phrases - - extra units - - acid/base commands - - \mech - - \NMR - - \mhName, \setmhName, \newreaction, phases - - \renewstate, \setstatesubscript - - improved orbitals - - simpler package options, option german, bpchem - - bug fixes -2011/10/28 - version 2.0 - rewritten in expl3 - - customization via \chemsetup - - new commands \p, \fplus, \fminus, \fpch, \fmch, - \fscrp, \fsrcm, \fdelp, \fdelm, \orbital, \chemsetup - - various commands have a new syntax - - removed: \setmhName, \setredoxdist, - \setstatesubscript, \porb, \phorb, \pxorb, \pyorb, - \pzorb, \setorbheight, \solid, \liquid - - reaction environments work with hyperref and - varioref -2011/11/03 - version 2.0a - minor bug fixes - - new feature for \Nu - - new command \ba -2012/01/28 - version 3.0 - bundled with packages `formula' and `ghs' - - new commands \Ka, \Kb, \Kw - - commands can detect if font series is bold - - new package option "detect-bold" - - new package option "method" => choose between - `mhchem' and `formula' for internal uses. - - new package option "ghs" => load `ghs' or don't - - new package option "synchronize" - - new package option "strict" - - new command \iupac - - new command \listofreactions, reaction environments - with optional argument - - \cis, \trans, \tert without \xspace -2012/01/30 - version 3.0a - bugfix in formula.sty - - renamed formula => chemformula - and ghs => ghsystem to make the names unique - (following a request by Karl Berry for TeXlive) -2012/02/03 - version 3.0b - new command \DeclareChemParticle, updated - documentation -2012/02/05 - version 3.0c - renamed pictogram files (following a request by - Karl Berry for TeXlive) - - new package option "Nu" -2012/02/10 - version 3.0d - several bugfixes in chemformula - - bugfixes with \DeclareChemParticle - - new command \RenewChemParticle - - new option phases / pos - - new commands \DeclareChemPhase, \RenewChemPhase, - \phase - - changed default behaviour of phases - - removed optional argument from \sld and \lqd - - new arrow type <> -2012/02/19 - version 3.1 - new commands \DeclareChemIUPAC and \RenewChemIUPAC - - new option "option/iupac" - - deprecated option: "option/EZ" - - deprecated commands: - \newreaction => \DeclareChemReaction - \setnewstate => \DeclareChemState - \renewstate => \RenewChemState - \Rcip => \R - \Scip => \S - \Dfi => \D - \Lfi => \L - - new arrow types -/>, </- and <o> - - new commands \DeclareChemArrow, \RenewChemArrow and - \ShowChemArrow -2012/02/26 - version 3.1a - "operator" p rewritten to follow IUPAC - recommendations - - new option "acid-base/p-style" - - deprecated option: "option/detect-bold" -2012/03/03 - version 3.1b - arrow types are stored in a sequence to automate the - search and replace in the right order - - new arrow type == - - IUPAC compliance for stoichiometric factors - - new handling of super- and subscripts to correct - various flaws: clear distinction between isotope and - formula - - new option charge-vshift - - IUPAC compliance for \Delta and \ox -2012/03/14 - version 3.1c - compatibility with KOMA's global option - "version = <value>" - - bugfix in the list of reactions - - improved arrow labels -2012/03/20 - version 3.2 - new: option input via @{<options>} - - improved list of reactions: resetting the "reaction" - counter now doesn't cause errors any more - - \AddRxnDesc added which allows to add descriptions - to each reaction in the "reactions" environment -2012/05/07 - version 3.3 - new environment `experimental' that allows some - formatting for the for displaying of measurement - results - - more greek letters for the \iupac command - - \ch now bypasses \ref{}, \label{}, and \intertext{} - - small adjustments of the iupac commands \| and \- - - bug fix: option `upgreek' is now working and was - renamed to `greek' - - proper language support -2012/05/13 - version 3.3a - Italian translations of the H, EUH and P statements - - \hapto and \bridge -2012/05/18 - version 3.3b - compatibility with MiKTeX -2012/05/18 - version 3.3c - fix in the `ghsystem/language' option -2012/07/24 - version 3.3d - additional picture file type `pdf' - - default bond length set to 1.1667ex - - bug fix in the bonds - - added kerning to cip commands, new option - `iupac/cip-kern' - - bug fix: messages needed to be defined before the - options -2012/08/21 - version 3.3e - new option ox/align=center|right - - a new option to \NMR and to \J -2012/09/11 - version 3.4 - cleaned a little, minor bug fixes - - switched to internal scratch variables - - new command \bond, more bond types - - new commands \DeclareChemBond, \DeclareChemBondAlias, - \RenewChemBond and \ShowChemBond - - radical point thicker, new options `radical-style' - and `radical-radius' -2012/10/03 - version 3.4a - bug fix in coupling constant \J -2013/01/04 - version 3.4b - bug fix in the sub- and superscript handling -2013/01/28 - version 3.5 - disallow breaks at bonds - - allow breaks after arrows - - made some spaces in chemformulas stretch- and - shrinkable - - various internal code improvements - - changed defaults for horizontal spaces that have in - set in ex into corresponding values in em. - - improvements to the placement of sub- and superscripts -2013/02/19 - version 3.5a - bug fix: `ghsystem' recognizes language again -2013/02/26 - version 3.6 - support for use with the `breqn' package - - chemformula: math escaping also via \(\) - - chemformula internal: clearer escaping macros - - new options: `radical-vshift', `radical-hshift' - and `radical-space' - - bug fix: `radical-...' options are now correctly set - - stoichiometric factors: add leading 0 if missing - - new option: `stoich-paren-parse' - - internal changes: be way more rigid about protected - and expandable macros - - internal changes: clearer distinction between - private macros and accessable module macros - - internal changes: clearer distinction between - document commands and module level commands - - chemformula's !()() syntax now also works with babel's - French -2013/02/27 - version 3.6a - bug fix: escaped text and math stays escaped, i.e. - also arrow code like `<=>' -2013/04/19 - version 3.6b - chemformula: new key `arrow-min-length' - - bug fix: stoichiometric fractions correctly displayed - - changed appearance of \cip to use upright parentheses -2013/07/06 - version 4.0 - `chemformula' doesn't automatically load - `chemmacros' any more but can be used stand-alone - - option `bpchem' has been dropped - - improved detection of bold font series - - changed wrongly used \mbox in definition of \Ka, - \Kb and \Kw into \ensuremath - - adapt \mch and \pch to match `chemformula's - charges - - dropped option `method=mhchem' - - support for `kpfonts' and `newtxmath' upright - greek letters added, greek alphabet complete both - for uppercase and lowercase; this is handled by - the new package in the family: `chemgreek' - - \OX and \redox now work in `amsmath's environment - by ignoring the measuring phase - - language management with the help of the - `translations' package => - recognize document language automatically and use - it if it a) is known to `chemmacros' and b) has - not been overwritten by the `language' option; - this also made minor changes to `ghsystem' - necessary; additionally this lead to changes in - the way phases are defined - - status of \Dfi and \Lfi changed from `deprecated' - to `dropped' - - new option `charges/partial-format' - - fixed wrongly written contents to the lor when - used together with `hyperref' - - new option `reaction/list-heading' - - option `charges/append' deprecated -2013/08/07 - version 4.0a - extra pair of braces in definition of - \standardstate - - added missing \exp_not:n to the definitions of - \chemmacros_declare_phase:Nn and kin -2013/08/24 - version 4.1 - changed `0' values in TikZ coordinates into `0pt' - see http://tex.stackexchange.com/q/128792/5049 and - http://tex.stackexchange.com/q/118467/5049 for - reference -2013/10/28 - version 4.2 - changed particles with electron pairs to use - \chlewis - - changed \Delta in thermodynamic state variables - into \ChemDelta for IUPAC compliance and defined - it as an operator - - change in the syntax of \DeclareChemState and - \RenewChemState and improved both internal - definition and user interface -2013/10/31 - version 4.2a - bug bix in \hapto and \bridge -2013/11/04 - version 4.2b - new IUPAC commands: \fac/\mer -2013/11/20 - version 4.2c - step bundle version due to changes in `chemgreek' -2013/12/15 - version 4.2d - small changes to the translating mechansim which - now seems to be more logical: `language=auto' - detects the current `babel' language and - `language=<lang>' overwrites to the chosen - language - - new options `acid-base/K-acid', `acid-base/K-base' - and `acid-base/K-water' - - adapt \ox to updates in `l3fp' -2014/01/09 - version 4.2e - step bundle version due to changes in `ghsystem' -2014/01/24 - version 4.3 - \NewChemIUPAC, \LetChemIUPAC - - \NewChemParticle - - \NewChemNMR - - \NewChemPhase - - \NewChemReaction, \RenewChemReaction - - \NewChemState - - added macro names with more meaningfule names to - each of the one-letter name commands - - changed behaviour of \DeclareChem to match - \DeclareRobustCommand, i.e., no check if command - is defined; added a \NewChem variant to each that - /does/ check; use \NewChem instead of \DeclareChem - for definitions - - new iupac command \dento - - new option choice `nmr/pos=super' - - bug fix in appearance of coupling nuclei - - new possibilities for formatting the output of the - NMR coupling constants output with \J: - `coupling-pos=side/sub', `coupling-nuclei-pre', - coupling-nuclei-post', `coupling-bonds-pre', - coupling-bonds-post', `coupling-symbol' - - internal changes to the greek letter mapping - selection mechanism - - deprecate package option `strict' - - deprecate package option `cmversion': also all - backwards compatibility for version 1 has been - dropped - - drop command \mhName -2014/01/29 - version 4.4 - bug fix in the display of the coupling constant - - bug fix in phase definitions (need to adapt to - changes in `translations' - - new option `nmr/atom-number-cs' - - new option `nmr/coupling-pos-cs' -2014/04/08 - version 4.5 - new option `acid-base/subscript' - - added Dutch translations -2014/06/30 - version 4.5a - adapt to deprecated expl3 functions -2014/08/08 - version 4.6 - from bundle to packages: packages `chemformula', - `ghsystem' and `chemgreek' no longer belong to the - bundle but now are packages of their own. -2015/02/08 - version 4.7 - fix \iupac so active letters like | still work - inside other macros (\section, ...) - - Change the default subscripts of the equilibrium - constants to match the usage in the IUPAC Green - Book - - allow \NewChemPhase and friends after \begin{document} - - new optional argument to phase commands - - new options `nmr/method' and `nmr/connector' -2015/09/11 - version 5.0 - the former chemmacros.sty is now chemmacros4.sty - and can be loaded through the `compatibility' - option - - chemmacros is now organized in separate modules - which either are preloaded or can be loaded by the - user with \usechemmodule - - various changes, see - http://www.mychemistry.eu/2015/06/chemmacros-development/ - and the manual section 3.4. Upgrading from version - < 5.0 for details -2015/09/23 - version 5.1 - add option `method' to `chemformula' module - - make module `scheme' compatible with `floatrow' - - add module hooks `before' and `after' -2015/10/14 - version 5.2 - warn if compatibility version requested is higher - than the current version number - - enable to specify a minimal compatibility version - for a module - - add info message to `all' module - - add values `newest' and `latest' to the - compatibility option - - check for mhchem and chemformula and choose the - formula method accordingly - - fixes in the module hook mechanism - - fix in \chemmacros_if_module_loaded:n - - new internal module `errorcheck' -2016/01/13 - version 5.3 - removed options `german' and `ngerman' (lang) - - remove deprecated pre-v5 macros (several modules) - - new option `atom-number-space' (spectroscopy) - - add \chemprime and ' shorthand (nomenclature) - - new option `space' (particles) - - TikZ decoration `wave' (tikz) -2016/01/23 - version 5.3a - compatibility with chemscheme package (scheme) - - IUPAC shorthands only defined within \iupac - (nomenclature) -2016/02/10 - version 5.4 - \NewChemEqConstant and family, new option - `eq-constant' (acid-base) - - added \ignorespacesafterend to environments - (reactions) - - fixed erroneous definition of \NewChemMacroset - (base) - - new option `explicit-zero-sign' (redox) -2016/03/08 - version 5.5 - new module `polymers' -2016/05/02 - version 5.6 - generalization of the formula method concept, new - methods `chemist' and `chemfig' (chemformula) - - use `tocbasic' for the list of reactions if - available (reactions) - - fix reaction environments to obey \thereaction - (reactions) - - add cleveref and fancyref support (reactions) - - add cleveref and fancyref support (scheme) - - \DeclareChemTranslation and - \DeclareChemTranslations - - moved translations from lang module to the - corresponding modules they belong to -2016/05/04 - version 5.6a - fix small but annoying bugs (base and chemformula) -2016/06/07 - version 5.7 - \iupac gets an optional argument for setting - options (nomenclature) - - \latin always defined by chemmacros (nomenclature) - - fix conflict with `achemso' (nomenclature) - - allow `chemscheme'/`chemstyle' to be loaded after - chemmacros (errorcheck) - - translation keys get internal prefix (translations) -2016/06/08 - version 5.7a - rename functions which erroneously were assigned - to the `chemformula' module - - correct wrong dates in module files -2016/10/05 - version 5.7b - small improvement of the errorcheck module -2016/12/28 - version 5.7c - bug fix: typo in \chemmacros_tex_if:nnTF usage - (scheme) -2017/04/17 - version 5.8 - new option `nmr-base-format' (spectroscopy) - - change \hapto and \dento to follow iupacs rules - according to IUPAC Red Book 2005. IR-10.2.5.2 The - eta convention (p.216) and IR-9.2.4.2 The - kappa convention (p.155f) (nomenclature) - - fix error in \chemmacros_allow_hyphens: definition - (nomenclature) - - new options `cip-inner-format', `cip-outer-format' - and `cip-number-format' (nomenclature) -2017/06/13 - version 5.8a - changes to compatibility test: it now works also - for subreleases - - change behaviour of \ChemCompatibilityTo and - \ChemCompatibilityBetween in order to cope with - the changed compatibility test; adapt all files - reflecting those changes - - change behaviour of - \__chemmacros_break_point_insert:nnn so it does - nothing as last token in \iupac (nomenclature) -2017/08/28 - version 5.8b - fix missing hyperref check -2018/03/02 - version 5.8c - fix bug in \chemmacros_p:n (acid/base) - - smash sub- and superscripts of polymer delimiters - (polymers) -2019/09/23 - version 5.8d - add some Norwegian translations (reactions, scheme) -2019/09/27 - version 5.8e - change `O{}' argument of reactions into `!O{}' - (reactions) -2019/09/30 - version 5.8f - fix bug introduced in the last version -2019/11/17 - version 5.9 - correction: torr -> Torr (units) - - define latin phrases on the go instead of at begin - document -2020/01/16 - version 5.9a - adapt to renaming of string case changing functions -2020/02/03 - version 5.10 - define \torr as well as \Torr (units) - - prefer lazy boolean evaluation - - prefer the kernel commands to - \chemmacros_leave_vmode: and \chemmacros_tex_if: -2020/03/07 - version 5.11 - let \chemmacros_iupac:nn think we're in the - document – fixes issue #30 (nomenclature) - - add option redox/format +2011/05/15 - version 1.0 - CTAN release +2011/06/22 - version 1.1 - "LaTeXified" whole package for safer usage + - less user work required (like loading package + after another) + - more particle macros + - latin phrases + - extra units + - acid/base commands + - \mech + - \NMR + - \mhName, \setmhName, \newreaction, phases + - \renewstate, \setstatesubscript + - improved orbitals + - simpler package options, option german, bpchem + - bug fixes +2011/10/28 - version 2.0 - rewritten in expl3 + - customization via \chemsetup + - new commands \p, \fplus, \fminus, \fpch, \fmch, + \fscrp, \fsrcm, \fdelp, \fdelm, \orbital, \chemsetup + - various commands have a new syntax + - removed: \setmhName, \setredoxdist, + \setstatesubscript, \porb, \phorb, \pxorb, \pyorb, + \pzorb, \setorbheight, \solid, \liquid + - reaction environments work with hyperref and + varioref +2011/11/03 - version 2.0a - minor bug fixes + - new feature for \Nu + - new command \ba +2012/01/28 - version 3.0 - bundled with packages `formula' and `ghs' + - new commands \Ka, \Kb, \Kw + - commands can detect if font series is bold + - new package option "detect-bold" + - new package option "method" => choose between + `mhchem' and `formula' for internal uses. + - new package option "ghs" => load `ghs' or don't + - new package option "synchronize" + - new package option "strict" + - new command \iupac + - new command \listofreactions, reaction environments + with optional argument + - \cis, \trans, \tert without \xspace +2012/01/30 - version 3.0a - bugfix in formula.sty + - renamed formula => chemformula + and ghs => ghsystem to make the names unique + (following a request by Karl Berry for TeXlive) +2012/02/03 - version 3.0b - new command \DeclareChemParticle, updated + documentation +2012/02/05 - version 3.0c - renamed pictogram files (following a request by + Karl Berry for TeXlive) + - new package option "Nu" +2012/02/10 - version 3.0d - several bugfixes in chemformula + - bugfixes with \DeclareChemParticle + - new command \RenewChemParticle + - new option phases / pos + - new commands \DeclareChemPhase, \RenewChemPhase, + \phase + - changed default behaviour of phases + - removed optional argument from \sld and \lqd + - new arrow type <> +2012/02/19 - version 3.1 - new commands \DeclareChemIUPAC and \RenewChemIUPAC + - new option "option/iupac" + - deprecated option: "option/EZ" + - deprecated commands: + \newreaction => \DeclareChemReaction + \setnewstate => \DeclareChemState + \renewstate => \RenewChemState + \Rcip => \R + \Scip => \S + \Dfi => \D + \Lfi => \L + - new arrow types -/>, </- and <o> + - new commands \DeclareChemArrow, \RenewChemArrow and + \ShowChemArrow +2012/02/26 - version 3.1a - "operator" p rewritten to follow IUPAC + recommendations + - new option "acid-base/p-style" + - deprecated option: "option/detect-bold" +2012/03/03 - version 3.1b - arrow types are stored in a sequence to automate the + search and replace in the right order + - new arrow type == + - IUPAC compliance for stoichiometric factors + - new handling of super- and subscripts to correct + various flaws: clear distinction between isotope and + formula + - new option charge-vshift + - IUPAC compliance for \Delta and \ox +2012/03/14 - version 3.1c - compatibility with KOMA's global option + "version = <value>" + - bugfix in the list of reactions + - improved arrow labels +2012/03/20 - version 3.2 - new: option input via @{<options>} + - improved list of reactions: resetting the "reaction" + counter now doesn't cause errors any more + - \AddRxnDesc added which allows to add descriptions + to each reaction in the "reactions" environment +2012/05/07 - version 3.3 - new environment `experimental' that allows some + formatting for the for displaying of measurement + results + - more greek letters for the \iupac command + - \ch now bypasses \ref{}, \label{}, and \intertext{} + - small adjustments of the iupac commands \| and \- + - bug fix: option `upgreek' is now working and was + renamed to `greek' + - proper language support +2012/05/13 - version 3.3a - Italian translations of the H, EUH and P statements + - \hapto and \bridge +2012/05/18 - version 3.3b - compatibility with MiKTeX +2012/05/18 - version 3.3c - fix in the `ghsystem/language' option +2012/07/24 - version 3.3d - additional picture file type `pdf' + - default bond length set to 1.1667ex + - bug fix in the bonds + - added kerning to cip commands, new option + `iupac/cip-kern' + - bug fix: messages needed to be defined before the + options +2012/08/21 - version 3.3e - new option ox/align=center|right + - a new option to \NMR and to \J +2012/09/11 - version 3.4 - cleaned a little, minor bug fixes + - switched to internal scratch variables + - new command \bond, more bond types + - new commands \DeclareChemBond, \DeclareChemBondAlias, + \RenewChemBond and \ShowChemBond + - radical point thicker, new options `radical-style' + and `radical-radius' +2012/10/03 - version 3.4a - bug fix in coupling constant \J +2013/01/04 - version 3.4b - bug fix in the sub- and superscript handling +2013/01/28 - version 3.5 - disallow breaks at bonds + - allow breaks after arrows + - made some spaces in chemformulas stretch- and + shrinkable + - various internal code improvements + - changed defaults for horizontal spaces that have in + set in ex into corresponding values in em. + - improvements to the placement of sub- and superscripts +2013/02/19 - version 3.5a - bug fix: `ghsystem' recognizes language again +2013/02/26 - version 3.6 - support for use with the `breqn' package + - chemformula: math escaping also via \(\) + - chemformula internal: clearer escaping macros + - new options: `radical-vshift', `radical-hshift' + and `radical-space' + - bug fix: `radical-...' options are now correctly set + - stoichiometric factors: add leading 0 if missing + - new option: `stoich-paren-parse' + - internal changes: be way more rigid about protected + and expandable macros + - internal changes: clearer distinction between + private macros and accessable module macros + - internal changes: clearer distinction between + document commands and module level commands + - chemformula's !()() syntax now also works with babel's + French +2013/02/27 - version 3.6a - bug fix: escaped text and math stays escaped, i.e. + also arrow code like `<=>' +2013/04/19 - version 3.6b - chemformula: new key `arrow-min-length' + - bug fix: stoichiometric fractions correctly displayed + - changed appearance of \cip to use upright parentheses +2013/07/06 - version 4.0 - `chemformula' doesn't automatically load + `chemmacros' any more but can be used stand-alone + - option `bpchem' has been dropped + - improved detection of bold font series + - changed wrongly used \mbox in definition of \Ka, + \Kb and \Kw into \ensuremath + - adapt \mch and \pch to match `chemformula's + charges + - dropped option `method=mhchem' + - support for `kpfonts' and `newtxmath' upright + greek letters added, greek alphabet complete both + for uppercase and lowercase; this is handled by + the new package in the family: `chemgreek' + - \OX and \redox now work in `amsmath's environment + by ignoring the measuring phase + - language management with the help of the + `translations' package => + recognize document language automatically and use + it if it a) is known to `chemmacros' and b) has + not been overwritten by the `language' option; + this also made minor changes to `ghsystem' + necessary; additionally this lead to changes in + the way phases are defined + - status of \Dfi and \Lfi changed from `deprecated' + to `dropped' + - new option `charges/partial-format' + - fixed wrongly written contents to the lor when + used together with `hyperref' + - new option `reaction/list-heading' + - option `charges/append' deprecated +2013/08/07 - version 4.0a - extra pair of braces in definition of + \standardstate + - added missing \exp_not:n to the definitions of + \chemmacros_declare_phase:Nn and kin +2013/08/24 - version 4.1 - changed `0' values in TikZ coordinates into `0pt' + see http://tex.stackexchange.com/q/128792/5049 and + http://tex.stackexchange.com/q/118467/5049 for + reference +2013/10/28 - version 4.2 - changed particles with electron pairs to use + \chlewis + - changed \Delta in thermodynamic state variables + into \ChemDelta for IUPAC compliance and defined + it as an operator + - change in the syntax of \DeclareChemState and + \RenewChemState and improved both internal + definition and user interface +2013/10/31 - version 4.2a - bug bix in \hapto and \bridge +2013/11/04 - version 4.2b - new IUPAC commands: \fac/\mer +2013/11/20 - version 4.2c - step bundle version due to changes in `chemgreek' +2013/12/15 - version 4.2d - small changes to the translating mechansim which + now seems to be more logical: `language=auto' + detects the current `babel' language and + `language=<lang>' overwrites to the chosen + language + - new options `acid-base/K-acid', `acid-base/K-base' + and `acid-base/K-water' + - adapt \ox to updates in `l3fp' +2014/01/09 - version 4.2e - step bundle version due to changes in `ghsystem' +2014/01/24 - version 4.3 - \NewChemIUPAC, \LetChemIUPAC + - \NewChemParticle + - \NewChemNMR + - \NewChemPhase + - \NewChemReaction, \RenewChemReaction + - \NewChemState + - added macro names with more meaningfule names to + each of the one-letter name commands + - changed behaviour of \DeclareChem to match + \DeclareRobustCommand, i.e., no check if command + is defined; added a \NewChem variant to each that + /does/ check; use \NewChem instead of \DeclareChem + for definitions + - new iupac command \dento + - new option choice `nmr/pos=super' + - bug fix in appearance of coupling nuclei + - new possibilities for formatting the output of the + NMR coupling constants output with \J: + `coupling-pos=side/sub', `coupling-nuclei-pre', + coupling-nuclei-post', `coupling-bonds-pre', + coupling-bonds-post', `coupling-symbol' + - internal changes to the greek letter mapping + selection mechanism + - deprecate package option `strict' + - deprecate package option `cmversion': also all + backwards compatibility for version 1 has been + dropped + - drop command \mhName +2014/01/29 - version 4.4 - bug fix in the display of the coupling constant + - bug fix in phase definitions (need to adapt to + changes in `translations' + - new option `nmr/atom-number-cs' + - new option `nmr/coupling-pos-cs' +2014/04/08 - version 4.5 - new option `acid-base/subscript' + - added Dutch translations +2014/06/30 - version 4.5a - adapt to deprecated expl3 functions +2014/08/08 - version 4.6 - from bundle to packages: packages `chemformula', + `ghsystem' and `chemgreek' no longer belong to the + bundle but now are packages of their own. +2015/02/08 - version 4.7 - fix \iupac so active letters like | still work + inside other macros (\section, ...) + - Change the default subscripts of the equilibrium + constants to match the usage in the IUPAC Green + Book + - allow \NewChemPhase and friends after \begin{document} + - new optional argument to phase commands + - new options `nmr/method' and `nmr/connector' +2015/09/11 - version 5.0 - the former chemmacros.sty is now chemmacros4.sty + and can be loaded through the `compatibility' + option + - chemmacros is now organized in separate modules + which either are preloaded or can be loaded by the + user with \usechemmodule + - various changes, see + http://www.mychemistry.eu/2015/06/chemmacros-development/ + and the manual section 3.4. Upgrading from version + < 5.0 for details +2015/09/23 - version 5.1 - add option `method' to `chemformula' module + - make module `scheme' compatible with `floatrow' + - add module hooks `before' and `after' +2015/10/14 - version 5.2 - warn if compatibility version requested is higher + than the current version number + - enable to specify a minimal compatibility version + for a module + - add info message to `all' module + - add values `newest' and `latest' to the + compatibility option + - check for mhchem and chemformula and choose the + formula method accordingly + - fixes in the module hook mechanism + - fix in \chemmacros_if_module_loaded:n + - new internal module `errorcheck' +2016/01/13 - version 5.3 - removed options `german' and `ngerman' (lang) + - remove deprecated pre-v5 macros (several modules) + - new option `atom-number-space' (spectroscopy) + - add \chemprime and ' shorthand (nomenclature) + - new option `space' (particles) + - TikZ decoration `wave' (tikz) +2016/01/23 - version 5.3a - compatibility with chemscheme package (scheme) + - IUPAC shorthands only defined within \iupac + (nomenclature) +2016/02/10 - version 5.4 - \NewChemEqConstant and family, new option + `eq-constant' (acid-base) + - added \ignorespacesafterend to environments + (reactions) + - fixed erroneous definition of \NewChemMacroset + (base) + - new option `explicit-zero-sign' (redox) +2016/03/08 - version 5.5 - new module `polymers' +2016/05/02 - version 5.6 - generalization of the formula method concept, new + methods `chemist' and `chemfig' (chemformula) + - use `tocbasic' for the list of reactions if + available (reactions) + - fix reaction environments to obey \thereaction + (reactions) + - add cleveref and fancyref support (reactions) + - add cleveref and fancyref support (scheme) + - \DeclareChemTranslation and + \DeclareChemTranslations + - moved translations from lang module to the + corresponding modules they belong to +2016/05/04 - version 5.6a - fix small but annoying bugs (base and chemformula) +2016/06/07 - version 5.7 - \iupac gets an optional argument for setting + options (nomenclature) + - \latin always defined by chemmacros (nomenclature) + - fix conflict with `achemso' (nomenclature) + - allow `chemscheme'/`chemstyle' to be loaded after + chemmacros (errorcheck) + - translation keys get internal prefix (translations) +2016/06/08 - version 5.7a - rename functions which erroneously were assigned + to the `chemformula' module + - correct wrong dates in module files +2016/10/05 - version 5.7b - small improvement of the errorcheck module +2016/12/28 - version 5.7c - bug fix: typo in \chemmacros_tex_if:nnTF usage + (scheme) +2017/04/17 - version 5.8 - new option `nmr-base-format' (spectroscopy) + - change \hapto and \dento to follow iupacs rules + according to IUPAC Red Book 2005. IR-10.2.5.2 The + eta convention (p.216) and IR-9.2.4.2 The + kappa convention (p.155f) (nomenclature) + - fix error in \chemmacros_allow_hyphens: definition + (nomenclature) + - new options `cip-inner-format', `cip-outer-format' + and `cip-number-format' (nomenclature) +2017/06/13 - version 5.8a - changes to compatibility test: it now works also + for subreleases + - change behaviour of \ChemCompatibilityTo and + \ChemCompatibilityBetween in order to cope with + the changed compatibility test; adapt all files + reflecting those changes + - change behaviour of + \__chemmacros_break_point_insert:nnn so it does + nothing as last token in \iupac (nomenclature) +2017/08/28 - version 5.8b - fix missing hyperref check +2018/03/02 - version 5.8c - fix bug in \chemmacros_p:n (acid/base) + - smash sub- and superscripts of polymer delimiters + (polymers) +2019/09/23 - version 5.8d - add some Norwegian translations (reactions, scheme) +2019/09/27 - version 5.8e - change `O{}' argument of reactions into `!O{}' + (reactions) +2019/09/30 - version 5.8f - fix bug introduced in the last version +2019/11/17 - version 5.9 - correction: torr -> Torr (units) + - define latin phrases on the go instead of at begin + document +2020/01/16 - version 5.9a - adapt to renaming of string case changing functions +2020/02/03 - version 5.10 - define \torr as well as \Torr (units) + - prefer lazy boolean evaluation + - prefer the kernel commands to + \chemmacros_leave_vmode: and \chemmacros_tex_if: +2020/03/07 - version 5.11 - let \chemmacros_iupac:nn think we're in the + document – fixes issue #30 (nomenclature) + - add option redox/format (redox) +2020/03/07 - version 5.11a - fix issue #34 (spectroscopy) + - fix issue #41 (scheme) diff --git a/macros/latex/contrib/chemmacros/chemmacros.module.acid-base.code.tex b/macros/latex/contrib/chemmacros/chemmacros.module.acid-base.code.tex index fe1706e476..341a60fc58 100644 --- a/macros/latex/contrib/chemmacros/chemmacros.module.acid-base.code.tex +++ b/macros/latex/contrib/chemmacros/chemmacros.module.acid-base.code.tex @@ -14,12 +14,12 @@ % Copyright 2011--2020 Clemens Niederberger % % This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either version 1.3 +% conditions of the LaTeX Project Public License, either version 1.3c % 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. +% version 2008/05/04 or later. % % This work has the LPPL maintenance status `maintained'. % diff --git a/macros/latex/contrib/chemmacros/chemmacros.module.all.code.tex b/macros/latex/contrib/chemmacros/chemmacros.module.all.code.tex index 6201308fa4..af4c6bee17 100644 --- a/macros/latex/contrib/chemmacros/chemmacros.module.all.code.tex +++ b/macros/latex/contrib/chemmacros/chemmacros.module.all.code.tex @@ -14,12 +14,12 @@ % Copyright 2011--2020 Clemens Niederberger % % This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either version 1.3 +% conditions of the LaTeX Project Public License, either version 1.3c % 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. +% version 2008/05/04 or later. % % This work has the LPPL maintenance status `maintained'. % diff --git a/macros/latex/contrib/chemmacros/chemmacros.module.base.code.tex b/macros/latex/contrib/chemmacros/chemmacros.module.base.code.tex index ed85a205e5..58948c5f79 100644 --- a/macros/latex/contrib/chemmacros/chemmacros.module.base.code.tex +++ b/macros/latex/contrib/chemmacros/chemmacros.module.base.code.tex @@ -14,12 +14,12 @@ % Copyright 2011--2020 Clemens Niederberger % % This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either version 1.3 +% conditions of the LaTeX Project Public License, either version 1.3c % 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. +% version 2008/05/04 or later. % % This work has the LPPL maintenance status `maintained'. % @@ -294,15 +294,15 @@ {#1} {#2} {#4} - { \tl_mixed_case:n {#2} } - { \tl_mixed_case:n {#4} } + { \tl_titlecase:n {#2} } + { \tl_titlecase:n {#4} } } { \chemmacros_add_cleveref_support:nnnnn {#1} {#2} {#4} - { \tl_mixed_case:n {#2} } + { \tl_titlecase:n {#2} } {#5} } } @@ -314,7 +314,7 @@ {#2} {#4} {#3} - { \tl_mixed_case:n {#4} } + { \tl_titlecase:n {#4} } } { \chemmacros_add_cleveref_support:nnnnn {#1} {#2} {#4} {#3} {#5} } } @@ -349,7 +349,7 @@ \NewDocumentCommand \ChemFancyrefSupport {mmo} { \IfNoValueTF {#3} - { \chemmacros_add_fancyref_support:nnn {#1} {#2} { \tl_mixed_case:n {#3} } } + { \chemmacros_add_fancyref_support:nnn {#1} {#2} { \tl_titlecase:n {#3} } } { \chemmacros_add_fancyref_support:nnn {#1} {#2} {#3} } } \@onlypreamble\ChemFancyrefSupport @@ -484,3 +484,4 @@ 2017/08/28 - add missing hyperref check 2020/01/16 - adapt to renaming of string case changing functions 2020/02/02 - lazy boolean evaluation +2020/11/21 - exchange \tl_mixed_case:n for \tl_titlecase:n diff --git a/macros/latex/contrib/chemmacros/chemmacros.module.charges.code.tex b/macros/latex/contrib/chemmacros/chemmacros.module.charges.code.tex index 4dfa1018ee..98ef61f7b6 100644 --- a/macros/latex/contrib/chemmacros/chemmacros.module.charges.code.tex +++ b/macros/latex/contrib/chemmacros/chemmacros.module.charges.code.tex @@ -14,12 +14,12 @@ % Copyright 2011--2020 Clemens Niederberger % % This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either version 1.3 +% conditions of the LaTeX Project Public License, either version 1.3c % 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. +% version 2008/05/04 or later. % % This work has the LPPL maintenance status `maintained'. % diff --git a/macros/latex/contrib/chemmacros/chemmacros.module.chemformula.code.tex b/macros/latex/contrib/chemmacros/chemmacros.module.chemformula.code.tex index c2fb135a7b..2289891080 100644 --- a/macros/latex/contrib/chemmacros/chemmacros.module.chemformula.code.tex +++ b/macros/latex/contrib/chemmacros/chemmacros.module.chemformula.code.tex @@ -14,12 +14,12 @@ % Copyright 2011--2020 Clemens Niederberger % % This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either version 1.3 +% conditions of the LaTeX Project Public License, either version 1.3c % 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. +% version 2008/05/04 or later. % % This work has the LPPL maintenance status `maintained'. % diff --git a/macros/latex/contrib/chemmacros/chemmacros.module.errorcheck.code.tex b/macros/latex/contrib/chemmacros/chemmacros.module.errorcheck.code.tex index faf91b06ff..cbe43abd09 100644 --- a/macros/latex/contrib/chemmacros/chemmacros.module.errorcheck.code.tex +++ b/macros/latex/contrib/chemmacros/chemmacros.module.errorcheck.code.tex @@ -14,12 +14,12 @@ % Copyright 2011--2020 Clemens Niederberger % % This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either version 1.3 +% conditions of the LaTeX Project Public License, either version 1.3c % 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. +% version 2008/05/04 or later. % % This work has the LPPL maintenance status `maintained'. % diff --git a/macros/latex/contrib/chemmacros/chemmacros.module.greek.code.tex b/macros/latex/contrib/chemmacros/chemmacros.module.greek.code.tex index ef9f8568e2..358d0716f9 100644 --- a/macros/latex/contrib/chemmacros/chemmacros.module.greek.code.tex +++ b/macros/latex/contrib/chemmacros/chemmacros.module.greek.code.tex @@ -14,12 +14,12 @@ % Copyright 2011--2020 Clemens Niederberger % % This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either version 1.3 +% conditions of the LaTeX Project Public License, either version 1.3c % 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. +% version 2008/05/04 or later. % % This work has the LPPL maintenance status `maintained'. % diff --git a/macros/latex/contrib/chemmacros/chemmacros.module.isotopes.code.tex b/macros/latex/contrib/chemmacros/chemmacros.module.isotopes.code.tex index 6463f05d74..587bc3c266 100644 --- a/macros/latex/contrib/chemmacros/chemmacros.module.isotopes.code.tex +++ b/macros/latex/contrib/chemmacros/chemmacros.module.isotopes.code.tex @@ -14,12 +14,12 @@ % Copyright 2011--2020 Clemens Niederberger % % This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either version 1.3 +% conditions of the LaTeX Project Public License, either version 1.3c % 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. +% version 2008/05/04 or later. % % This work has the LPPL maintenance status `maintained'. % diff --git a/macros/latex/contrib/chemmacros/chemmacros.module.lang.code.tex b/macros/latex/contrib/chemmacros/chemmacros.module.lang.code.tex index 5d00030d82..19c298940e 100644 --- a/macros/latex/contrib/chemmacros/chemmacros.module.lang.code.tex +++ b/macros/latex/contrib/chemmacros/chemmacros.module.lang.code.tex @@ -14,12 +14,12 @@ % Copyright 2011--2020 Clemens Niederberger % % This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either version 1.3 +% conditions of the LaTeX Project Public License, either version 1.3c % 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. +% version 2008/05/04 or later. % % This work has the LPPL maintenance status `maintained'. % diff --git a/macros/latex/contrib/chemmacros/chemmacros.module.mechanisms.code.tex b/macros/latex/contrib/chemmacros/chemmacros.module.mechanisms.code.tex index 812dede658..c506ba05d0 100644 --- a/macros/latex/contrib/chemmacros/chemmacros.module.mechanisms.code.tex +++ b/macros/latex/contrib/chemmacros/chemmacros.module.mechanisms.code.tex @@ -14,12 +14,12 @@ % Copyright 2011--2020 Clemens Niederberger % % This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either version 1.3 +% conditions of the LaTeX Project Public License, either version 1.3c % 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. +% version 2008/05/04 or later. % % This work has the LPPL maintenance status `maintained'. % diff --git a/macros/latex/contrib/chemmacros/chemmacros.module.newman.code.tex b/macros/latex/contrib/chemmacros/chemmacros.module.newman.code.tex index 69754e8a2d..9c76113721 100644 --- a/macros/latex/contrib/chemmacros/chemmacros.module.newman.code.tex +++ b/macros/latex/contrib/chemmacros/chemmacros.module.newman.code.tex @@ -14,12 +14,12 @@ % Copyright 2011--2020 Clemens Niederberger % % This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either version 1.3 +% conditions of the LaTeX Project Public License, either version 1.3c % 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. +% version 2008/05/04 or later. % % This work has the LPPL maintenance status `maintained'. % diff --git a/macros/latex/contrib/chemmacros/chemmacros.module.nomenclature.code.tex b/macros/latex/contrib/chemmacros/chemmacros.module.nomenclature.code.tex index 0b9bbf64b8..05a80488d2 100644 --- a/macros/latex/contrib/chemmacros/chemmacros.module.nomenclature.code.tex +++ b/macros/latex/contrib/chemmacros/chemmacros.module.nomenclature.code.tex @@ -14,12 +14,12 @@ % Copyright 2011--2020 Clemens Niederberger % % This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either version 1.3 +% conditions of the LaTeX Project Public License, either version 1.3c % 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. +% version 2008/05/04 or later. % % This work has the LPPL maintenance status `maintained'. % diff --git a/macros/latex/contrib/chemmacros/chemmacros.module.orbital.code.tex b/macros/latex/contrib/chemmacros/chemmacros.module.orbital.code.tex index 4671eb3ea7..6f9f018322 100644 --- a/macros/latex/contrib/chemmacros/chemmacros.module.orbital.code.tex +++ b/macros/latex/contrib/chemmacros/chemmacros.module.orbital.code.tex @@ -14,12 +14,12 @@ % Copyright 2011--2020 Clemens Niederberger % % This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either version 1.3 +% conditions of the LaTeX Project Public License, either version 1.3c % 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. +% version 2008/05/04 or later. % % This work has the LPPL maintenance status `maintained'. % diff --git a/macros/latex/contrib/chemmacros/chemmacros.module.particles.code.tex b/macros/latex/contrib/chemmacros/chemmacros.module.particles.code.tex index 3149f9789f..24a0ac2e37 100644 --- a/macros/latex/contrib/chemmacros/chemmacros.module.particles.code.tex +++ b/macros/latex/contrib/chemmacros/chemmacros.module.particles.code.tex @@ -14,12 +14,12 @@ % Copyright 2011--2020 Clemens Niederberger % % This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either version 1.3 +% conditions of the LaTeX Project Public License, either version 1.3c % 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. +% version 2008/05/04 or later. % % This work has the LPPL maintenance status `maintained'. % diff --git a/macros/latex/contrib/chemmacros/chemmacros.module.phases.code.tex b/macros/latex/contrib/chemmacros/chemmacros.module.phases.code.tex index d305470efa..49b19ee9c8 100644 --- a/macros/latex/contrib/chemmacros/chemmacros.module.phases.code.tex +++ b/macros/latex/contrib/chemmacros/chemmacros.module.phases.code.tex @@ -14,12 +14,12 @@ % Copyright 2011--2020 Clemens Niederberger % % This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either version 1.3 +% conditions of the LaTeX Project Public License, either version 1.3c % 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. +% version 2008/05/04 or later. % % This work has the LPPL maintenance status `maintained'. % diff --git a/macros/latex/contrib/chemmacros/chemmacros.module.polymers.code.tex b/macros/latex/contrib/chemmacros/chemmacros.module.polymers.code.tex index d316a3b188..39a4e54fd9 100644 --- a/macros/latex/contrib/chemmacros/chemmacros.module.polymers.code.tex +++ b/macros/latex/contrib/chemmacros/chemmacros.module.polymers.code.tex @@ -14,12 +14,12 @@ % Copyright 2011--2020 Clemens Niederberger % % This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either version 1.3 +% conditions of the LaTeX Project Public License, either version 1.3c % 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. +% version 2008/05/04 or later. % % This work has the LPPL maintenance status `maintained'. % diff --git a/macros/latex/contrib/chemmacros/chemmacros.module.reactions.code.tex b/macros/latex/contrib/chemmacros/chemmacros.module.reactions.code.tex index 0d2161cc2b..504a9a58b3 100644 --- a/macros/latex/contrib/chemmacros/chemmacros.module.reactions.code.tex +++ b/macros/latex/contrib/chemmacros/chemmacros.module.reactions.code.tex @@ -14,12 +14,12 @@ % Copyright 2011--2020 Clemens Niederberger % % This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either version 1.3 +% conditions of the LaTeX Project Public License, either version 1.3c % 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. +% version 2008/05/04 or later. % % This work has the LPPL maintenance status `maintained'. % diff --git a/macros/latex/contrib/chemmacros/chemmacros.module.redox.code.tex b/macros/latex/contrib/chemmacros/chemmacros.module.redox.code.tex index f3f8b29a2d..c012a73b10 100644 --- a/macros/latex/contrib/chemmacros/chemmacros.module.redox.code.tex +++ b/macros/latex/contrib/chemmacros/chemmacros.module.redox.code.tex @@ -14,12 +14,12 @@ % Copyright 2011--2020 Clemens Niederberger % % This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either version 1.3 +% conditions of the LaTeX Project Public License, either version 1.3c % 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. +% version 2008/05/04 or later. % % This work has the LPPL maintenance status `maintained'. % diff --git a/macros/latex/contrib/chemmacros/chemmacros.module.scheme.code.tex b/macros/latex/contrib/chemmacros/chemmacros.module.scheme.code.tex index 97e1a11cb0..82df4d1624 100644 --- a/macros/latex/contrib/chemmacros/chemmacros.module.scheme.code.tex +++ b/macros/latex/contrib/chemmacros/chemmacros.module.scheme.code.tex @@ -14,18 +14,18 @@ % Copyright 2011--2020 Clemens Niederberger % % This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either version 1.3 +% conditions of the LaTeX Project Public License, either version 1.3c % 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. +% version 2008/05/04 or later. % % This work has the LPPL maintenance status `maintained'. % % The Current Maintainer of this work is Clemens Niederberger. % -------------------------------------------------------------------------- -\ChemModule{scheme}{2020/02/02 a scheme floating environment} +\ChemModule{scheme}{2020/11/21 a scheme floating environment} \RequirePackage {chemnum} @@ -222,10 +222,13 @@ \legacy_if:nTF {@twocolumn} { \@restonecoltrue\onecolumn } { \@restonecolfalse } - \exp_args:NNx \chapter* {\exp_not:c {list#1name}} - \@mkboth - { \MakeUppercase \use:c {list#1name} } - { \MakeUppercase \use:c {list#1name} } + \chapter* { \use:c {list#1name} } + \use:x + { + \exp_not:N \@mkboth + { \exp_not:N \MakeUppercase \exp_not:c {list#1name} } + { \exp_not:N \MakeUppercase \exp_not:c {list#1name} } + } \@starttoc {#2} \legacy_if:nT {@restonecol} { \twocolumn } } @@ -233,10 +236,13 @@ { \cs_new_protected:cpn {listof#1s} { - \exp_args:NNx \section* {\exp_not:c {list#1name}} - \@mkboth - { \MakeUppercase \use:c {list#1name} } - { \MakeUppercase \use:c {list#1name} } + \section* {\use:c {list#1name}} + \use:x + { + \exp_not:N \@mkboth + { \exp_not:N \MakeUppercase \exp_not:c {list#1name} } + { \exp_not:N \MakeUppercase \exp_not:c {list#1name} } + } \@starttoc {#2} } } @@ -324,3 +330,4 @@ 2019/03/23 - added Norwegian translations 2020/02/03 - lazy boolean evaluation - prefer \legacy_if:nTF over \chemmacros_if_tex:nnTF +2020/11/21 - fix issue #41 diff --git a/macros/latex/contrib/chemmacros/chemmacros.module.spectroscopy.code.tex b/macros/latex/contrib/chemmacros/chemmacros.module.spectroscopy.code.tex index c7e7037829..4f5a1914ea 100644 --- a/macros/latex/contrib/chemmacros/chemmacros.module.spectroscopy.code.tex +++ b/macros/latex/contrib/chemmacros/chemmacros.module.spectroscopy.code.tex @@ -14,18 +14,18 @@ % Copyright 2011--2020 Clemens Niederberger % % This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either version 1.3 +% conditions of the LaTeX Project Public License, either version 1.3c % 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. +% version 2008/05/04 or later. % % This work has the LPPL maintenance status `maintained'. % % The Current Maintainer of this work is Clemens Niederberger. % -------------------------------------------------------------------------- -\ChemModule{spectroscopy}{2020/02/02 environment for spectroscopic data} +\ChemModule{spectroscopy}{2020/11/21 environment for spectroscopic data} \chemmacros_load_modules:n {chemformula} \RequirePackage{siunitx} @@ -205,6 +205,7 @@ pos-number / side .code:n = \tl_set:Nn \l__chemmacros_nmr_position_tl {-} \bool_set_true:N \l__chemmacros_nmr_position_side_bool , + pos-number / .initial:n = side , coupling-unit .tl_set:N = \l__chemmacros_nmr_coupling_unit_tl , coupling-pos .choice: , coupling-pos / sub .code:n = @@ -414,7 +415,7 @@ \bool_if:NF \l__chemmacros_nmr_position_side_bool { \exp_not:V \l__chemmacros_nmr_position_tl - \exp_not:n { {#1} } + \exp_not:n { _{#1} } } } \bool_if:NT \l__chemmacros_nmr_position_side_bool @@ -511,3 +512,4 @@ 2015/12/31 - new option `atom-number-space' 2017/01/27 - new option `nmr-base-format' 2020/02/02 - lazy boolean evaluation +2020/11/21 - fix issue #34 diff --git a/macros/latex/contrib/chemmacros/chemmacros.module.symbols.code.tex b/macros/latex/contrib/chemmacros/chemmacros.module.symbols.code.tex index ebf201330d..9f2ab0b368 100644 --- a/macros/latex/contrib/chemmacros/chemmacros.module.symbols.code.tex +++ b/macros/latex/contrib/chemmacros/chemmacros.module.symbols.code.tex @@ -14,12 +14,12 @@ % Copyright 2011--2020 Clemens Niederberger % % This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either version 1.3 +% conditions of the LaTeX Project Public License, either version 1.3c % 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. +% version 2008/05/04 or later. % % This work has the LPPL maintenance status `maintained'. % diff --git a/macros/latex/contrib/chemmacros/chemmacros.module.thermodynamics.code.tex b/macros/latex/contrib/chemmacros/chemmacros.module.thermodynamics.code.tex index 424054f1c0..4b4ddc6e63 100644 --- a/macros/latex/contrib/chemmacros/chemmacros.module.thermodynamics.code.tex +++ b/macros/latex/contrib/chemmacros/chemmacros.module.thermodynamics.code.tex @@ -14,12 +14,12 @@ % Copyright 2011--2020 Clemens Niederberger % % This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either version 1.3 +% conditions of the LaTeX Project Public License, either version 1.3c % 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. +% version 2008/05/04 or later. % % This work has the LPPL maintenance status `maintained'. % diff --git a/macros/latex/contrib/chemmacros/chemmacros.module.tikz.code.tex b/macros/latex/contrib/chemmacros/chemmacros.module.tikz.code.tex index 11d1e9bd81..660107e52c 100644 --- a/macros/latex/contrib/chemmacros/chemmacros.module.tikz.code.tex +++ b/macros/latex/contrib/chemmacros/chemmacros.module.tikz.code.tex @@ -14,12 +14,12 @@ % Copyright 2011--2020 Clemens Niederberger % % This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either version 1.3 +% conditions of the LaTeX Project Public License, either version 1.3c % 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. +% version 2008/05/04 or later. % % This work has the LPPL maintenance status `maintained'. % diff --git a/macros/latex/contrib/chemmacros/chemmacros.module.units.code.tex b/macros/latex/contrib/chemmacros/chemmacros.module.units.code.tex index e8c4595af8..404cdbdc4d 100644 --- a/macros/latex/contrib/chemmacros/chemmacros.module.units.code.tex +++ b/macros/latex/contrib/chemmacros/chemmacros.module.units.code.tex @@ -14,12 +14,12 @@ % Copyright 2011--2020 Clemens Niederberger % % This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either version 1.3 +% conditions of the LaTeX Project Public License, either version 1.3c % 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. +% version 2008/05/04 or later. % % This work has the LPPL maintenance status `maintained'. % diff --git a/macros/latex/contrib/chemmacros/chemmacros.module.xfrac.code.tex b/macros/latex/contrib/chemmacros/chemmacros.module.xfrac.code.tex index a013d9b6af..656c03426b 100644 --- a/macros/latex/contrib/chemmacros/chemmacros.module.xfrac.code.tex +++ b/macros/latex/contrib/chemmacros/chemmacros.module.xfrac.code.tex @@ -14,12 +14,12 @@ % Copyright 2011--2020 Clemens Niederberger % % This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either version 1.3 +% conditions of the LaTeX Project Public License, either version 1.3c % 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. +% version 2008/05/04 or later. % % This work has the LPPL maintenance status `maintained'. % diff --git a/macros/latex/contrib/chemmacros/chemmacros.sty b/macros/latex/contrib/chemmacros/chemmacros.sty index f994ff6271..e56c628476 100644 --- a/macros/latex/contrib/chemmacros/chemmacros.sty +++ b/macros/latex/contrib/chemmacros/chemmacros.sty @@ -15,12 +15,12 @@ % Copyright 2011--2020 Clemens Niederberger % % This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either version 1.3 +% conditions of the LaTeX Project Public License, either version 1.3c % 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. +% and version 1.3c or later is part of all distributions of LaTeX +% version 2008/05/04 or later. % % This work has the LPPL maintenance status `maintained'. % @@ -31,10 +31,10 @@ % -------------------------------------------------------------------------- % package information: -\tl_const:Nn \c_chemmacros_date_tl {2020/03/07} +\tl_const:Nn \c_chemmacros_date_tl {2020/11/21} \tl_const:Nn \c_chemmacros_version_major_number_tl {5} \tl_const:Nn \c_chemmacros_version_minor_number_tl {11} -\tl_const:Nn \c_chemmacros_version_subrelease_tl {} +\tl_const:Nn \c_chemmacros_version_subrelease_tl {a} \tl_const:Nx \c_chemmacros_version_number_tl { \c_chemmacros_version_major_number_tl . diff --git a/macros/latex/contrib/chemmacros/chemmacros4.sty b/macros/latex/contrib/chemmacros/chemmacros4.sty index bb392f5afd..650837e701 100644 --- a/macros/latex/contrib/chemmacros/chemmacros4.sty +++ b/macros/latex/contrib/chemmacros/chemmacros4.sty @@ -15,12 +15,12 @@ % Copyright 2011--2020 Clemens Niederberger % % This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either version 1.3 +% conditions of the LaTeX Project Public License, either version 1.3c % 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. +% version 2008/05/04 or later. % % This work has the LPPL maintenance status `maintained'. % diff --git a/macros/latex/contrib/chemmacros/chemmacros5.sty b/macros/latex/contrib/chemmacros/chemmacros5.sty index e82088aa27..c685fefa70 100644 --- a/macros/latex/contrib/chemmacros/chemmacros5.sty +++ b/macros/latex/contrib/chemmacros/chemmacros5.sty @@ -15,12 +15,12 @@ % Copyright 2011--2020 Clemens Niederberger % % This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either version 1.3 +% conditions of the LaTeX Project Public License, either version 1.3c % 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. +% version 2008/05/04 or later. % % This work has the LPPL maintenance status `maintained'. % diff --git a/macros/latex/contrib/hyperxmp/hyperxmp-add-bytecount.1 b/macros/latex/contrib/hyperxmp/hyperxmp-add-bytecount.1 new file mode 100644 index 0000000000..e1aa4c8b90 --- /dev/null +++ b/macros/latex/contrib/hyperxmp/hyperxmp-add-bytecount.1 @@ -0,0 +1,36 @@ +.TH HYPERXMP-ADD-BYTECOUNT 1 "22 November 2020" "v1.1" +.SH NAME +hyperxmp-add-bytecount \- adds/updates byteCount specification in XMP +packet in PDF file. +.SH SYNOPSIS +.B hyperxmp-add-bytecount +.RI [ options ] +.IR filename.pdf ... +.SH DESCRIPTION +\fBhyperxmp-add-bytecount\fP adds/updates the \fCbyteCount\fP +specification in the XMP packet in a PDF file(s), with \fCbyteCount\fP += file size. The XMP packet needs to be of, or compatible with, the +format produced from a document that uses +.UR https://ctan.org/pkg/hyperxmp +the +.ie t L\h'-0.36'\v'-0.15'\s-2A\s+2\v'0.15'\h'-0.15'T\h'-0.1667'\v'0.2'E\v'-0.2'\h'-0.125'X +.el LaTeX +hyperxmp package +.UE . +.PP +If no XMP packet of a compatible form is found in the PDF file, no +change is made to the file. +.SH OPTIONS +.IP \fB-help\fP +Write usage summary and exit. +.IP \fB-version\fP +Output version information and exit. +.SH BUGS +Email bug reports to +.MT jcc8@psu.edu +John Collins +.ME +and/or +.MT scott+hyxmp@pakin.org +Scott Pakin +.ME . diff --git a/macros/latex/contrib/hyperxmp/add_byteCount.pl b/macros/latex/contrib/hyperxmp/hyperxmp-add-bytecount.pl index 0cfa3e094f..8d965a63f5 100644..100755 --- a/macros/latex/contrib/hyperxmp/add_byteCount.pl +++ b/macros/latex/contrib/hyperxmp/hyperxmp-add-bytecount.pl @@ -1,22 +1,48 @@ #!/usr/bin/env perl use warnings; -$name = 'add_byteCount.pl'; -$version = '1.1 2020/11/15'; +############################################################# +############################################################# + +######################################################################## +# hyperxmp-add-bytecount # +# Adds/updates byteCount specification in XMP packet in pdf file(s) # +# made by hyperxmp, with byteCount = file size. # +# Copyright (C) 2020 John Collins <jcc8@psu.edu> # +# and Scott Pakin, <scott+hyxmp@pakin.org> # +# # +# This program may be distributed and/or modified under the conditions # +# of the LaTeX Project Public License, either version 1.3c 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.3c or later is part of all distributions of LaTeX # +# version 2008/05/04 or later. # +######################################################################## + +$name = 'hyperref-add-bytecount'; +$version = '1.1-2020-11-20'; $maintainer - = 'John Collins, jcc8@psu.edu; Scott Pakin, scott+hyperxmp@pakin.org'; + = 'John Collins, jcc8@psu.edu; Scott Pakin, scott+hyxmp@pakin.org'; my $exit_code = 0; if ( (! @ARGV) || ($ARGV[0] =~ /^(-|--)(h|help)$/) ) { - print "$name, ver. $version.\n", - "Usage '$name pdf_filename(s)'\n", - "Adds byteCount specification to XMP packet in pdf file(s) from hyperxmp,\n", - "with byteCount = file size.\n", + print "$name $version.\n", + "Usage: $name [options] pdf_filename(s)\n", + " Adds/updates byteCount specification in XMP packet in pdf file(s) from\n", + " hyperxmp, with byteCount = file size.\n", + " No change if there's no XMP packet of the form produced by hyperxmp.\n", + "Options:\n", + " -help or -h Output usage information.\n", + " -version or -v Output version information.\n", "Bug reports to:\n $maintainer.\n"; exit; } elsif ( $ARGV[0] =~ /^(-|--)(v|version)$/ ) { - print "$name, ver. $version.\n", + print "$name $version.\n", "Bug reports to:\n $maintainer.\n"; exit; } @@ -120,7 +146,7 @@ sub xmp_get_mod { $len_padding = 0; $xmp_after_line = ''; - + my $bC_index = -1; my $xmp_end_found = 0; my $decl_bC_found = 0; diff --git a/macros/latex/contrib/hyperxmp/hyperxmp.dtx b/macros/latex/contrib/hyperxmp/hyperxmp.dtx index 47968aed38..4fad6b29d0 100644 --- a/macros/latex/contrib/hyperxmp/hyperxmp.dtx +++ b/macros/latex/contrib/hyperxmp/hyperxmp.dtx @@ -22,7 +22,7 @@ %<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01] %<package>\ProvidesPackage{hyperxmp} %<*package> - [2020/11/18 v5.8 Store hyperref metadata in XMP format] + [2020/11/22 v5.9 Store hyperref metadata in XMP format] %</package> % %<*driver> @@ -1495,15 +1495,17 @@ % the byte count to converge relative to the the number of compilations % that would otherwise be required. % -% Starting with \pkgname{hyperxmp}~v5.8, the \pkgname{hyperxmp} +% Starting with \pkgname{hyperxmp}~v5.9, the \pkgname{hyperxmp} % distribution includes a Perl\index{Perl} script called -% \progname{add\_byteCount} that edits a \acro{PDF} file in place, -% adding or replacing the \xmpprop{prism:byteCount} property with one -% that specifies the final file size. Run the script as -% ``\progname{add\_byteCount} \meta{filename.pdf}''. +% \progname{hyperxmp-add-bytecount} that edits a \acro{PDF} file in +% place, adding or replacing the \xmpprop{prism:byteCount} property with +% one that specifies the final file size.\footnote{The script was in +% fact introduced with \progname{hyperxmp}~v5.8 and was then called +% \texttt{add\_byteCount}.} Run the script as +% ``\progname{hyperxmp-add-bytecount} \meta{filename.pdf}''. % % The \progname{latexmk} build tool can be configured to run -% \progname{add\_byteCount} automatically every time a \acro{PDF} file +% \progname{hyperxmp-add-bytecount} automatically every time a \acro{PDF} file % is generated. Simply add the code shown in Figure~\ref{fig:latexmkrc} % to your \progname{latexmk} configuration file. See % \href{http://mirrors.ctan.org/support/latexmk/latexmk.pdf}{the @@ -1515,6 +1517,9 @@ % \protect\progname{add\_byteCount} script and document some sample % \protect\progname{latexmk} configuration code that invokes it. % Thanks to John Collins for providing both of those} +% \changes{v5.9}{2020/11/22}{At Karl Berry's request, rename +% \protect\progname{add\_byteCount} to the less generic-sounding +% \protect\progname{hyperxmp-add-bytecount}} % % \iffalse %<*listings> @@ -1528,17 +1533,18 @@ frame=single, basicstyle=\footnotesize, showstringspaces=false, - upquote=true + upquote=true, + literate={-}{-}{1} ] foreach my $cmd ( "latex", "lualatex", "pdflatex", "xelatex", "dvipdf", "xdvipdfmx", "ps2pdf" ) { - ${$cmd} = "internal mycmd4 ${$cmd}"; + ${$cmd} = "internal mycmd ${$cmd}"; } -sub mycmd4 { +sub mycmd { my $retval = system @_; if ( $$Pdest =~ /\.pdf$/ ) { - system 'add_byteCount', $$Pdest; + system 'hyperxmp-add-bytecount', $$Pdest; } return $retval; } @@ -1552,7 +1558,7 @@ sub mycmd4 { % \centering % \usebox{\latexmkrcbox} % \caption{ \progname{latexmk} configuration-file code for -% automatically invoking \progname{add\_byteCount} every time a +% automatically invoking \progname{hyperxmp-add-bytecount} every time a % \acro{PDF} file is generated} % \label{fig:latexmkrc} % \end{figure} diff --git a/macros/latex/contrib/hyperxmp/hyperxmp.pdf b/macros/latex/contrib/hyperxmp/hyperxmp.pdf Binary files differindex 80892a532a..f11adaee15 100644 --- a/macros/latex/contrib/hyperxmp/hyperxmp.pdf +++ b/macros/latex/contrib/hyperxmp/hyperxmp.pdf |