summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-05-16 22:44:10 +0000
committerKarl Berry <karl@freefriends.org>2013-05-16 22:44:10 +0000
commitc83d63f6fbac0f31d4f72cdaa6cd11786d6f5c03 (patch)
tree1bedf5e7111d7fd29e591dafc31d678a19ab8615 /Master/texmf-dist/tex/generic
parent318d628c7989d4f9ede20b1ee66471bedf447437 (diff)
babel-vietnamese (16may13)
git-svn-id: svn://tug.org/texlive/trunk@30510 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic')
-rw-r--r--Master/texmf-dist/tex/generic/babel-vietnamese/vietnam.ldf75
-rw-r--r--Master/texmf-dist/tex/generic/babel-vietnamese/vietnamese.ldf77
2 files changed, 152 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/generic/babel-vietnamese/vietnam.ldf b/Master/texmf-dist/tex/generic/babel-vietnamese/vietnam.ldf
new file mode 100644
index 00000000000..264b8950dd3
--- /dev/null
+++ b/Master/texmf-dist/tex/generic/babel-vietnamese/vietnam.ldf
@@ -0,0 +1,75 @@
+%%
+%% File 'vietnam.ldf', generated from babel-vi.dtx'.
+%%
+%% Copyright 2000-2013 Werner Lemberg <WL@gnu.org>
+%%
+%% 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.
+%%
+
+\ProvidesLanguage{vietnam}%
+[2013/04/14 v1.3 Vietnamese support from the babel system]
+
+\LdfInit{vietnam}{captionsvietnam}
+
+\ifx\l@vietnam \@undefined
+ \adddialect\l@vietnam 0
+\fi
+
+\let\latinencoding\cf@encoding
+
+\InputIfFileExists{t5enc.def}
+ {\message{Loading definitions for the Vietnamese font encoding}}
+ {\errhelp{I can't find the file `t5enc.def' for Vietnamese fonts}
+ \errmessage{Since I do not know what the T5 encoding means^^J
+ I can't typeset Vietnamese.^^J
+ I stop here, while you get a suitable `t5enc.def' file}
+ \@@end}
+
+\@ifpackageloaded{inputenc}{}
+ {\PackageWarning{babel}{No input encoding specified for Vietnamese}}
+
+\endlinechar \m@ne
+
+\@ifpackageloaded{ucs}{
+ \PreloadUnicodePage{0}
+ \PreloadUnicodePage{1}
+ \PreloadUnicodePage{30}
+ \ifx \UnicodeCharFilter \@undefined
+ \UCSProtectionIeC
+ \else
+ \UnicodeCharFilter\IeC
+ \fi}{}
+
+\DeclareRobustCommand{\viettext}{
+ \fontencoding{T5}\selectfont
+ \def\encodingdefault{T5}
+ \language\l@vietnam}
+\let\viet \viettext
+\DeclareTextFontCommand{\textviet}{\viet}
+
+\addto\extrasvietnam{\viettext}
+\addto\noextrasvietnam{\latintext}
+
+\addto\extrasvietnam{\bbl@frenchspacing}
+\addto\noextrasvietnam{\bbl@nonfrenchspacing}
+
+\input{vncaps.tex}
+
+\ldf@finish{vietnam}
+
+\endlinechar `\^^M
+
+\endinput
+%%
+%% End of file `vietnam.ldf'.
diff --git a/Master/texmf-dist/tex/generic/babel-vietnamese/vietnamese.ldf b/Master/texmf-dist/tex/generic/babel-vietnamese/vietnamese.ldf
new file mode 100644
index 00000000000..54d79e2ef66
--- /dev/null
+++ b/Master/texmf-dist/tex/generic/babel-vietnamese/vietnamese.ldf
@@ -0,0 +1,77 @@
+%%
+%% File 'vietnamese.ldf', generated from 'babel-vi.dtx'.
+%%
+%% Copyright 2000-2013 Werner Lemberg <WL@gnu.org>
+%%
+%% 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.
+%%
+
+\ProvidesLanguage{vietnamese}%
+[2013/04/14 v1.3 Vietnamese support from the babel system]
+
+\LdfInit{vietnamese}{captionsvietnamese}
+
+\ifx\l@vietnamese \@undefined
+ \adddialect\l@vietnamese 0
+\fi
+
+\let\latinencoding\cf@encoding
+
+\InputIfFileExists{t5enc.def}
+ {\message{Loading definitions for the Vietnamese font encoding}}
+ {\errhelp{I can't find the file `t5enc.def' for Vietnamese fonts}
+ \errmessage{Since I do not know what the T5 encoding means^^J
+ I can't typeset Vietnamese.^^J
+ I stop here, while you get a suitable `t5enc.def' file}
+ \@@end}
+
+\@ifpackageloaded{inputenc}{}
+ {\PackageWarning{babel}{No input encoding specified for Vietnamese}}
+
+\endlinechar \m@ne
+
+\@ifpackageloaded{ucs}{
+ \PreloadUnicodePage{0}
+ \PreloadUnicodePage{1}
+ \PreloadUnicodePage{30}
+ \ifx \UnicodeCharFilter \@undefined
+ \UCSProtectionIeC
+ \else
+ \UnicodeCharFilter\IeC
+ \fi}{}
+
+\DeclareRobustCommand{\viettext}{
+ \fontencoding{T5}\selectfont
+ \def\encodingdefault{T5}
+ \language\l@vietnamese}
+\let\viet \viettext
+\DeclareTextFontCommand{\textviet}{\viet}
+
+\addto\extrasvietnamese{\viettext}
+\addto\noextrasvietnamese{\latintext}
+
+\addto\extrasvietnamese{\bbl@frenchspacing}
+\addto\noextrasvietnamese{\bbl@nonfrenchspacing}
+
+\input{vncaps.tex}
+ \let\captionsvietnamese\captionsvietnam
+ \let\datevietnamese\datevietnam
+
+\ldf@finish{vietnamese}
+
+\endlinechar `\^^M
+
+\endinput
+%%
+%% End of file `vietnamese.ldf'.