summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/vntex/vietnam.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/vntex/vietnam.sty')
-rw-r--r--Master/texmf-dist/tex/latex/vntex/vietnam.sty13
1 files changed, 12 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/vntex/vietnam.sty b/Master/texmf-dist/tex/latex/vntex/vietnam.sty
index bd35b939eb4..fc840372110 100644
--- a/Master/texmf-dist/tex/latex/vntex/vietnam.sty
+++ b/Master/texmf-dist/tex/latex/vntex/vietnam.sty
@@ -25,8 +25,12 @@
% . Fix package message.
% . Some other minor clean-up.
%
+% 1.2 2006/10/18
+%
+% . Add option varioref.
+%
-\ProvidesPackage{vietnam}[2005/05/22 v1.1 support for Vietnamese]
+\ProvidesPackage{vietnam}[2006/10/18 v1.2 support for Vietnamese]
\RequirePackage{ifthen}
@@ -34,6 +38,7 @@
\newboolean{noinputenc}
\newboolean{nocaptions}
\newboolean{vnutf8}
+\newboolean{varioref}
\DeclareOption{viscii}
{\PassOptionsToPackage{viscii}{inputenc}
@@ -58,6 +63,8 @@
{\PassOptionsToPackage{utf8x}{inputenc}
\setboolean{optenc}{true}
\setboolean{vnutf8}{true}}
+\DeclareOption{varioref}{\setboolean{varioref}{true}}
+
\ProcessOptions
@@ -67,6 +74,10 @@
\RequirePackage[T5]{fontenc}
+\ifthenelse{\boolean{varioref}}
+ {\RequirePackage{varioref-vi}}
+ {}
+
\ifthenelse{\boolean{noinputenc}}
{\ifthenelse{\boolean{optenc}}
{\PackageWarning{vietnam}