| 1 |
%% |
| 2 |
%% This is file `lwarp-citeref.sty', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% lwarp.dtx (with options: `citeref') |
| 8 |
%% This is a generated file. |
| 9 |
%% Copyright 2016-2026 Brian Dunn |
| 10 |
%% |
| 11 |
%% This work may be distributed and/or modified under the |
| 12 |
%% conditions of the LaTeX Project Public License, either version 1.3 |
| 13 |
%% of this license or (at your option) any later version. |
| 14 |
%% The latest version of this license is in |
| 15 |
%% http://www.latex-project.org/lppl.txt |
| 16 |
%% and version 1.3 or later is part of all distributions of LaTeX |
| 17 |
%% version 2005/12/01 or later. |
| 18 |
\LWR@ProvidesPackagePass{citeref}[1999/27/05] |
| 19 |
\def\@cprwrite#1={% |
| 20 |
\write\@auxout{\string\citepageref{#1}{\theLWR@previousautopagelabel}}% |
| 21 |
} |
| 22 |
|
| 23 |
\VerifyCommand[lwarp][citeref]{\citepageref} |
| 24 |
{F5E07AE6603C65E9398417D6D392825D} |
| 25 |
|
| 26 |
\def\citepageref#1#2{% |
| 27 |
\xdef\cpr@testa{\@nameuse{cpr@last@#1}}%letzte Zitatstelle |
| 28 |
\xdef\cpr@testb{#2}% Seite dieser Zitatstelle |
| 29 |
\ifx\cpr@testa\cpr@testb% |
| 30 |
\relax% Konsekutive identische Seitenangaben weglassen |
| 31 |
\else% |
| 32 |
\@namexdef{cpr@last@#1}{#2}% |
| 33 |
\@ifundefined{cpr@#1}% |
| 34 |
{\@namexdef{cpr@#1}{\LWR@refwithsection{\BaseJobname-autopage-#2}}}% lwarp |
| 35 |
{% lwarp |
| 36 |
\@namexdef{cpr@#1}{\@nameuse{cpr@#1}, % space |
| 37 |
\LWR@refwithsection{\BaseJobname-autopage-#2}}% |
| 38 |
}% |
| 39 |
\fi |
| 40 |
} |
| 41 |
|
| 42 |
\endinput |
| 43 |
%% |
| 44 |
%% End of file `lwarp-citeref.sty'. |