diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/vntex/vietnam.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/vntex/vietnam.sty | 56 |
1 files changed, 24 insertions, 32 deletions
diff --git a/Master/texmf-dist/tex/latex/vntex/vietnam.sty b/Master/texmf-dist/tex/latex/vntex/vietnam.sty index fc840372110..f02d87707db 100644 --- a/Master/texmf-dist/tex/latex/vntex/vietnam.sty +++ b/Master/texmf-dist/tex/latex/vntex/vietnam.sty @@ -1,35 +1,22 @@ -%% Copyright 2000-2005 Werner Lemberg <wl@gnu.org> and -%% Han The Thanh <hanthethanh@gmx.net>. -%% This file is part of vntex. License: LPPL, version 1.3 or newer, -%% according to http://www.latex-project.org/lppl.txt %% -% -% 1.0 2000/01/27 -% -% Initial release. -% -% post 1.0 ? -% -% . Require `ifthen' package. -% . Don't require `t5' package. -% . New options `mviscii', `noinputenc', `nocaptions', `utf8', and -% `utf8x'. -% . Don't define \prefacename and friends but include vncaps.tex (if -% `nocaptions' isn't set). -% -% 1.1 2005/05/22 -% -% . Simplify logic for `utf8' and `utf8x' options. -% . Add copyright message and history. -% . Use \endlinechar to avoid `%' at end of line. -% . Fix package message. -% . Some other minor clean-up. -% -% 1.2 2006/10/18 -% -% . Add option varioref. -% - +%% File 'vietnam.sty', generated from vntex.dtx'. +%% +%% Copyright 2000-2005 Werner Lemberg <WL@gnu.org> and +%% Han The Thanh <HanTheThanh@gmail.com>. +%% +%% This file is part of vntex. +%% +%% This work may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 of this +%% license or (at your option) any later version. +%% +%% The latest version of this license is +%% +%% http://www.latex-project.org/lppl.txt +%% +%% The current maintainers are Werner Lemberg, Han The Thanh, and +%% Reinhard Kotucha. +%% \ProvidesPackage{vietnam}[2006/10/18 v1.2 support for Vietnamese] \RequirePackage{ifthen} @@ -64,7 +51,7 @@ \setboolean{optenc}{true} \setboolean{vnutf8}{true}} \DeclareOption{varioref}{\setboolean{varioref}{true}} - +\DeclareOption{cmap}{\setboolean{cmap}{true}} \ProcessOptions @@ -72,6 +59,11 @@ {\RequirePackage{ucs}} {} +\ifthenelse{\boolean{cmap}} + {\RequirePackage{ifpdf} + \ifpdf\RequirePackage{cmap}\fi} + {} + \RequirePackage[T5]{fontenc} \ifthenelse{\boolean{varioref}} |