diff options
author | Reinhard Kotucha <reinhard.kotucha@web.de> | 2006-11-26 20:54:26 +0000 |
---|---|---|
committer | Reinhard Kotucha <reinhard.kotucha@web.de> | 2006-11-26 20:54:26 +0000 |
commit | c588c9533b6b61c3234451e8c1bc2dd7aa69b00b (patch) | |
tree | 03ab239d391871b812b0984a83e80501c0372e09 /Master/texmf-dist/tex/latex/vntex/vietnam.sty | |
parent | 065e129d47bd651ee8636eb053a2e740637ebf50 (diff) |
update vntex.
git-svn-id: svn://tug.org/texlive/trunk@2546 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/vntex/vietnam.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/vntex/vietnam.sty | 13 |
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} |