summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/macros2e/extlabels.sty
blob: a3570f3d466634f6b7eb5364cc4405db0ce5a8ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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}%
}