diff options
author | Karl Berry <karl@freefriends.org> | 2018-01-23 22:34:45 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-01-23 22:34:45 +0000 |
commit | ce07f5180b54e0229abae4d10288940c610afe31 (patch) | |
tree | feef3d1dc42bedb22d5648026a39b03388027167 /Master/texmf-dist/tex/latex/lwarp/lwarp-titleref.sty | |
parent | 607588e2b8c554ec8bfbe11f1391622768fe79c8 (diff) |
lwarp (23jan18)
git-svn-id: svn://tug.org/texlive/trunk@46416 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-titleref.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/lwarp/lwarp-titleref.sty | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-titleref.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-titleref.sty index dd8376af42f..8e9892773a1 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-titleref.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-titleref.sty @@ -15,7 +15,19 @@ %% http://www.latex-project.org/lppl.txt %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. -\LWR@loadnever{titleref}{hyperref and nameref} +\LWR@ProvidesPackageDrop{titleref} + +\LetLtxMacro\titleref\nameref + +\providecounter{LWR@currenttitle} + +\newcommand*{\currenttitle}{% + \addtocounter{LWR@currenttitle}{1}% + \label{currenttitle\arabic{LWR@currenttitle}}% + \nameref{currenttitle\arabic{LWR@currenttitle}}% +} + +\newcommand*{\theTitleReference}[2]{} \endinput %% %% End of file `lwarp-titleref.sty'. |