summaryrefslogtreecommitdiff
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
parent318d628c7989d4f9ede20b1ee66471bedf447437 (diff)
babel-vietnamese (16may13)
git-svn-id: svn://tug.org/texlive/trunk@30510 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/source/generic/babel-vietnamese/vietnamese.dtx138
-rw-r--r--Master/texmf-dist/source/generic/babel-vietnamese/vietnamese.ins12
-rw-r--r--Master/texmf-dist/tex/generic/babel-vietnamese/vietnam.ldf75
-rw-r--r--Master/texmf-dist/tex/generic/babel-vietnamese/vietnamese.ldf77
-rwxr-xr-xMaster/tlpkg/bin/tlpkg-ctan-check3
-rw-r--r--Master/tlpkg/tlpsrc/babel-vietnamese.tlpsrc0
-rw-r--r--Master/tlpkg/tlpsrc/collection-langother.tlpsrc6
7 files changed, 308 insertions, 3 deletions
diff --git a/Master/texmf-dist/source/generic/babel-vietnamese/vietnamese.dtx b/Master/texmf-dist/source/generic/babel-vietnamese/vietnamese.dtx
new file mode 100644
index 00000000000..7c3b8788ff7
--- /dev/null
+++ b/Master/texmf-dist/source/generic/babel-vietnamese/vietnamese.dtx
@@ -0,0 +1,138 @@
+% \iffalse
+%
+% Copyright 2000-2005 Werner Lemberg <wl@gnu.org>.
+% This file is part of vntex. License: LPPL, version 1.3 or newer,
+% according to http://www.latex-project.org/lppl.txt
+%
+%
+% vietnam.ldf
+%
+% written by Werner LEMBERG <wl@gnu.org>
+%
+% History
+%
+% 1.0 2000/09/01
+%
+% First version.
+%
+% 1.1 2001/05/26
+%
+% Moved \endlinechar downwards.
+%
+% post 1.1 ?
+%
+% Don't check for dblaccnt.sty.
+% Add support for ucs.sty.
+% Don't define \captionsvietnam but load vncaps.tex.
+%
+% 1.2 2005/04/21
+%
+% Add copyright message.
+% Minor clean-ups.
+%
+% 1.3 2013/04/14
+%
+% Renamed file.
+% Move this file from VnTeX to Babel.
+%
+%<*dtx>
+\newlinechar=`^^J
+\message{^^J^^JThis file currently doesn't contain any documantation.}
+\message{See 'vntex.tex' instead.^^J^^J}
+\csname stop\endcsname\end
+%</dtx>
+% \begin{macrocode}
+%%
+%<vn>%% File 'vietnam.ldf', generated from babel-vi.dtx'.
+%<vi>%% 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.
+%%
+
+%<vn>\ProvidesLanguage{vietnam}%
+%<vi>\ProvidesLanguage{vietnamese}%
+%<vn|vi>[2013/04/14 v1.3 Vietnamese support from the babel system]
+
+%<vn>\LdfInit{vietnam}{captionsvietnam}
+%<vi>\LdfInit{vietnamese}{captionsvietnamese}
+
+%<vn>\ifx\l@vietnam \@undefined
+%<vi>\ifx\l@vietnamese \@undefined
+%<vn> \adddialect\l@vietnam 0
+%<vi> \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
+% \UCSProtectionUnichar
+ \UCSProtectionIeC
+ \else
+ \UnicodeCharFilter\IeC
+ \fi}{}
+
+\DeclareRobustCommand{\viettext}{
+ \fontencoding{T5}\selectfont
+ \def\encodingdefault{T5}
+%<vn> \language\l@vietnam}
+%<vi> \language\l@vietnamese}
+\let\viet \viettext
+\DeclareTextFontCommand{\textviet}{\viet}
+
+%<vn>\addto\extrasvietnam{\viettext}
+%<vi>\addto\extrasvietnamese{\viettext}
+%<vn>\addto\noextrasvietnam{\latintext}
+%<vi>\addto\noextrasvietnamese{\latintext}
+
+%<vn>\addto\extrasvietnam{\bbl@frenchspacing}
+%<vi>\addto\extrasvietnamese{\bbl@frenchspacing}
+%<vn>\addto\noextrasvietnam{\bbl@nonfrenchspacing}
+%<vi>\addto\noextrasvietnamese{\bbl@nonfrenchspacing}
+
+\input{vncaps.tex}
+%<vi> \let\captionsvietnamese\captionsvietnam
+%<vi> \let\datevietnamese\datevietnam
+
+%<vn>\ldf@finish{vietnam}
+%<vi>\ldf@finish{vietnamese}
+
+\endlinechar `\^^M
+
+\endinput
+%</package>
+% \end{macrocode}
+\endinput
+%%
+%% End of file 'vietnamese.dtx'.
+
diff --git a/Master/texmf-dist/source/generic/babel-vietnamese/vietnamese.ins b/Master/texmf-dist/source/generic/babel-vietnamese/vietnamese.ins
new file mode 100644
index 00000000000..7fcec72a251
--- /dev/null
+++ b/Master/texmf-dist/source/generic/babel-vietnamese/vietnamese.ins
@@ -0,0 +1,12 @@
+
+\input docstrip
+
+\nopreamble
+\askforoverwritefalse
+
+\usedir{tex/generic/babel}
+
+\generate{\file{vietnam.ldf}{\from{vietnamese.dtx}{vn}}}
+\generate{\file{vietnamese.ldf}{\from{vietnamese.dtx}{vi}}}
+
+\endbatchfile
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'.
diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check
index b6188f86933..f97f507fd2d 100755
--- a/Master/tlpkg/bin/tlpkg-ctan-check
+++ b/Master/tlpkg/bin/tlpkg-ctan-check
@@ -58,7 +58,8 @@ my @TLP_working = qw(
babel-polish babel-portuges babel-romanian babel-romansh
babel-russian babel-samin babel-scottish babel-serbian
babel-serbianc babel-slovak babel-slovenian babel-sorbian
- babel-spanish babel-swedish babel-turkish babel-ukraineb babel-welsh
+ babel-spanish babel-swedish babel-turkish babel-ukraineb
+ babel-vietnamese babel-welsh
babelbib background backnaur bangtex
barcodes bardiag barr bartel-chess-fonts bashful baskervald
basque-book basque-date
diff --git a/Master/tlpkg/tlpsrc/babel-vietnamese.tlpsrc b/Master/tlpkg/tlpsrc/babel-vietnamese.tlpsrc
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/Master/tlpkg/tlpsrc/babel-vietnamese.tlpsrc
diff --git a/Master/tlpkg/tlpsrc/collection-langother.tlpsrc b/Master/tlpkg/tlpsrc/collection-langother.tlpsrc
index b5bd604ae8c..00a03ea8247 100644
--- a/Master/tlpkg/tlpsrc/collection-langother.tlpsrc
+++ b/Master/tlpkg/tlpsrc/collection-langother.tlpsrc
@@ -1,7 +1,8 @@
category Collection
shortdesc Other languages
-longdesc Support for languages not otherwise listed; the split is made
-longdesc simply on the basis of the size of the support, to keep
+longdesc Support for languages not otherwise listed, including
+longdesc Vietnamese, Hebrew, Indonesian, and plenty more. The split is
+longdesc made simply on the basis of the size of the support, to keep
longdesc both collection sizes and the number of collections reasonable.
#
depend collection-basic
@@ -13,6 +14,7 @@ depend babel-esperanto
depend babel-hebrew
depend babel-interlingua
depend babel-sorbian
+depend babel-vietnamese
depend cjhebrew
depend ctib
depend hyphen-afrikaans