summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/chemnum/README4
-rw-r--r--Master/texmf-dist/doc/latex/chemnum/chemnum_de.pdfbin944070 -> 944066 bytes
-rw-r--r--Master/texmf-dist/doc/latex/chemnum/chemnum_en.pdfbin934681 -> 934683 bytes
-rw-r--r--Master/texmf-dist/tex/latex/chemnum/chemnum.sty24
4 files changed, 20 insertions, 8 deletions
diff --git a/Master/texmf-dist/doc/latex/chemnum/README b/Master/texmf-dist/doc/latex/chemnum/README
index 37da01c4b15..455aec52ce8 100644
--- a/Master/texmf-dist/doc/latex/chemnum/README
+++ b/Master/texmf-dist/doc/latex/chemnum/README
@@ -1,4 +1,4 @@
-chemnum v0.5c
+chemnum v0.5d
a comprehensive approach for the numbering of chemical compounds
Basically one main command is provided, \cmpd{<label name>}. With
@@ -12,7 +12,7 @@ chemnum also needs the packages etoolbox, psfrag and textgreek or bm
to be fully functioning.
Clemens NIEDERBERGER
-2012/07/24
+2012/08/15
http://www.mychemistry.eu/
contact@mychemistry.eu
diff --git a/Master/texmf-dist/doc/latex/chemnum/chemnum_de.pdf b/Master/texmf-dist/doc/latex/chemnum/chemnum_de.pdf
index 8042540ea2c..b5534b65456 100644
--- a/Master/texmf-dist/doc/latex/chemnum/chemnum_de.pdf
+++ b/Master/texmf-dist/doc/latex/chemnum/chemnum_de.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/chemnum/chemnum_en.pdf b/Master/texmf-dist/doc/latex/chemnum/chemnum_en.pdf
index be5e71667ce..b179779c904 100644
--- a/Master/texmf-dist/doc/latex/chemnum/chemnum_en.pdf
+++ b/Master/texmf-dist/doc/latex/chemnum/chemnum_en.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/chemnum/chemnum.sty b/Master/texmf-dist/tex/latex/chemnum/chemnum.sty
index de0c482a20d..6e10487e00c 100644
--- a/Master/texmf-dist/tex/latex/chemnum/chemnum.sty
+++ b/Master/texmf-dist/tex/latex/chemnum/chemnum.sty
@@ -3,7 +3,7 @@
% - a comprehensive approach for the numbering of chemical compounds
% -----------------------------------------------------------------------------
% - Clemens NIEDERBERGER
-% - 2012/05/17
+% - 2012/08/15
% - contact@mychemistry.eu
% -----------------------------------------------------------------------------
% - If you have any ideas, questions, suggestions or bugs to report, please
@@ -31,8 +31,8 @@
\ProvidesExplPackage
{chemnum}
- {2012/07/24}
- {0.5c}
+ {2012/08/15}
+ {0.5d}
{An approach for the numbering of chemical compounds}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -57,14 +57,14 @@
}
\tex_endinput:D
}
-\@ifpackagelater { expl3 } { 2011/09/17 }
+\@ifpackagelater { expl3 } { 2011/12/27 }
{ }
{
\msg_error:nnx { chemnum } { support-outdated } { expl3 }
\tex_endinput:D
}
-\@ifpackagelater { xparse } { 2011/09/17 }
+\@ifpackagelater { xparse } { 2011/12/27 }
{ }
{
\msg_error:nnx { chemnum } { support-outdated } { xparse }
@@ -1476,7 +1476,18 @@
\int_use:N \l_chemnum_cmpdref_int
}
}
- { \tl_set:Nn \l_chemnum_cmpdref_tl { #2 } }
+ {
+ \tl_if_blank:nTF { #2 }
+ {
+ \int_incr:N \l_chemnum_cmpdref_int
+ \tl_set:No \l_chemnum_cmpdref_tl
+ {
+ \tl_use:N \l_chemnum_cmpdref_marker_tl
+ \int_use:N \l_chemnum_cmpdref_int
+ }
+ }
+ { \tl_set:Nn \l_chemnum_cmpdref_tl { #2 } }
+ }
\IfNoValueTF { #3 }
{
% need to call it once invisible in case it's the first time the label
@@ -1666,6 +1677,7 @@ HISTORY:
https://groups.google.com/d/topic/de.comp.text.tex/LF0knPIuqrM/discussio
for possible reasons why
2012/07/24 version 0.5c - adapted to changes in l3kernel
+ 2012/08/15 version 0.5d - fixed bug in \cmpdref
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% TODO:
- add a possibility to \ref{} the compounds