% \iffalse % % $Id: vietnamese.dtx 176 2013-05-18 22:34:06Z reinhard $ % % Copyright 2000-2005 Werner Lemberg . % 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 % % 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 % % \begin{macrocode} %% %%% File 'vietnam.ldf', generated from 'vietnamese.dtx'. %%% File 'vietnamese.ldf', generated from 'vietnamese.dtx'. %% %% Copyright 2000-2013 Werner Lemberg %% %% 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}% %\ProvidesLanguage{vietnamese}% %[2013/04/16 v1.3 Vietnamese support from the babel system] %\LdfInit{vietnam}{captionsvietnam} %\LdfInit{vietnamese}{captionsvietnamese} %\ifx\l@vietnam \@undefined %\ifx\l@vietnamese \@undefined % \adddialect\l@vietnam 0 % \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 install the VnTeX package^^J to 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} % \language\l@vietnam} % \language\l@vietnamese} \let\viet \viettext \DeclareTextFontCommand{\textviet}{\viet} %\addto\extrasvietnam{\viettext} %\addto\extrasvietnamese{\viettext} %\addto\noextrasvietnam{\latintext} %\addto\noextrasvietnamese{\latintext} %\addto\extrasvietnam{\bbl@frenchspacing} %\addto\extrasvietnamese{\bbl@frenchspacing} %\addto\noextrasvietnam{\bbl@nonfrenchspacing} %\addto\noextrasvietnamese{\bbl@nonfrenchspacing} \input{vncaps.tex} % \let\captionsvietnamese\captionsvietnam % \let\datevietnamese\datevietnam %\ldf@finish{vietnam} %\ldf@finish{vietnamese} \endlinechar `\^^M \endinput % % \end{macrocode} \endinput %% %% End of file 'vietnamese.dtx'.