%% %% This is file `upref.sty', %% generated with the docstrip utility. %% %% The original source files were: %% %% upref.dtx %% This is a generated file. %% %% Copyright 2008, 2010 American Mathematical Society. %% %% American Mathematical Society %% Technical Support %% Publications Technical Group %% 201 Charles Street %% Providence, RI 02904 %% USA %% tel: (401) 455-4080 %% (800) 321-4267 (USA and Canada only) %% fax: (401) 331-3842 %% email: tech-support@ams.org %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3c %% of this license or (at your option) any later version. %% The latest version of this license is in %% http://www.latex-project.org/lppl.txt %% and version 1.3c or later is part of all distributions of LaTeX %% version 2005/12/01 or later. %% %% This work has the LPPL maintenance status `maintained'. %% %% The Current Maintainer of this work is the American Mathematical %% Society. %% %% ======================================================================== %% \NeedsTeXFormat{LaTeX2e}[1995/06/01] \ProvidesPackage{upref}[2007/03/14 v2.04] \newcommand{\@noref}[1]{% \G@refundefinedtrue \nfss@text{\reset@font\bfseries ??}% \@latex@warning{Reference `#1' on page \thepage\space undefined}% } \AtBeginDocument{% \providecommand\printref{\textup}% \@ifpackageloaded{hyperref}{% \def\Hy@setref@link#1#2#3#4#5#6\@nil#7{% \begingroup \leavevmode \sw@slant \toks0{\hyper@@link{#5}{#4}}% \toks1\@xp{#7{\printref{#1}\hbox{}}{#2}{#3}{#4}{#5}}% \edef\x{\endgroup\the\toks0{\the\toks1}}\x }% \def\@setref#1#2#3{% \ifx#1\relax \@xp\protect\@noref{#3}% \else \@xp\Hy@setref@link#1\@empty\@empty\@nil{#2}% \fi }% }{% \def\@setref#1#2#3{\ifx#1\relax \protect\@noref{#3}% \else \protect\printref{\@xp#2#1\hbox{}}% \fi }% }% } \providecommand\@upn{\textup} \endinput %% %% End of file `upref.sty'.