summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/vntex/varioref-vi.sty
blob: 414c360918a5dc0295bd03c4c6231a4ac7f4ef11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
\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