diff options
author | Karl Berry <karl@freefriends.org> | 2016-04-02 22:19:48 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-04-02 22:19:48 +0000 |
commit | 54aa09d5d6925008eb25609ce953c1b99fd2d2c7 (patch) | |
tree | d8e052725306f427e156556aeb2bec689f8245cc /Master/texmf-dist/tex/latex/tools/varioref.sty | |
parent | 54e58adfc76118f03b1bd2f7dedfb2140dce7696 (diff) |
latex2e (1apr16), now including amsmath
git-svn-id: svn://tug.org/texlive/trunk@40218 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/tools/varioref.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/tools/varioref.sty | 41 |
1 files changed, 18 insertions, 23 deletions
diff --git a/Master/texmf-dist/tex/latex/tools/varioref.sty b/Master/texmf-dist/tex/latex/tools/varioref.sty index c333ac0603d..3bb0f149ec9 100644 --- a/Master/texmf-dist/tex/latex/tools/varioref.sty +++ b/Master/texmf-dist/tex/latex/tools/varioref.sty @@ -35,7 +35,7 @@ %% given in the file `manifest.txt'. %% %% Package varioref to use with LaTeX2e -%% Copyright (C) 1992-2015 Frank Mittelbach, all rights reserved. +%% Copyright (C) 1992-2016 Frank Mittelbach, all rights reserved. %% %% For additions or updates to the language options please contact %% the author at @@ -46,24 +46,10 @@ %% \NeedsTeXFormat{LaTeX2e}[1995/05/16] \ProvidesPackage{varioref} - [2015/09/22 v1.5b 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 -%% Digits \0\1\2\3\4\5\6\7\8\9 -%% Exclamation \! Double quote \" Hash (number) \# -%% Dollar \$ Percent \% Ampersand \& -%% Acute accent \' Left paren \( Right paren \) -%% Asterisk \* Plus \+ Comma \, -%% Minus \- Point \. Solidus \/ -%% Colon \: Semicolon \; Less than \< -%% Equals \= Greater than \> Question mark \? -%% Commercial at \@ Left bracket \[ Backslash \\ -%% Right bracket \] Circumflex \^ Underscore \_ -%% Grave accent \` Left brace \{ Vertical bar \| -%% Right brace \} Tilde \~} + [2016/02/16 v1.5c package for extended references (FMi)] %% + \def\vref@addto#1#2{% #2% \@temptokena{#2}% @@ -649,12 +635,17 @@ \global\advance\c@vrcnt\@ne \vref@pagenum\@tempa{\the\c@vrcnt @vr}% \vref@pagenum\@tempb{\the\c@vrcnt @xvr}% - \vref@label{\the\c@vrcnt @xvr}% - \ifx\@tempa\@tempb\else - \vref@err{\noexpand\vref or \noexpand\vpageref at page boundary + \vref@label{\the\c@vrcnt @xvr}% + \ifx\@tempa\@tempb + \let\vref@may@loop\relax + \else + \edef\vref@may@loop{% + \noexpand\vref@err{\noexpand\vref or \noexpand\vpageref + at page boundary \@tempb-\@tempa\space (may loop)% }% - \fi + }% + \fi \vrefpagenum\thevpagerefnum{#3}% \vref@space \ifx\@tempa\thevpagerefnum @@ -696,13 +687,17 @@ \fi \fi \else - \reftextfaraway{#3}% + \let\vref@may@loop\relax % added + \reftextfaraway{#3}% \fi \fi }% - {\reftextfaraway{#3}}% + {% + \let\vref@may@loop\relax %added + \reftextfaraway{#3}}% \fi \vref@label{\the\c@vrcnt @vr}% + \vref@may@loop } \def\vref@label#1{\@bsphack \protected@write\@auxout{}% |