summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/chemmacros/chemmacros.module.nomenclature.code.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-03-09 03:01:39 +0000
committerNorbert Preining <norbert@preining.info>2020-03-09 03:01:39 +0000
commit0561778af6f8fde0a3a1c334e2aab9a4f1142d6e (patch)
treec19fe45e4101aed56e7fb3602174c6a5e335d7d1 /macros/latex/contrib/chemmacros/chemmacros.module.nomenclature.code.tex
parenta8880a5ee484845d9a526c5ca8d21d31214af22b (diff)
CTAN sync 202003090301
Diffstat (limited to 'macros/latex/contrib/chemmacros/chemmacros.module.nomenclature.code.tex')
-rw-r--r--macros/latex/contrib/chemmacros/chemmacros.module.nomenclature.code.tex4
1 files changed, 4 insertions, 0 deletions
diff --git a/macros/latex/contrib/chemmacros/chemmacros.module.nomenclature.code.tex b/macros/latex/contrib/chemmacros/chemmacros.module.nomenclature.code.tex
index 3e5b6b616d..0b9bbf64b8 100644
--- a/macros/latex/contrib/chemmacros/chemmacros.module.nomenclature.code.tex
+++ b/macros/latex/contrib/chemmacros/chemmacros.module.nomenclature.code.tex
@@ -711,6 +711,8 @@
{
\group_begin:
\bool_set_true:N \l__chemmacros_inside_iupac_bool
+ \chemmacros_if_compatibility:nnT {>} {5.10}
+ { \bool_set_true:N \l__chemmacros_in_document_bool }
\chemmacros_set_keys:nn {nomenclature} {#1}
\chemmacros_make_iupac:
\chemmacros_make_shorthands:
@@ -972,3 +974,5 @@
it does nothing as last token in \iupac
2020/01/02 - \chemmacros_show_iupac:N
- \chemmacros_if_iupac:NTF
+2020/02/29 - let \chemmacros_iupac:nn think we're in the document – fixes
+ issue #30