From 1905e62be6b4a509d2afd3b48576741df8ec7e94 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 9 Oct 2011 23:49:45 +0000 Subject: tools (8oct11) git-svn-id: svn://tug.org/texlive/trunk@24253 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/tools/varioref.sty | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'Master/texmf-dist/tex/latex/tools') diff --git a/Master/texmf-dist/tex/latex/tools/varioref.sty b/Master/texmf-dist/tex/latex/tools/varioref.sty index b4a5f5ed172..ababf87e083 100644 --- a/Master/texmf-dist/tex/latex/tools/varioref.sty +++ b/Master/texmf-dist/tex/latex/tools/varioref.sty @@ -43,7 +43,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1995/05/16] \ProvidesPackage{varioref} - [2011/07/27 v1.4z package for extended references (FMi)] + [2011/10/02 v1.4z package for extended references (FMi)] %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z @@ -729,15 +729,11 @@ \def\fullref#1{\ref{#1} \reftextfaraway{#1}} \def\vref@pagenum#1#2{% \@ifundefined{r@#2}{\@namedef{r@#2}{{??}{??}}}{}% - \expandafter\def\expandafter#1\expandafter{% - \romannumeral - \expandafter\expandafter\expandafter - \z@ - \expandafter \@cdr - \romannumeral - \expandafter\expandafter\expandafter - \z@ - \csname r@#2\endcsname\@nil}% + \expandafter\expandafter\expandafter\vref@@pagenum + \csname r@#2\endcsname{}{}\@nil#1% +} +\def\vref@@pagenum#1#2#3\@nil#4{% + \def#4{#2}% } \def\vrefpagenum#1#2{% \@ifundefined{r@#2}% -- cgit v1.2.3