diff options
author | Karl Berry <karl@freefriends.org> | 2013-04-06 23:08:22 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-04-06 23:08:22 +0000 |
commit | c46fd24e323f57f51099643f008a2e27b0636a85 (patch) | |
tree | 6f13519851c09bbc464ce499efe03eb70e86eb01 /Master/texmf-dist/tex/latex/enotez | |
parent | 283cb784aab763554848601e47b470354a1eda95 (diff) |
enotez (6apr13)
git-svn-id: svn://tug.org/texlive/trunk@29696 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/enotez')
-rw-r--r-- | Master/texmf-dist/tex/latex/enotez/enotez.sty | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/enotez/enotez.sty b/Master/texmf-dist/tex/latex/enotez/enotez.sty index 18430f8f35b..07a6666c1fa 100644 --- a/Master/texmf-dist/tex/latex/enotez/enotez.sty +++ b/Master/texmf-dist/tex/latex/enotez/enotez.sty @@ -31,8 +31,8 @@ \RequirePackage{ expl3 , xparse , l3keys2e , xtemplate , etoolbox , xpatch , scrlfile } \ProvidesExplPackage {enotez} - {2013/03/18} - {0.5a} + {2013/04/06} + {0.6} {Endnotes for LaTeX2e} % -------------------------------------------------------------------------- @@ -164,6 +164,9 @@ \quark_if_no_value:nTF { #1 } { \int_gincr:N \g__enotez_endnote_mark_int + \cs_gset:cpx { @currentlabel } + { \enotez_counter_format:V \g__enotez_endnote_mark_int } + \cs_gset_eq:NN \theendnote \@currentlabel \enotez_write_mark:nn { \int_use:N \g__enotez_endnote_id_int } { \enotez_counter_format:V \g__enotez_endnote_mark_int } @@ -190,6 +193,8 @@ } } { + \cs_gset:cpx { @currentlabel } { #1 } + \cs_gset_eq:NN \theendnote \@currentlabel \enotez_write_mark:nn { \int_use:N \g__enotez_endnote_id_int } { #1 } \tl_set:Nn \l__enotez_tmpa_tl { chapter } \bool_if:nTF @@ -802,6 +807,8 @@ - fix wrong endnote marks when used with the `caption' package 2013/03/18 v0.5a - adapt to deprecated expl3 commands +2013/04/06 v0.6 - \endnote sets \@currentlabel so endnotes can be referenced + with \label{} and \ref{} % -------------------------------------------------------------------------- % TODO: |