\ProvidesPackage{varioref-vi}[2005/04/09 v1.2 Vietnamese support for
varioref]

% This work may be distributed and/or modified under the conditions of
% the GNU LESSER GENERAL PUBLIC LICENSE, either Version 2.1 of this
% license or (at your option) any later version.  The latest version
% of this license is in 
%    http://www.gnu.org/licenses/lgpl.txt

% This package is maintained by KyAnh <kyanh@o2.pl>

\def\@varioref@vi{\def\reftextfaceafter{%
    \h{\ohorn} trang \reftextvario{\dj\'\ocircumflex{}i 
      di\d{\ecircumflex}n}{k\'\ecircumflex{} ti\'\ecircumflex{}p}}%
  \def\reftextfacebefore{%
    \h{\ohorn} trang \reftextvario{\dj{}\'\ocircumflex{}i
      di\d{\ecircumflex}n}{k\'\ecircumflex{} tr\uhorn\'\ohorn{}c}}%
  \def\reftextafter{\h{\ohorn} trang 
    \reftextvario{li\`\ecircumflex{}n sau}{sau}}%
  \def\reftextbefore{\h{\ohorn} trang
    \reftextvario{li\`\ecircumflex{}n
      tr\uhorn\'\ohorn{}c}{tr\uhorn\'\ohorn{}c}}%
  \def\reftextcurrent{\h{\ohorn} trang 
    \reftextvario{n\`ay}{hi\d{\ecircumflex}n t\d{a}i}}%
  \def\reftextfaraway##1{\h{\ohorn} trang~\pageref{##1}}%
  \def\reftextpagerange##1##2{\h\ohorn c\'ac trang
    \pageref{##1}--\pageref{##2}}%
  \def\reftextlabelrange##1##2{\ref{##1} \dj\'\ecircumflex{}n \ref{##2}}%
}

\@ifundefined{extrasvietnam}
   {\AtBeginDocument{\@varioref@vi}}
   {\addto\extrasvietnam{\@varioref@vi}}

%%EOF
