summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tools
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-08-12 00:23:14 +0000
committerKarl Berry <karl@freefriends.org>2011-08-12 00:23:14 +0000
commitfe1d1302556e0520cfc543b149bb0b27b06cb2de (patch)
tree315cea97f67b340ad6dea168ea439a6a2768ceb7 /Master/texmf-dist/tex/latex/tools
parent4ef16cc33e3975ee384eb75c8c120d53c402ff3a (diff)
tools update for varioref (11aug11)
git-svn-id: svn://tug.org/texlive/trunk@23504 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/tools')
-rw-r--r--Master/texmf-dist/tex/latex/tools/varioref.sty19
1 files changed, 11 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/tools/varioref.sty b/Master/texmf-dist/tex/latex/tools/varioref.sty
index 6df5db8ee63..b4a5f5ed172 100644
--- a/Master/texmf-dist/tex/latex/tools/varioref.sty
+++ b/Master/texmf-dist/tex/latex/tools/varioref.sty
@@ -32,7 +32,7 @@
%% given in the file `manifest.txt'.
%%
%% Package varioref to use with LaTeX2e
-%% Copyright (C) 1992-2010 Frank Mittelbach, all rights reserved.
+%% Copyright (C) 1992-2011 Frank Mittelbach, all rights reserved.
%%
%% For additions or updates to the language options please contact
%% the author at
@@ -43,7 +43,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[1995/05/16]
\ProvidesPackage{varioref}
- [2010/11/12 v1.4y package for extended references (FMi)]
+ [2011/07/27 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,12 +729,15 @@
\def\fullref#1{\ref{#1} \reftextfaraway{#1}}
\def\vref@pagenum#1#2{%
\@ifundefined{r@#2}{\@namedef{r@#2}{{??}{??}}}{}%
- \expandafter\expandafter\expandafter
- \def\expandafter\expandafter\expandafter
- #1\expandafter\expandafter\expandafter
- {\expandafter\expandafter\expandafter
- \@cdr\csname r@#2\endcsname
- \@nil}%
+ \expandafter\def\expandafter#1\expandafter{%
+ \romannumeral
+ \expandafter\expandafter\expandafter
+ \z@
+ \expandafter \@cdr
+ \romannumeral
+ \expandafter\expandafter\expandafter
+ \z@
+ \csname r@#2\endcsname\@nil}%
}
\def\vrefpagenum#1#2{%
\@ifundefined{r@#2}%