diff options
author | Karl Berry <karl@freefriends.org> | 2017-12-10 00:36:39 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-12-10 00:36:39 +0000 |
commit | 6c56b5f5fd8c901300518179a31ee34fcccd9e35 (patch) | |
tree | 23d00453fc6699b1b45752aec0d1ced5959fc5d4 /Master/texmf-dist/tex/latex | |
parent | 9a03dd60f3227afcfd242b9633edbc0d83ffd02e (diff) |
macros2e (9dec17)
git-svn-id: svn://tug.org/texlive/trunk@46026 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/macros2e/extlabels.sty | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/macros2e/extlabels.sty b/Master/texmf-dist/tex/latex/macros2e/extlabels.sty new file mode 100644 index 00000000000..a3570f3d466 --- /dev/null +++ b/Master/texmf-dist/tex/latex/macros2e/extlabels.sty @@ -0,0 +1,14 @@ +\RequirePackage{hyperref} +\RequirePackage{lipsum} +\RequirePackage{zref-user} +\RequirePackage{zref-abspos} + +\let\origDescribeMacro\DescribeMacro +\def\DescribeMacro#1{% + \edef\name{\expandafter\@gobble\string#1}% + \ifx\name\@backslashchar\else + \zsavepos{\expandafter\@gobble\string#1}% + \fi + \origDescribeMacro{#1}% +} + |