summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/generic/vntex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-06-09 00:26:40 +0000
committerKarl Berry <karl@freefriends.org>2010-06-09 00:26:40 +0000
commitc4d0c7719b1798309ddd766a86bc64f8be2d83dd (patch)
tree7a63e240ab8934ff063f155d4ba865e06f95a203 /Master/texmf-dist/source/generic/vntex
parent04a2bc11b0e922218339995a7bb1f6ddbaa7c934 (diff)
vntex 3.2 (8jun10)
git-svn-id: svn://tug.org/texlive/trunk@18830 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/generic/vntex')
-rw-r--r--Master/texmf-dist/source/generic/vntex/Makefile6
-rw-r--r--Master/texmf-dist/source/generic/vntex/babel-vi.dtx132
-rw-r--r--Master/texmf-dist/source/generic/vntex/doc/ReleaseNotes.tex150
-rwxr-xr-xMaster/texmf-dist/source/generic/vntex/doc/vntex.tex418
-rw-r--r--Master/texmf-dist/source/generic/vntex/tests/Makefile6
-rw-r--r--Master/texmf-dist/source/generic/vntex/tests/README2
-rw-r--r--Master/texmf-dist/source/generic/vntex/tests/adventor-sample.tex1
-rw-r--r--Master/texmf-dist/source/generic/vntex/tests/adventor-test.tex1
-rw-r--r--Master/texmf-dist/source/generic/vntex/tests/arevvn-sample.tex1
-rw-r--r--Master/texmf-dist/source/generic/vntex/tests/arevvn-test.tex1
-rw-r--r--Master/texmf-dist/source/generic/vntex/tests/bonum-sample.tex1
-rw-r--r--Master/texmf-dist/source/generic/vntex/tests/bonum-test.tex1
-rw-r--r--Master/texmf-dist/source/generic/vntex/tests/chartervn-sample.tex1
-rw-r--r--Master/texmf-dist/source/generic/vntex/tests/chartervn-test.tex1
-rw-r--r--Master/texmf-dist/source/generic/vntex/tests/chorus-sample.tex1
-rw-r--r--Master/texmf-dist/source/generic/vntex/tests/chorus-test.tex1
-rw-r--r--Master/texmf-dist/source/generic/vntex/tests/classicovn-sample.tex1
-rw-r--r--Master/texmf-dist/source/generic/vntex/tests/classicovn-test.tex1
-rw-r--r--Master/texmf-dist/source/generic/vntex/tests/cmbrightvn-sample.tex1
-rw-r--r--Master/texmf-dist/source/generic/vntex/tests/cmbrightvn-test.tex1
-rw-r--r--Master/texmf-dist/source/generic/vntex/tests/comicsansvn-sample.tex1
-rw-r--r--Master/texmf-dist/source/generic/vntex/tests/comicsansvn-test.tex1
-rw-r--r--Master/texmf-dist/source/generic/vntex/tests/concretevn-sample.tex1
-rw-r--r--Master/texmf-dist/source/generic/vntex/tests/concretevn-test.tex1
-rw-r--r--Master/texmf-dist/source/generic/vntex/tests/cursor-sample.tex1
-rw-r--r--Master/texmf-dist/source/generic/vntex/tests/cursor-test.tex1
-rw-r--r--Master/texmf-dist/source/generic/vntex/tests/garamondvn-sample.tex1
-rw-r--r--Master/texmf-dist/source/generic/vntex/tests/garamondvn-test.tex1
-rw-r--r--Master/texmf-dist/source/generic/vntex/tests/grotesqvn-sample.tex1
-rw-r--r--Master/texmf-dist/source/generic/vntex/tests/grotesqvn-test.tex1
-rw-r--r--Master/texmf-dist/source/generic/vntex/tests/heros-sample.tex1
-rw-r--r--Master/texmf-dist/source/generic/vntex/tests/heros-test.tex1
-rw-r--r--Master/texmf-dist/source/generic/vntex/tests/mscore-sample.tex1
-rw-r--r--Master/texmf-dist/source/generic/vntex/tests/mscore-test.tex1
-rw-r--r--Master/texmf-dist/source/generic/vntex/tests/pagella-sample.tex1
-rw-r--r--Master/texmf-dist/source/generic/vntex/tests/pagella-test.tex1
-rw-r--r--Master/texmf-dist/source/generic/vntex/tests/schola-sample.tex1
-rw-r--r--Master/texmf-dist/source/generic/vntex/tests/schola-test.tex1
-rw-r--r--Master/texmf-dist/source/generic/vntex/tests/t5antt-sample.tex1
-rw-r--r--Master/texmf-dist/source/generic/vntex/tests/t5antt-test.tex1
-rw-r--r--Master/texmf-dist/source/generic/vntex/tests/t5cyklop-sample.tex1
-rw-r--r--Master/texmf-dist/source/generic/vntex/tests/t5cyklop-test.tex1
-rw-r--r--Master/texmf-dist/source/generic/vntex/tests/t5gentium-sample.tex1
-rw-r--r--Master/texmf-dist/source/generic/vntex/tests/t5gentium-test.tex1
-rw-r--r--Master/texmf-dist/source/generic/vntex/tests/t5iwona-sample.tex1
-rw-r--r--Master/texmf-dist/source/generic/vntex/tests/t5iwona-test.tex1
-rw-r--r--Master/texmf-dist/source/generic/vntex/tests/t5kurier-sample.tex1
-rw-r--r--Master/texmf-dist/source/generic/vntex/tests/t5kurier-test.tex1
-rw-r--r--Master/texmf-dist/source/generic/vntex/tests/t5lm-sample.tex5
-rw-r--r--Master/texmf-dist/source/generic/vntex/tests/t5lm-test.tex1
-rw-r--r--Master/texmf-dist/source/generic/vntex/tests/termes-sample.tex1
-rw-r--r--Master/texmf-dist/source/generic/vntex/tests/termes-test.tex1
-rw-r--r--Master/texmf-dist/source/generic/vntex/tests/txttvn-sample.tex15
-rw-r--r--Master/texmf-dist/source/generic/vntex/tests/txttvn-test.tex13
-rw-r--r--Master/texmf-dist/source/generic/vntex/tests/urwvn-sample.tex1
-rw-r--r--Master/texmf-dist/source/generic/vntex/tests/urwvn-test.tex1
-rw-r--r--Master/texmf-dist/source/generic/vntex/tests/vnr-sample.tex5
-rw-r--r--Master/texmf-dist/source/generic/vntex/tests/vnr-test.tex4
-rw-r--r--Master/texmf-dist/source/generic/vntex/tests/vnsample.cls374
-rw-r--r--Master/texmf-dist/source/generic/vntex/tests/vntopia-sample.tex1
-rw-r--r--Master/texmf-dist/source/generic/vntex/tests/vntopia-test.tex1
-rw-r--r--Master/texmf-dist/source/generic/vntex/vntex.ins2
62 files changed, 822 insertions, 359 deletions
diff --git a/Master/texmf-dist/source/generic/vntex/Makefile b/Master/texmf-dist/source/generic/vntex/Makefile
new file mode 100644
index 00000000000..ec2863c6071
--- /dev/null
+++ b/Master/texmf-dist/source/generic/vntex/Makefile
@@ -0,0 +1,6 @@
+
+default:
+ tex vntex.ins
+
+clean:
+ rm -f *.{ldf,log,sty}
diff --git a/Master/texmf-dist/source/generic/vntex/babel-vi.dtx b/Master/texmf-dist/source/generic/vntex/babel-vi.dtx
new file mode 100644
index 00000000000..0212b14fcd4
--- /dev/null
+++ b/Master/texmf-dist/source/generic/vntex/babel-vi.dtx
@@ -0,0 +1,132 @@
+% \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.
+%<*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-2005 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>[2005/04/21 v1.2 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/vntex/doc/ReleaseNotes.tex b/Master/texmf-dist/source/generic/vntex/doc/ReleaseNotes.tex
new file mode 100644
index 00000000000..65bac53288b
--- /dev/null
+++ b/Master/texmf-dist/source/generic/vntex/doc/ReleaseNotes.tex
@@ -0,0 +1,150 @@
+% vntex-@VERSION@
+%
+% Copyright 2010 Reinhard Kotucha <Reinhard.Kotucha@web.de>
+%
+% 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.
+
+\let\originaldocument\document
+\def\document{\endgroup\endinput}
+ \input vntex.tex
+\let\document\originaldocument
+\begin{document}
+\section*{Release Notes}
+\vspace*{6.666mm}
+\begin{releasenotes}
+\version[(\TeX~Live~2010 release)]{3.2}{2010/06/07}
+\begin{itemize}
+\item Remove \pkg{comicsansvn} and \pkg{mscorevn} from \pkg{vntex}.
+\item New file |vietnamese.ldf|.
+\end{itemize}
+
+\version[(\TeX~Live~2009 release)]{3.1.9}{2009/07/11}
+\begin{itemize}
+\item Minor fixes.
+\end{itemize}
+
+\version[]{3.1.8}{2009/05/16}
+\begin{itemize}
+\item CM Bright/Concrete fonts: bug fixed.
+\item Scaling support for Helvetica Vietnamese.
+\item All testfiles and doc sources moved to source/generic/vntex.
+\item vntex.txt replaced by vntex.pdf.
+\end{itemize}
+
+\version[(\TeX~Live~2008 release)]{3.1.7}{2008/05/31}
+\begin{itemize}
+\item Replaced \texttt{http://vntex.org} by \url{http://vntex.sf.net}
+ in documentation.
+\end{itemize}
+
+\version[]{3.1.6}{2007/01/27}
+\begin{itemize}
+\item vntex-update-maps: new Perl script.
+\item Documentation update.
+\end{itemize}
+
+\version[(\TeX~Live~2007 release)]{3.1.5}{2007/01/15}
+\begin{itemize}
+\item Fixed some glyphs in \pkg{vnr}.
+\end{itemize}
+
+\version[]{3.1.4}{2007/01/07}
+\begin{itemize}
+ \item Minor fix in documentation.
+\end{itemize}
+
+\version[]{3.1.3}{2006/12/14}
+\begin{itemize}
+ \item Add support for Scientific Workplace (swpvntex.sty).
+\end{itemize}
+
+\version[]{3.1.2}{2006/11/25}
+\begin{itemize}
+\item Minor fix in |README|.
+\end{itemize}
+
+\version[]{3.1.1}{2006/11/22}
+\begin{itemize}
+\item Add new font Vntopia.
+\item t5enc.def: Update definitions to match corresponding versions in
+ LaTeX 2005/12/01.
+\end{itemize}
+
+\version[]{3.1}{2006/11/19}
+\begin{itemize}
+ \item vncaps.tex: Fixed bug in |\indexname|.
+ \item Add support for Gentium, Grotesk, Garamond
+ \item t5enc.dfu: Use |\ACIRCUMFLEX| and
+ friends only if there are additional diacritics.
+ \item Add support for URW Classico, CMbright, Concrete, Arev.
+ \item New font definition files |t5futs.fd|, |t5mdput.fd|,
+ |t5ptmom.fd|, |t5fnc.fd|, |t5mak.fd|,\\ |t5mdugm.fd|, |t5pxr.fd|,
+ |t5mdbch.fd|, |t5txr.fd|.
+ \item New macro package \pkg{varioref-vi}.
+ \item Add support for Comicsans.
+ \item Add support for txtt fonts.
+ \item Supplier directories for VNR fonts are now |vntex| instead of
+ |public|.
+\end{itemize}
+
+\newpage
+
+\version[]{3.02}{2005/09/25}
+Changes from version 2.0 (released 2003/03/03 at |vntex.sf.net|)
+\begin{itemize}
+\item New test files with (hopefully) more meaningful names and also some
+ explanation in doc/generic/vntex/tests/README.
+\item Changed locations of |enc|/|map| files to conform to TDS~1.1:\\
+ They now belong to |fonts/{enc,map}/{dvips,pdftex}/vntex|. This may
+ break a few things, but it must be done now, as TDS 1.1 is used by
+ all recent TeX distributions.
+\item Added some font samples to doc/generic/vntex/tests (see README
+ for more details).
+\item added support for \pkg{tex4ht}. (Now part of the \pkg{tex4ht}
+ distribution.)
+\item a few files had been removed:
+ \begin{itemize}
+ \item |dvips/vntex/config.vnr|: inconsistency with \pkg{urwvn},
+ where no |config.urwvn| was available.
+ \item |special.map|: the line for vnr fonts has been added to the
+ official version of special.map distributed by tetex and texlive.
+ \item |tcx| files: they are part of the standard TeX distributions
+ now.
+ \end{itemize}
+\item |dblaccnt.sty| and |dblaccnt.tex| are no longer used; they are
+ retained for backwards compatibility only -- |dblaccnt.sty| now
+ works with \LaTeX~2003/12/01.
+\item vntex now supports utf8 (native LaTeX) as well as utf8x (ucs.sty).
+ Support for ucs.sty is a separate package now.
+\item Added support for \pkg{mscore} fonts
+ (|tfm|/|vf|/|fd|/|map|/|enc|); this requires a very recent version
+ of pdf\TeX~(1.21a).
+\item All human readable files contain copyright notes now.
+\item Vietnamese fonts for \pkg{tex4ht} are now part of the
+ \pkg{tex4ht} distribution.
+\item File |plainenc.tex| removed from Vn\TeX.
+\item \pkg{plnfss} removed from Vn\TeX.
+\item \pkg{ucs} removed from Vn\TeX.
+\item The primary site of vntex is now |http://vntex.org|. The
+ former URL \url{http://vntex.sourceforge.net} is still usable.
+\item The urwvn fonts had been significantly improved. The faked
+ small caps in URW Palatino had been replaced by real small caps
+ designed by Ralf Stubner. Vietnamese accents were provided by
+ Hàn Thế Thành. Oldstyle numbers are not supported yet.
+\item Vietnamese characters had been added to Bitsream Charter fonts.
+\item |VnURWChanceryL-MediItal| added.
+\end{itemize}
+
+\end{releasenotes}
+\end{document}
diff --git a/Master/texmf-dist/source/generic/vntex/doc/vntex.tex b/Master/texmf-dist/source/generic/vntex/doc/vntex.tex
index 19a7db051db..979a3c89675 100755
--- a/Master/texmf-dist/source/generic/vntex/doc/vntex.tex
+++ b/Master/texmf-dist/source/generic/vntex/doc/vntex.tex
@@ -19,32 +19,21 @@
% Reinhard Kotucha.
\documentclass[a4paper,11pt]{article}
-% \InputIfFileExists{vntexdoc-conf.tex}{}{}
-% \makeatletter
-% \@ifundefined{vntexdoc-amsldoc-vi}
-% {\message{***undef***}}
-% {\message{***def***}}
-% \stop
-
-%%%%% TODO %%%%%%%%%
-%
-% Add last-modified date to the document
-%
-% Sadly, Eitan doesn't maintain tex4ht any more :(
-
\usepackage{amsmath,amsfonts,amssymb}
\usepackage[utf8]{inputenc}
\usepackage[T1,T2A,T5]{fontenc}
-\usepackage[russian,vietnam]{babel}
+%\usepackage[T1]{fontenc}
+%\usepackage[T2A]{fontenc}
+%\usepackage[T5]{fontenc}
+\usepackage[russian,vietnamese]{babel}
\usepackage{charter}
-%\usepackage{tgpagella}
-%\usepackage{mathpazo}\def\textsc#1{\bgroup\usefont{T5}{fpl}{m}{sc}#1\egroup}
\usepackage{textcomp}
\usepackage[scaled=.9]{helvet}
\usepackage{parskip}
\usepackage{upquote}
\usepackage{microtype}
\usepackage{url}
+\usepackage{graphicx} % for XeTeX logo
\usepackage{fancyvrb}\DefineShortVerb{\|}
%\usepackage{showframe}
%\usepackage{mparhack}
@@ -62,7 +51,7 @@
\raggedbottom
-\def\vi#1{\foreignlanguage{vietnam}{#1}}
+%\def\vi#1{\foreignlanguage{vietnamese}{#1}}
\makeatletter
\let\ifundefined\@ifundefined
@@ -105,7 +94,6 @@
\makeatother
-
%%% Colors
\definecolor{labelitemicolor}{rgb}{0,.5,0}
@@ -129,14 +117,19 @@
%\def\codecolor{\color[named]{OliveGreen}}
\def\codecolor{\color[cmyk]{.65,0,.65,.7}}
+%%%\def\codecolor{\color[cmyk]{.65,0,.65,.0}}
+
+\def\pkg#1{{\sffamily#1}}
\def\marginnote#1{\marginpar{\headcolor{\textit{#1}}}}
\def\marginnote#1{\vadjust{\llap{\smash{\headcolor{\textit{#1~~}}}}}}
\def\marginnote#1{\leavevmode\llap{\headcolor{\textit{\smash{\parbox[t]{2.5cm}{\raggedleft #1}~~}}}}}
+
+
+
\def\mailto#1{$\langle$\href{mailto:#1}{\texttt{\hrefcolor{#1}}}$\rangle$}
-\def\pkg#1{{\sffamily#1}}
\def\URL#1{{\fontfamily{cmvtt}\selectfont{\xbibcolor{http://#1}}}}
@@ -144,12 +137,16 @@
\def\http#1{\ifvmode\leavevmode\texttt{\phantom{xx}}\fi\href{http://#1}{\URL{#1}}}
\def\ftp#1{\ifvmode\leavevmode\texttt{\phantom{xx}}\fi\href{ftp://#1}{\URL{#1}}}
+\def\path#1{\texttt{#1}}
+\def\file#1{\texttt{#1}}
+
%%% Internal/External Documentation
\def\texmfdocvi{../../../../texmf-doc/doc/vietnamese}
\def\CTANbase{ctan.org/tex-archive/info}
\def\bibfile#1#2#3{\textit{#1, }\href{file:#2}{\bibcolor{#3}}}
+\def\bibfilenoauthor#1#2{\href{file:#1}{\bibcolor{#2}}}
\def\bibfileprint#1{\ifx\printversion\undefined\hspace{\fill}\href{file:#1}{[\bibcolor{print~version}]}\fi}
\def\xbibfile#1#2#3{\textit{#1, }\href{http://#2}{\xbibcolor{#3}}}
@@ -161,13 +158,13 @@
%%%\reversemarginpar
-\makeatletter
-\let\docpath\@namedef
-%\InputIfFileExists{vntexdoc-conf.tex}{}{}
+% \makeatletter
+% \let\docpath\@namedef
+% %\InputIfFileExists{vntexdoc-conf.tex}{}{}
-\makeatletter
-\let\docpath\@nameuse
-\makeatother
+% \makeatletter
+% \let\docpath\@nameuse
+% \makeatother
%%% Verbatim
@@ -192,21 +189,43 @@
\advance\textheight by 4cm
\advance\textheight by 2pt
+%%% From File: ltlogos.dtx
+\makeatletter
+\DeclareRobustCommand{\LaTeX}{L\kern-.26em% orig: -.36em
+ {\sbox\z@ T\vbox to\ht\z@{\hbox{\check@mathfonts
+ \fontsize\sf@size\z@\math@fontsfalse\selectfont{}A}\vss}}%
+ \kern-.07em% orig: -.15em
+ \TeX}\makeatother
+
+%%%\def\TeX{T\kern-.1667em\lower.5ex\hbox{E}\kern-.125emX\@}
+
+\makeatletter
+\DeclareRobustCommand{\XeTeX}{X\kern-.125em
+ \lower.5ex\hbox{\reflectbox{E}}\kern-.1667em\TeX}\makeatother
+
+\def\releasenotes{
+ \parskip 0pt
+ \def\version[##1]##2##3{\par\normalfont\normalsize
+ \textcolor[named]{BrickRed}{Version~\textbf{##2}} --- released ##3
+ ##1\par\penalty10000\small}}
+
\edef\YR{\number\year}
\edef\MO{\ifnum\month<10 0\fi\number\month}
\edef\DY{\ifnum\day<10 0\fi\number\day}
-\usepackage[colorlinks, urlcolor=black, filecolor=black,
-pdftitle={VnTeX - Typesetting Vietnamese (Revision \YR/\MO/\DY)},
-pdfauthor={Han The Thanh and Reinhard Kotucha},
-pdfsubject={VnTeX User Manual},
-pdfkeywords={VnTeX, typesetting Vietnamese, Vietnamese fonts,
- encodings, LaTeX macro packages}]{hyperref}
+\usepackage[unicode, colorlinks, urlcolor=black, filecolor=black,
+pdfdisplaydoctitle=true]{hyperref}
+
+% we need \hypersetup if we are using unicode
+\hypersetup{pdftitle={VnTeX - Typesetting Vietnamese (Revision \YR/\MO/\DY)}}
+\hypersetup{pdfsubject={VnTeX User Manual}}
+\hypersetup{pdfauthor={Hàn Thế Thành and Reinhard Kotucha}}
+\hypersetup{pdfkeywords={VnTeX, typesetting Vietnamese, Vietnamese fonts,
+ encodings, LaTeX macro packages}}
\hypersetup{pdfnewwindow=true}
+
\begin{document}
-%\vrule
-%\vspace*{0cm}
\leavevmode{\centering\Huge\textbf{\headcolor{Vn\TeX\ --- Typesetting
Vietnamese}}\par}
\vspace{3mm}
@@ -214,7 +233,7 @@ pdfkeywords={VnTeX, typesetting Vietnamese, Vietnamese fonts,
\vspace{1cm}
\begin{abstract}
-\parskip=1ex \parindent=0pt \noindent
+\vspace*{-1ex}\parskip=1ex \parindent=0pt \noindent
Vn\TeX\ is an extension to Donald Knuth's \TeX\ typesetting system which
provides support for typesetting Vietnamese.
@@ -230,10 +249,14 @@ The current maintainers of Vn\TeX\ are:
\end{itemize}
There is a mailing list (very low traffic) for questions about
-Vn\TeX\ and typesetting Vietnamese. To subscribe to the list, visit
+Vn\TeX\ and typesetting Vietnamese. To subscribe to the list, visit:
\http{lists.sourceforge.net/lists/listinfo/vntex-users}
+There is also a Wiki:
+
+\http{vntex.info}
+
\section{Related Documents}
The following files are part of the Vn\TeX\
distribution\ifx\printversion\undefined\footnote{The print versions
@@ -278,16 +301,16 @@ The following files are not part of Vn\TeX\ but might be part of the
\begin{itemize}
\item \textit{The American Mathematical Society}, Hướng dẫn sử dụng gói
\pkg{amsmath},\\
- \URL{\CTANbase/amslatex/vietnamese/amsldoc-vi.pdf}\\
- \URL{\CTANbase/amslatex/vietnamese/amsldoc-print-vi.pdf}
+ \http{\CTANbase/amslatex/vietnamese/amsldoc-vi.pdf}\\
+ \http{\CTANbase/amslatex/vietnamese/amsldoc-print-vi.pdf}
\item \textit{H.~Partl, E.~Schlegl, I.~Hyna, T.~Oetiker}, Một tài
liệu ngắn gọn giới thiệu về \LaTeXe, Translated by Nguyễn Tân Khoa.\\
- \URL{\CTANbase/lshort/vietnamese/lshort-vi.pdf}
+ \http{\CTANbase/lshort/vietnamese/lshort-vi.pdf}
\item \textit{Wolfgang May, Andreas Schlechte}, Mở rộng
môi trường định lý. Translated by Huỳnh Kỳ Anh.\\
- \URL{\CTANbase/translations/vn/ntheorem-doc-vn.pdf}
+ \http{\CTANbase/translations/vn/ntheorem-doc-vn.pdf}
\end{itemize}
@@ -295,7 +318,7 @@ The following files are not part of Vn\TeX\ but might be part of the
In order to typeset Vietnamese, you need a text editor which supports
Vietnamese. In particular, it should support an \emph{input encoding}
-an an \emph{input method} suitable for Vietnamese.
+and an \emph{input method} suitable for Vietnamese.
If you are not familiar with encodings, here is a brief explanation:
Each key on your keyboard is assigned to a letter. Computers don't
@@ -313,8 +336,8 @@ Hindi,\ldots characters in one and the same file. UTF-8 is the
encoding system of the future and it becomes even more popular in
Vietnam.
-Vn\TeX\ supports many input encodings such as VISCII, TCVN, or UTF-8, but
-there is no support for VNI (nor will there ever be).
+Vn\TeX\ supports many input encodings such as VISCII, TCVN, or UTF-8,
+but there is no support for VNI (nor will there ever be).
You can use the input encoding of your choice, but you have tell \TeX\
which one you are using. How to do this is decribed below.
@@ -345,8 +368,8 @@ see ``\texttt{H\`a N\d\ocircumflex i}'' on screen and you get ``H\`a
N\d\ocircumflex i'' in your typeset document.
However, input methods are quite system dependent. If your operating
-system doesn't support anything appropriate, check
-whether your editor or \TeX\ shell supports them.
+system doesn't support anything appropriate, check whether your editor
+or \TeX\ shell supports them.
\marginnote{editors}It's not easy to propose a particular editor. If
you are using a reasonably powerful editor for writing your own
@@ -361,6 +384,8 @@ On Windows there are some alternatives, like
\xbibfilenoauthor{projectory.de/texshell}{\pkg{\TeX{}shell}},
\xbibfilenoauthor{www.winedt.com}{\pkg{WinEDT}}, and
\xbibfilenoauthor{www.texniccenter.org}{\pkg{\TeX{}nicCenter}}.
+\xbibfilenoauthor{www.texniccenter.org}{\pkg{\TeX{}nicCenter}}
+supports UTF-8 as of version 2.0.
If you are on Mac\,OS\,X,
\xbibfilenoauthor{www.uoregon.edu/~koch/texshop}{\pkg{\TeX{}shop}} is
@@ -370,13 +395,11 @@ you click on a particular word in the PDF file, the cursor moves to
this word in the text editor, and vice
versa. \xbibfilenoauthor{tug.org/texworks}{\pkg{\TeX{}works}} is
something very similar. But it is supposed to work on all operating
-systems and will probably be the default editor in \TeX~Live and
-Mik\TeX.
+systems and is shipped with \TeX~Live and Mik\TeX.
-
-There are some different flavours of
-\TeX, such as Plain \TeX, \LaTeX, and Context. \LaTeX\ is the most
-popular one and there are many books available about it.
+There are some different flavours of \TeX, such as Plain \TeX, \LaTeX,
+and Context. \LaTeX\ is the most popular one and there are many books
+available about it.
\subsection{Typesetting with \LaTeX}
@@ -428,7 +451,6 @@ Examples: %\par\kern -2pt % avoid and unpleasant page break
\end{document}
\end{Code}
-
Both packages, \pkg{vietnam} and \pkg{vntex}, have the following
additional options:
@@ -451,7 +473,6 @@ The \pkg{cmap} packages makes the PDF file searchable.
\subsubsection{Using \pkg{babel} instead of
\pkg{vietnam}/\pkg{vntex}}
-
For multilingual documents it's better to use the \pkg{babel} package,
which is part of the \LaTeX\ core. Though the \pkg{inputenc} package
allows you to select the input encoding of your choice, UTF-8 is the
@@ -461,13 +482,13 @@ preferred encoding for multilingual documents.
\documentclass{report}
\usepackage[T2A,T5]{fontenc}
\usepackage[utf8]{inputenc}
- \usepackage[russian,vietnam]{babel}
+ \usepackage[russian,vietnamese]{babel}
\begin{document}
Tiếng Việt,
\selectlanguage{russian}%
|selectlanguage(russian)русский язык,
- \selectlanguage{vietnam}%
- |selectlanguage(vietnam)tiếng Việt.
+ \selectlanguage{vietnamese}%
+ |selectlanguage(vietnamese)tiếng Việt.
\end{document}
\end{Code}
@@ -480,9 +501,19 @@ The result of the example above is:~~
Tiếng Việt,
\selectlanguage{russian}%
русский язык,
- \selectlanguage{vietnam}%
+ \selectlanguage{vietnamese}%
tiếng Việt.}}
+\subsubsection{Using \pkg{hyperref}}
+In order to use Vietnamese characters in the bookmark panel or in the
+``Document Properties'' box, \pkg{hyperref} must be loaded with the
+{\code|unicode|} option.
+
+\begin{Code}
+ \usepackage[unicode]{hyperref}
+ \hypersetup{pdftitle={VnTeX – hỗ trợ tiếng Việt cho TeX}}
+\end{Code}
+
\subsubsection{Using \pkg{TCX} files}
\TeX\ itself can't use non-ASCII characters when writing error
messages to screen or to the log file. Instead, it prints non-ASCII
@@ -492,18 +523,22 @@ table is loaded, and all files \TeX\ reads are translated before they
are processed. If you are using \pkg{TCX}, you can't use the
\pkg{inputenc} package because the translation can be done only once.
-\pkg{TCX} and \pkg{inputenc} are more or less equivalent. The
-advantage of \pkg{TCX} is that you get Vietnamese characters in
-messages about overfull/underfull boxes and the like. The main
-drawback is that it doesn't support UTF-8.
+If you are using an engine which supports UTF-8 natively, like \XeTeX\
+or Lua\TeX\, you can't use \pkg{TCX} (and you don't need to).
-Vn\TeX\ provides two \pkg{TCX} tables, {\code|viscii-t5|}
-and {\code|tcvn-t5|}. Here is an example:
+% \pkg{TCX} and \pkg{inputenc} are more or less equivalent. The
+% advantage of \pkg{TCX} is that you get Vietnamese characters in
+% messages about overfull/underfull boxes and the like. The main
+% drawback is that it doesn't support UTF-8. On the other hand, \XeTeX\
+% and Lua\TeX\ support UTF-8 natively but not \pkg{TCX}.
+
+Vn\TeX\ provides two \pkg{TCX} tables, {\code|viscii-t5|} and
+{\code|tcvn-t5|}. Here is an example:
\begin{Code}
%& -translate-file=viscii-t5
\documentclass{report}
- \usepackage[noinputenc]{vietnam}
+ \usepackage[noinputenc]{vntex}
\begin{document}
|sometext(text in VISCII encoding)
\end{document}
@@ -521,7 +556,7 @@ on the command line. Using TCVN is similar.
\subsubsection{Creating HTML from \LaTeX\ sources}
-In order to create HTML documents from La\TeX\ sources, run
+In order to create HTML documents from \LaTeX\ sources, run
{\code|tex4ht "html,uni-html4,charset=utf8"|} \textit{yourfile.tex}
@@ -553,10 +588,10 @@ TeX yet.
distribution any more but it is very likely that they are part of the
\TeX\ system you are using.
-If you have a version of \pkg{plnfss}\ which doesn't already support
-Vietnamese, please install
+%If you have a version of \pkg{plnfss}\ which doesn't already support
+%Vietnamese, please install
-\http{vntex.sf.net/download/vntex-support/plnfss.zip}
+%\http{vntex.sf.net/download/vntex-support/plnfss.zip}
\subsubsection{Using \pkg{TCX}}
@@ -592,50 +627,78 @@ Vn\TeX\ provides a lot of Vietnamese fonts. If you are using
{\code|T5|} font encoding but do not specify any font (as in the
examples above) you get \pkg{Vietnamese Computer Modern}. These VNR
fonts are extensions to Donald Knuth's \pkg{Computern Modern Fonts}
-and have been designed by Hàn Thế Thành.
+and were designed by Hàn Thế Thành.
+
+\subsection{Acquiring Vietnamese Fonts}
+
+\subsubsection{Fonts provided by Vn\TeX}
-\marginnote{nonfree fonts}Vn\TeX\ provides Vietnamese versions of free
-fonts donated by Adobe, URW, and Bitstream. Some of the URW fonts can
-be used freely but they can't be distributed if money is charged for
-the distribution. These fonts are not part of the Vn\TeX\ core
-distribution because otherwise Vn\TeX\ can't be in \pkg{TeX Live} or
-in Linux distributions. There is an extra package containing these
-fonts:
+The following fonts are part of Vn\TeX. Vietnamese Glyphs were added
+by Hàn Thế Thành.
+\begin{itemize}
+\item Arev (a version of Bitstream Vera Sans)
+\item Bitstream Charter
+\item Computer Modern
+\item Computer Modern Bright
+\item Concrete
+\item txtt
+\item URW Grotesk
+\item urwvn (URW version of Adobe's LaserWriter fonts)
+\item Vntopia (based on Adobe Utopia)
+\end{itemize}
+
+\subsubsection{Vn\TeX\ nonfree Fonts}
+%\marginnote{nonfree fonts}Vn\TeX\ provides Vietnamese versions of free
+%fonts donated by Adobe, URW, and Bitstream.
+
+Some of the fonts donated by URW can be used freely but they can't be
+distributed if money is charged for the distribution. These fonts are
+not part of the Vn\TeX\ core distribution because otherwise Vn\TeX\
+can't be in \pkg{TeX Live} or in Linux distributions.
+
+These fonts are:
+\begin{itemize}
+\item URW Classico (URW version of Hermann Zapf's Optima)
+\item URW Garamond
+\end{itemize}
+
+There is an extra package containing these fonts:
\indenturl\http{vntex.sourceforge.net/download/vntex/vntex-nonfree.zip}\\
-\indenturl\http{vntex.sourceforge.net/download/vntex/vntex-nonfree.tar.bz2}
+\indenturl\http{vntex.sourceforge.net/download/vntex/vntex-nonfree.tar.xz}
+
+If you are using \pkg{TeX Live}, you can download and execute
+\pkg{install-getnonfreefonts} from
-If you are using \pkg{TeX Live}, intallation is very simple. Just run
+\indenturl\http{tug.org/fonts/getnonfreefonts}
-{\code|getnonfreefonts --help|}
+and run {\code|getnonfreefonts --help|} on the command line for more
+information.
-on the command line in order to get more information.
+\subsubsection{Microsoft Core Fonts}
-\marginnote{\pkg{Latin Modern} and \pkg{\TeX Gyre}}There are many other
- fonts supporting Vietnamese which are not shipped with Vn\TeX\
- because they are an integral part of any modern \TeX\ distribution
- anyway. Some quite interesting fonts are the \pkg{Latin Modern} and
- \pkg{\TeX\ Gyre} fonts created by Bogus\l{}aw Jackowski and Janusz
- M. Nowacki. They fully support Vietnamese but their main advantage
- is that they support virtually all Latin scripts used today. Thus,
- they are well suited for multilingual documents.
+Support for Microsoft's \emph{Web Fonts} was removed from Vn\TeX\
+because the actual fonts cannot be provided for legal reasons. Please
+consult the \href{http://vntex.sf.net}{\xbibcolor{Vn\TeX\ homepage}}
+for more information.
- \marginnote{MS core fonts}The Microsoft core fonts are supported
- too. Vn\TeX\ only provides the additional files needed to make them
- accessible to \TeX, but not the fonts themselves. If you are on
- Windows, they are available already.
+\subsubsection{Other Fonts supporting Vietnamese}
-If you are on Unix, you have to install them yourself.
-\http{sourceforge.net/project/showfiles.php?group\_id=34153}
+There are many other fonts supporting Vietnamese which are not shipped
+with Vn\TeX\ because they are an integral part of any modern \TeX\
+distribution anyway.
-Though the quality of the original fonts was quite good, the
-Vietnamese accents were added later, and obviously not by
-the guys who designed the fonts. The only exception is \pkg{Palatino
- Linotype}. Inspect the fonts carefully before you decide which one
-you want to use.
+\newpage
-\marginnote{font samples}There are sample files for all fonts which
+% \marginnote{\pkg{Latin Modern} and \pkg{\TeX Gyre}} Some quite
+% interesting fonts are the \pkg{Latin Modern} and \pkg{\TeX\ Gyre}
+% fonts created by Bogus\l{}aw Jackowski and Janusz M. Nowacki. They
+% fully support Vietnamese but their main advantage is that they support
+% virtually all Latin scripts used today. Thus, they are well suited
+% for multilingual documents.
+
+\marginnote{font samples}There are sample files of all fonts which
support Vietnamese, can be used with \TeX, and can be used freely,
even commercially. However, some of them can't be distributed if you
charge money for the distribution.
@@ -645,26 +708,35 @@ charge money for the distribution.
Not every font supports maths. If you have to typeset math
formulas, consult:
- \http{ctan.org/tex-archive/info/Free\_Math\_Font\_Survey/vn/survey-vn.pdf}
+\http{ctan.org/tex-archive/info/Free\_Math\_Font\_Survey/vn/survey-vn.pdf}
+
-\subsection{Selecting Fonts in \LaTeX}
+\subsection{Font Selection}
We describe how to use fonts with \LaTeX\ first. A description of
\pkg{plnfss} (plain TeX) is given below.
+\subsubsection{Selecting Fonts in \LaTeX}
+Some fonts provide a \LaTeX\ macropackage which loads the necessary
+fonts.
+
To use Latin Modern instead of VNR, simply
\begin{Code}
\usepackage{lmodern}
- \usepackage[viscii]{vietnam}
+ \usepackage{vntex}
\end{Code}
For Antikwa Toru\'nska, do
\begin{Code}
\usepackage{anttor}
- \usepackage[viscii]{vietnam}
+ \usepackage{vntex}
\end{Code}
-\ldots or use \pkg{inputenc} and \pkg{babel} instead of \pkg{vietnam}.
+\ldots or use \pkg{inputenc} and \pkg{babel} instead of \pkg{vietnam}
+or \pkg{vntex}.
+
+Some font packages do not provide such a \LaTeX\ macro package. An
+example is \pkg{urwvn}.
It is recommended to specify a roman font, a sans-serif font and a
typewriter font separately. You do not have to specify all of them.
@@ -699,9 +771,9 @@ You can use it like this:
\sometext{some text}}
The macro argument should not contain any numbers because they will appear
-as oldstyle numbers, but you cannot use oldstyle numbers with other font
-shapes in T5 encoding (Vietnamese) yet. This problem will be fixed in a
-future release.
+as oldstyle numbers.% but you cannot use oldstyle numbers with other font
+%shapes in T5 encoding (Vietnamese) yet. This problem will be fixed in a
+%future release.
\marginnote{math fonts}If you have to typeset math formulas, be aware
that not all fonts support math. The following fonts support math
@@ -717,7 +789,8 @@ very well:
There are many others too, please consult:
- \http{ctan.org/tex-archive/info/Free\_Math\_Font\_Survey/vn/survey-vn.pdf}
+% \http{ctan.org/tex-archive/info/Free\_Math\_Font\_Survey/vn/survey-vn.pdf}
+ \http{vntex.sf.net/fonts/samples/survey-vn.pdf}
However, some of the fonts borrow math symbols from other fonts and
it's worthwhile to check whether all the symbols you need blend well
@@ -728,8 +801,7 @@ There are many others too, please consult:
one is a lowercase ``\texttt{L}'', the second one is an uppercase
``\texttt{i}''.
-
-\clearpage
+%\clearpage
\marginnote{MS core fonts}If you are using Windows, you also can use
the fonts provided by Microsoft:
@@ -746,7 +818,7 @@ Command & PostScript Name & Font Family Name
None of the Microsoft fonts supports mathematics. Though the quality of
the fonts is quite high, not much care had been taken in the design of
-Vietnamese accents. See:
+Vietnamese accents (except in \emph{Palatino Linotype}). See:
\http{vntex.sf.net/fonts/samples}
@@ -759,17 +831,18 @@ Unless someone insists that you use these fonts, you can use
|VnURWPalladioL| & instead of |PalatinoLinotype| & Palatino\\\hline
\end{tabular}
+\subsubsection{Selecting Fonts in plain \TeX}
If you are using plain \TeX, you can use \pkg{plnfss.tex} to select fonts.
-Instead of
-\begin{Code}
- \renewcommand\rmdefault{...}
- \renewcommand\sfdefault{...}
- \renewcommand\ttdefault{...}
-\end{Code}
+% Instead of
+% \begin{Code}
+% \renewcommand\rmdefault{...}
+% \renewcommand\sfdefault{...}
+% \renewcommand\ttdefault{...}
+% \end{Code}
-you have to select fonts like this:
+% you have to select fonts like this:
\begin{Code}
\setrmdefault{...}
\setsfdefault{...}
@@ -791,28 +864,27 @@ all other files are under LPPL, version 1.3 or newer.
\item \http{www.latex-project.org/lppl.txt}
\item \http{tug.org/fonts/utopia/LICENSE-utopia.txt}
\end{itemize}
-\clearpage
+%\clearpage
-\section{Contributors}
-
-\LaTeX\ support (input encoding files, font encoding files, babel support
-and vietnam.sty) had been provided by Werner Lemberg. \pkg{vntex.sty}
-had been proposed by Huỳnh Kỳ Anh.
-Vietnamese fonts for \pkg{tex4ht} had originally been provided by Hàn
-Thế Thành, but they are now maintained by Eitan Gurari.
+\section{Contributors}
+The author of Vn\TeX\ is Hàn Thế Thành. Current maintainers are
+Reinhard Kotucha and Werner Lemberg.
-\pkg{plnfss} had been removed from Vn\TeX\ because it supports many other
-languages as well. You can download it from
+\LaTeX\ support (input encoding files, font encoding files,
+\pkg{babel} support files and vietnam.sty) were provided by Werner
+Lemberg. \pkg{vntex.sty} was proposed by Huỳnh Kỳ Anh.
- \http{ctan.tug.org/tex-archive/macros/plain/plnfss}
+Vietnamese fonts for \pkg{tex4ht} originally were provided by Hàn
+Thế Thành, but they are now part of the \pkg{tex4ht} distribution.
+\pkg{plnfss} was written by Hàn Thế Thành and Michal Konečný. It was
+removed from Vn\TeX\ because it supports many other languages as well.
\section{Known Problems}
-
\begin{itemize}
-\item In order to use \pkg{amsart.cls} (and other AMS La\TeX\ document
+\item In order to use \pkg{amsart.cls} (and other AMS \LaTeX\ document
classes) with Unicode you must add the following lines immediately
before {\code|\begin{document}|}:
\begin{Code}
@@ -820,44 +892,61 @@ languages as well. You can download it from
\let\uppercase\firstofone
\let\MakeUppercase\firstofone
\end{Code}
+\end{itemize}
This completely disables \LaTeX's uppercasing commands which might
cause bad secondary effects. Note that this problem is not specific
to Vietnamese but affects any multibyte encoding.
-\item In order to use Vn\TeX\ with \pkg{Prosper}, you have to install
-
- \http{vntex.sf.net/download/vntex-support/prosper-vn.zip}
-
- \item In order to use Vn\TeX\ with Foil\TeX, you have to install
-
- \http{vntex.sf.net/download/vntex-support/foiltex-vn.zip}
+\ifx\printversion\undefined
+\section{Release Notes}
+ The Vn\TeX\ history is \bibfilenoauthor{ReleaseNotes.pdf}{here}.
+\fi
- \item If you have an old version of \LaTeX\ which does not support
- UTF-8, you have to use \pkg{ucs.sty}. If \pkg{ucs.sty} is not
- present on your system you can install
- \http{vntex.sf.net/download/vntex-support/ucs-vn.zip}
+\end{document}
- We will keep this file as long as \pkg{ucs} is unmaintained. If
- a maintainer is found you should download a fresh \pkg{ucs}
- distribution from the original site.
+% \item In order to use Vn\TeX\ with \pkg{prosper}, you have to install
+
+% \http{vntex.sf.net/download/vntex-support/prosper-vn.zip}
- This is a small subset of the \pkg{ucs} package which supports
- Vietnamese only. You can invoke it with
- {\code|\usepackage[utf8x]{inputenc}|}.
+% \item In order to use Vn\TeX\ with \pkg{prosper}, put the lines
+% \begin{verbatim}
+% \usepackage[T1,T5]{fontenc}
+% \def\usefont#1#2#3#4{%
+% \fontfamily{#2}\fontseries{#3}\fontshape{#4}\selectfont}
+% \end{verbatim}
+% into the preamble before you laod \pkg{prosper}. Or better use
+% \pkg{beamer} instead.
- Instead of installing ucs we recommend you update \LaTeX. The
- latest version can be downloaded from
+
+% \item In order to use Vn\TeX\ with Foil\TeX, you have to install
- \begin{itemize}
- \item \leavevmode\http{www.dante.de/tex-archive/macros/latex/base.zip} (Germany)
- \item \leavevmode\http{www.tex.ac.uk/tex-archive/macros/latex/base.zip} (UK)
- \item \leavevmode\http{tug.ctan.org/tex-archive/macros/latex/base.zip} (USA)
- \end{itemize}
-\end{itemize}
+% \http{vntex.sf.net/download/vntex-support/foiltex-vn.zip}
+
+% \item If you have an old version of \LaTeX\ which does not support
+% UTF-8, you have to use \pkg{ucs.sty}. If \pkg{ucs.sty} is not
+% present on your system you can install
+
+% \http{vntex.sf.net/download/vntex-support/ucs-vn.zip}
+
+% We will keep this file as long as \pkg{ucs} is unmaintained. If
+% a maintainer is found you should download a fresh \pkg{ucs}
+% distribution from the original site.
+
+% This is a small subset of the \pkg{ucs} package which supports
+% Vietnamese only. You can invoke it with
+% {\code|\usepackage[utf8x]{inputenc}|}.
+
+% Instead of installing ucs we recommend you update \LaTeX. The
+% latest version can be downloaded from
+
+% \begin{itemize}
+% \item \leavevmode\http{www.dante.de/tex-archive/macros/latex/base.zip} (Germany)
+% \item \leavevmode\http{www.tex.ac.uk/tex-archive/macros/latex/base.zip} (UK)
+% \item \leavevmode\http{tug.ctan.org/tex-archive/macros/latex/base.zip} (USA)
+% \end{itemize}
-\end{document}
__
Everything below the line above is ignored.
@@ -867,3 +956,18 @@ End:
%%% initemxf --edit-config-file updmap
+
+% \marginnote{MS core fonts}The Microsoft core fonts are supported too.
+% Vn\TeX\ only provides the additional files needed to make them
+% accessible to \TeX, but not the fonts themselves. If you are on
+% Windows, they are available already.
+
+% If you are on Unix, you have to install them yourself.
+
+% \http{sourceforge.net/project/showfiles.php?group\_id=34153}
+
+% Though the quality of the original fonts was quite good, the
+% Vietnamese accents were added later, and obviously not by
+% the guys who designed the fonts. The only exception is \pkg{Palatino
+% Linotype}. Inspect the fonts carefully before you decide which one
+% you want to use.
diff --git a/Master/texmf-dist/source/generic/vntex/tests/Makefile b/Master/texmf-dist/source/generic/vntex/tests/Makefile
index f00cd63f679..f1a08c2d03c 100644
--- a/Master/texmf-dist/source/generic/vntex/tests/Makefile
+++ b/Master/texmf-dist/source/generic/vntex/tests/Makefile
@@ -1,4 +1,4 @@
-# vntex-3.1.9
+# vntex-3.2
#
# Author: Han The Thanh <hanthethanh@gmx.net>.
# This file is part of vntex. Public domain.
@@ -234,7 +234,7 @@ REFERENCES = vnr-test urwvn-test chartervn-test \
$(ANTT_TEST) $(T5LM_TEST) \
$(IWONA_TEST) $(KURIER_TEST) $(CYKLOP_TEST) \
$(GROTESK_TEST) $(GARAMOND_TEST) \
- $(AREV_TEST) $(VNTOPIA_TEST) $(CLASSICO_TEST) \
+ $(AREV_TEST) $(VNTOPIA_TEST) $(CLASSICO_TEST) \
$(CMBRIGHT_TEST) $(CONCRETE_TEST) \
$(GENTIUM_TEST) $(TXTT_TEST) \
$(BONUM_TEST) $(PAGELLA_TEST) $(TERMES_TEST) \
@@ -246,7 +246,7 @@ SAMPLES = vnr-sample urwvn-sample chartervn-sample \
$(ANTT_SAMPLE) $(T5LM_SAMPLE) \
$(IWONA_SAMPLE) $(KURIER_SAMPLE) $(CYKLOP_SAMPLE) \
$(GROTESK_SAMPLE) $(GARAMOND_SAMPLE) \
- $(AREV_SAMPLE) $(VNTOPIA_SAMPLE) $(CLASSICO_SAMPLE) \
+ $(AREV_SAMPLE) $(VNTOPIA_SAMPLE) $(CLASSICO_SAMPLE) \
$(CMBRIGHT_SAMPLE) $(CONCRETE_SAMPLE) \
$(GENTIUM_SAMPLE) $(TXTT_SAMPLE) \
$(BONUM_SAMPLE) $(PAGELLA_SAMPLE) $(TERMES_SAMPLE) \
diff --git a/Master/texmf-dist/source/generic/vntex/tests/README b/Master/texmf-dist/source/generic/vntex/tests/README
index 53f5f236ce7..e1134fe045c 100644
--- a/Master/texmf-dist/source/generic/vntex/tests/README
+++ b/Master/texmf-dist/source/generic/vntex/tests/README
@@ -1,4 +1,4 @@
-vntex-3.1.9
+vntex-3.2
Copyright 2003-2005 Han The Thanh <HanTheThanh@gmx.net>
and Reinhard Kotucha <Reinhard.Kotucha@web.de>.
diff --git a/Master/texmf-dist/source/generic/vntex/tests/adventor-sample.tex b/Master/texmf-dist/source/generic/vntex/tests/adventor-sample.tex
index f32f7ea3d02..8b760874bbf 100644
--- a/Master/texmf-dist/source/generic/vntex/tests/adventor-sample.tex
+++ b/Master/texmf-dist/source/generic/vntex/tests/adventor-sample.tex
@@ -4,6 +4,7 @@
\documentclass[sample]{vnsample}
+\title{TeX Gyre Adventor}
\mapfile{qag}
\begin{document}
diff --git a/Master/texmf-dist/source/generic/vntex/tests/adventor-test.tex b/Master/texmf-dist/source/generic/vntex/tests/adventor-test.tex
index 1285f08fd37..1d9ac53dd35 100644
--- a/Master/texmf-dist/source/generic/vntex/tests/adventor-test.tex
+++ b/Master/texmf-dist/source/generic/vntex/tests/adventor-test.tex
@@ -4,6 +4,7 @@
\documentclass[test]{vnsample}
+\title{TeX Gyre Adventor}
\mapfile{qag}
\begin{document}
diff --git a/Master/texmf-dist/source/generic/vntex/tests/arevvn-sample.tex b/Master/texmf-dist/source/generic/vntex/tests/arevvn-sample.tex
index 26f6656b48e..178588046e6 100644
--- a/Master/texmf-dist/source/generic/vntex/tests/arevvn-sample.tex
+++ b/Master/texmf-dist/source/generic/vntex/tests/arevvn-sample.tex
@@ -4,6 +4,7 @@
\documentclass[sample]{vnsample}
+\title{Arev Sans Vn}
\mapfile{arevvn}
\begin{document}
diff --git a/Master/texmf-dist/source/generic/vntex/tests/arevvn-test.tex b/Master/texmf-dist/source/generic/vntex/tests/arevvn-test.tex
index 1f808e16688..00d09605898 100644
--- a/Master/texmf-dist/source/generic/vntex/tests/arevvn-test.tex
+++ b/Master/texmf-dist/source/generic/vntex/tests/arevvn-test.tex
@@ -4,6 +4,7 @@
\documentclass[test]{vnsample}
+\title{Arev Sans Vn}
\mapfile{arevvn}
\begin{document}
diff --git a/Master/texmf-dist/source/generic/vntex/tests/bonum-sample.tex b/Master/texmf-dist/source/generic/vntex/tests/bonum-sample.tex
index 3bd324270da..e4bdd016b5b 100644
--- a/Master/texmf-dist/source/generic/vntex/tests/bonum-sample.tex
+++ b/Master/texmf-dist/source/generic/vntex/tests/bonum-sample.tex
@@ -4,6 +4,7 @@
\documentclass[sample]{vnsample}
+\title{TeX Gyre Bonum}
\mapfile{qbk}
\begin{document}
diff --git a/Master/texmf-dist/source/generic/vntex/tests/bonum-test.tex b/Master/texmf-dist/source/generic/vntex/tests/bonum-test.tex
index 9398674925e..bb6480d5d17 100644
--- a/Master/texmf-dist/source/generic/vntex/tests/bonum-test.tex
+++ b/Master/texmf-dist/source/generic/vntex/tests/bonum-test.tex
@@ -4,6 +4,7 @@
\documentclass[test]{vnsample}
+\title{TeX Gyre Bonum}
\mapfile{qbk}
\begin{document}
diff --git a/Master/texmf-dist/source/generic/vntex/tests/chartervn-sample.tex b/Master/texmf-dist/source/generic/vntex/tests/chartervn-sample.tex
index 2321ba80657..7a304806180 100644
--- a/Master/texmf-dist/source/generic/vntex/tests/chartervn-sample.tex
+++ b/Master/texmf-dist/source/generic/vntex/tests/chartervn-sample.tex
@@ -4,6 +4,7 @@
\documentclass[sample]{vnsample}
+\title{CharterBT Vn}
\mapfile{chartervn}
\begin{document}
diff --git a/Master/texmf-dist/source/generic/vntex/tests/chartervn-test.tex b/Master/texmf-dist/source/generic/vntex/tests/chartervn-test.tex
index 0f3fb5dba87..d18e63f91a7 100644
--- a/Master/texmf-dist/source/generic/vntex/tests/chartervn-test.tex
+++ b/Master/texmf-dist/source/generic/vntex/tests/chartervn-test.tex
@@ -4,6 +4,7 @@
\documentclass[test]{vnsample}
+\title{CharterBT Vn}
\mapfile{chartervn.map}
\begin{document}
diff --git a/Master/texmf-dist/source/generic/vntex/tests/chorus-sample.tex b/Master/texmf-dist/source/generic/vntex/tests/chorus-sample.tex
index 4e7b57f1809..a4674f25860 100644
--- a/Master/texmf-dist/source/generic/vntex/tests/chorus-sample.tex
+++ b/Master/texmf-dist/source/generic/vntex/tests/chorus-sample.tex
@@ -4,6 +4,7 @@
\documentclass[sample]{vnsample}
+\title{TeX Gyre Chorus}
\mapfile{qzc}
\begin{document}
diff --git a/Master/texmf-dist/source/generic/vntex/tests/chorus-test.tex b/Master/texmf-dist/source/generic/vntex/tests/chorus-test.tex
index 1cabfbe3203..d3a76c474ab 100644
--- a/Master/texmf-dist/source/generic/vntex/tests/chorus-test.tex
+++ b/Master/texmf-dist/source/generic/vntex/tests/chorus-test.tex
@@ -4,6 +4,7 @@
\documentclass[test]{vnsample}
+\title{TeX Gyre Chorus}
\mapfile{qzc}
\begin{document}
diff --git a/Master/texmf-dist/source/generic/vntex/tests/classicovn-sample.tex b/Master/texmf-dist/source/generic/vntex/tests/classicovn-sample.tex
index 83380012a23..db8f7c34ca4 100644
--- a/Master/texmf-dist/source/generic/vntex/tests/classicovn-sample.tex
+++ b/Master/texmf-dist/source/generic/vntex/tests/classicovn-sample.tex
@@ -4,6 +4,7 @@
\documentclass[sample]{vnsample}
+\title{URW Classico Vn}
\mapfile{classicovn}
\begin{document}
diff --git a/Master/texmf-dist/source/generic/vntex/tests/classicovn-test.tex b/Master/texmf-dist/source/generic/vntex/tests/classicovn-test.tex
index c76b5ef33b2..894cf66236e 100644
--- a/Master/texmf-dist/source/generic/vntex/tests/classicovn-test.tex
+++ b/Master/texmf-dist/source/generic/vntex/tests/classicovn-test.tex
@@ -4,6 +4,7 @@
\documentclass[test]{vnsample}
+\title{URW Classico Vn}
\mapfile{classicovn}
\begin{document}
diff --git a/Master/texmf-dist/source/generic/vntex/tests/cmbrightvn-sample.tex b/Master/texmf-dist/source/generic/vntex/tests/cmbrightvn-sample.tex
index 48847876236..b8087f0af90 100644
--- a/Master/texmf-dist/source/generic/vntex/tests/cmbrightvn-sample.tex
+++ b/Master/texmf-dist/source/generic/vntex/tests/cmbrightvn-sample.tex
@@ -4,6 +4,7 @@
\documentclass[sample]{vnsample}
+\title{Computer Modern Bright Vn}
\mapfile{cmbrightvn}
\begin{document}
diff --git a/Master/texmf-dist/source/generic/vntex/tests/cmbrightvn-test.tex b/Master/texmf-dist/source/generic/vntex/tests/cmbrightvn-test.tex
index 3f33e6192a8..cdeb442695c 100644
--- a/Master/texmf-dist/source/generic/vntex/tests/cmbrightvn-test.tex
+++ b/Master/texmf-dist/source/generic/vntex/tests/cmbrightvn-test.tex
@@ -4,6 +4,7 @@
\documentclass[test]{vnsample}
+\title{Computer Modern Bright Vn}
\mapfile{cmbrightvn}
\begin{document}
diff --git a/Master/texmf-dist/source/generic/vntex/tests/comicsansvn-sample.tex b/Master/texmf-dist/source/generic/vntex/tests/comicsansvn-sample.tex
index b8a7690e0af..bcf79ede38c 100644
--- a/Master/texmf-dist/source/generic/vntex/tests/comicsansvn-sample.tex
+++ b/Master/texmf-dist/source/generic/vntex/tests/comicsansvn-sample.tex
@@ -4,6 +4,7 @@
\documentclass[sample]{vnsample}
+\title{Comic Sans Vn}
\mapfile{comicvn}
\begin{document}
diff --git a/Master/texmf-dist/source/generic/vntex/tests/comicsansvn-test.tex b/Master/texmf-dist/source/generic/vntex/tests/comicsansvn-test.tex
index 918a7ca4ea0..2979ceeb5e5 100644
--- a/Master/texmf-dist/source/generic/vntex/tests/comicsansvn-test.tex
+++ b/Master/texmf-dist/source/generic/vntex/tests/comicsansvn-test.tex
@@ -4,6 +4,7 @@
\documentclass[test]{vnsample}
+\title{Comic Sans Vn}
\mapfile{comicvn}
\begin{document}
diff --git a/Master/texmf-dist/source/generic/vntex/tests/concretevn-sample.tex b/Master/texmf-dist/source/generic/vntex/tests/concretevn-sample.tex
index e9ac0a3c571..7f04b4df186 100644
--- a/Master/texmf-dist/source/generic/vntex/tests/concretevn-sample.tex
+++ b/Master/texmf-dist/source/generic/vntex/tests/concretevn-sample.tex
@@ -4,6 +4,7 @@
\documentclass[sample]{vnsample}
+\title{Conrete Vn}
\mapfile{concretevn}
\begin{document}
diff --git a/Master/texmf-dist/source/generic/vntex/tests/concretevn-test.tex b/Master/texmf-dist/source/generic/vntex/tests/concretevn-test.tex
index 1ce48bbf4c9..3f67e8fb188 100644
--- a/Master/texmf-dist/source/generic/vntex/tests/concretevn-test.tex
+++ b/Master/texmf-dist/source/generic/vntex/tests/concretevn-test.tex
@@ -4,6 +4,7 @@
\documentclass[test]{vnsample}
+\title{Conrete Vn}
\mapfile{concretevn}
\begin{document}
diff --git a/Master/texmf-dist/source/generic/vntex/tests/cursor-sample.tex b/Master/texmf-dist/source/generic/vntex/tests/cursor-sample.tex
index d2a255ee640..ee5ff6a34b4 100644
--- a/Master/texmf-dist/source/generic/vntex/tests/cursor-sample.tex
+++ b/Master/texmf-dist/source/generic/vntex/tests/cursor-sample.tex
@@ -4,6 +4,7 @@
\documentclass[sample]{vnsample}
+\title{TeX Gyre Cursor}
\mapfile{qcr}
\begin{document}
diff --git a/Master/texmf-dist/source/generic/vntex/tests/cursor-test.tex b/Master/texmf-dist/source/generic/vntex/tests/cursor-test.tex
index db02b0cbe70..08f6fd00fe2 100644
--- a/Master/texmf-dist/source/generic/vntex/tests/cursor-test.tex
+++ b/Master/texmf-dist/source/generic/vntex/tests/cursor-test.tex
@@ -4,6 +4,7 @@
\documentclass[test]{vnsample}
+\title{TeX Gyre Cursor}
\mapfile{qcr}
\begin{document}
diff --git a/Master/texmf-dist/source/generic/vntex/tests/garamondvn-sample.tex b/Master/texmf-dist/source/generic/vntex/tests/garamondvn-sample.tex
index f64ecfe7f3c..6b969f3c2f3 100644
--- a/Master/texmf-dist/source/generic/vntex/tests/garamondvn-sample.tex
+++ b/Master/texmf-dist/source/generic/vntex/tests/garamondvn-sample.tex
@@ -4,6 +4,7 @@
\documentclass[sample]{vnsample}
+\title{GaramondNo8 Vn}
\mapfile{garamondvn}
\begin{document}
diff --git a/Master/texmf-dist/source/generic/vntex/tests/garamondvn-test.tex b/Master/texmf-dist/source/generic/vntex/tests/garamondvn-test.tex
index a884e387dbd..4413fd896f5 100644
--- a/Master/texmf-dist/source/generic/vntex/tests/garamondvn-test.tex
+++ b/Master/texmf-dist/source/generic/vntex/tests/garamondvn-test.tex
@@ -4,6 +4,7 @@
\documentclass[test]{vnsample}
+\title{GaramondNo8 Vn}
\mapfile{garamondvn}
\begin{document}
diff --git a/Master/texmf-dist/source/generic/vntex/tests/grotesqvn-sample.tex b/Master/texmf-dist/source/generic/vntex/tests/grotesqvn-sample.tex
index 39447b7060c..b5ef0625cd8 100644
--- a/Master/texmf-dist/source/generic/vntex/tests/grotesqvn-sample.tex
+++ b/Master/texmf-dist/source/generic/vntex/tests/grotesqvn-sample.tex
@@ -4,6 +4,7 @@
\documentclass[sample]{vnsample}
+\title{URW Grotesk Vn}
\mapfile{grotesqvn}
\begin{document}
diff --git a/Master/texmf-dist/source/generic/vntex/tests/grotesqvn-test.tex b/Master/texmf-dist/source/generic/vntex/tests/grotesqvn-test.tex
index 498e74529a5..7a64bf22081 100644
--- a/Master/texmf-dist/source/generic/vntex/tests/grotesqvn-test.tex
+++ b/Master/texmf-dist/source/generic/vntex/tests/grotesqvn-test.tex
@@ -4,6 +4,7 @@
\documentclass[test]{vnsample}
+\title{URW Grotesk Vn}
\mapfile{grotesqvn}
\begin{document}
diff --git a/Master/texmf-dist/source/generic/vntex/tests/heros-sample.tex b/Master/texmf-dist/source/generic/vntex/tests/heros-sample.tex
index c5b40690291..fbd73686457 100644
--- a/Master/texmf-dist/source/generic/vntex/tests/heros-sample.tex
+++ b/Master/texmf-dist/source/generic/vntex/tests/heros-sample.tex
@@ -4,6 +4,7 @@
\documentclass[sample]{vnsample}
+\title{TeX Gyre Heros}
\mapfile{qhv}
\begin{document}
diff --git a/Master/texmf-dist/source/generic/vntex/tests/heros-test.tex b/Master/texmf-dist/source/generic/vntex/tests/heros-test.tex
index 10c8adc316b..3cb067614b7 100644
--- a/Master/texmf-dist/source/generic/vntex/tests/heros-test.tex
+++ b/Master/texmf-dist/source/generic/vntex/tests/heros-test.tex
@@ -4,6 +4,7 @@
\documentclass[test]{vnsample}
+\title{TeX Gyre Heros}
\mapfile{qhv}
\begin{document}
diff --git a/Master/texmf-dist/source/generic/vntex/tests/mscore-sample.tex b/Master/texmf-dist/source/generic/vntex/tests/mscore-sample.tex
index d4795d8540a..9ada9559a14 100644
--- a/Master/texmf-dist/source/generic/vntex/tests/mscore-sample.tex
+++ b/Master/texmf-dist/source/generic/vntex/tests/mscore-sample.tex
@@ -4,6 +4,7 @@
\documentclass[sample]{vnsample}
+\title{MS Core}
\mapfile{mscore}
\begin{document}
diff --git a/Master/texmf-dist/source/generic/vntex/tests/mscore-test.tex b/Master/texmf-dist/source/generic/vntex/tests/mscore-test.tex
index aee39caae86..81cf32ea1d3 100644
--- a/Master/texmf-dist/source/generic/vntex/tests/mscore-test.tex
+++ b/Master/texmf-dist/source/generic/vntex/tests/mscore-test.tex
@@ -4,6 +4,7 @@
\documentclass[test]{vnsample}
+\title{MS Core}
\mapfile{mscore}
\begin{document}
diff --git a/Master/texmf-dist/source/generic/vntex/tests/pagella-sample.tex b/Master/texmf-dist/source/generic/vntex/tests/pagella-sample.tex
index f371a7446f9..48b172b3cc7 100644
--- a/Master/texmf-dist/source/generic/vntex/tests/pagella-sample.tex
+++ b/Master/texmf-dist/source/generic/vntex/tests/pagella-sample.tex
@@ -4,6 +4,7 @@
\documentclass[sample]{vnsample}
+\title{TeX Gyre Pagella}
\mapfile{qpl}
\begin{document}
diff --git a/Master/texmf-dist/source/generic/vntex/tests/pagella-test.tex b/Master/texmf-dist/source/generic/vntex/tests/pagella-test.tex
index f8ac90cf62b..ed2cd4e5248 100644
--- a/Master/texmf-dist/source/generic/vntex/tests/pagella-test.tex
+++ b/Master/texmf-dist/source/generic/vntex/tests/pagella-test.tex
@@ -4,6 +4,7 @@
\documentclass[test]{vnsample}
+\title{TeX Gyre Pagella}
\mapfile{qpl}
\begin{document}
diff --git a/Master/texmf-dist/source/generic/vntex/tests/schola-sample.tex b/Master/texmf-dist/source/generic/vntex/tests/schola-sample.tex
index 327d65b23d9..acc45a219de 100644
--- a/Master/texmf-dist/source/generic/vntex/tests/schola-sample.tex
+++ b/Master/texmf-dist/source/generic/vntex/tests/schola-sample.tex
@@ -4,6 +4,7 @@
\documentclass[sample]{vnsample}
+\title{TeX Gyre Schola}
\mapfile{qcs}
\begin{document}
diff --git a/Master/texmf-dist/source/generic/vntex/tests/schola-test.tex b/Master/texmf-dist/source/generic/vntex/tests/schola-test.tex
index 535bbead5ec..0ae98d2a043 100644
--- a/Master/texmf-dist/source/generic/vntex/tests/schola-test.tex
+++ b/Master/texmf-dist/source/generic/vntex/tests/schola-test.tex
@@ -4,6 +4,7 @@
\documentclass[test]{vnsample}
+\title{TeX Gyre Schola}
\mapfile{qcs}
\begin{document}
diff --git a/Master/texmf-dist/source/generic/vntex/tests/t5antt-sample.tex b/Master/texmf-dist/source/generic/vntex/tests/t5antt-sample.tex
index 983203dce29..643892f85a2 100644
--- a/Master/texmf-dist/source/generic/vntex/tests/t5antt-sample.tex
+++ b/Master/texmf-dist/source/generic/vntex/tests/t5antt-sample.tex
@@ -4,6 +4,7 @@
\documentclass[sample]{vnsample}
+\title{Antykwa Torunska}
\mapfile{t5-antt}
\begin{document}
diff --git a/Master/texmf-dist/source/generic/vntex/tests/t5antt-test.tex b/Master/texmf-dist/source/generic/vntex/tests/t5antt-test.tex
index 229895d63f6..9464d499b9b 100644
--- a/Master/texmf-dist/source/generic/vntex/tests/t5antt-test.tex
+++ b/Master/texmf-dist/source/generic/vntex/tests/t5antt-test.tex
@@ -4,6 +4,7 @@
\documentclass[test]{vnsample}
+\title{Antykwa Torunska}
\mapfile{t5-antt}
\begin{document}
diff --git a/Master/texmf-dist/source/generic/vntex/tests/t5cyklop-sample.tex b/Master/texmf-dist/source/generic/vntex/tests/t5cyklop-sample.tex
index a07e4db25f3..615b45751e4 100644
--- a/Master/texmf-dist/source/generic/vntex/tests/t5cyklop-sample.tex
+++ b/Master/texmf-dist/source/generic/vntex/tests/t5cyklop-sample.tex
@@ -4,6 +4,7 @@
\documentclass[sample]{vnsample}
+\title{Cyklop}
\mapfile{cyklop}
\begin{document}
diff --git a/Master/texmf-dist/source/generic/vntex/tests/t5cyklop-test.tex b/Master/texmf-dist/source/generic/vntex/tests/t5cyklop-test.tex
index 637da8426b9..01672d12149 100644
--- a/Master/texmf-dist/source/generic/vntex/tests/t5cyklop-test.tex
+++ b/Master/texmf-dist/source/generic/vntex/tests/t5cyklop-test.tex
@@ -4,6 +4,7 @@
\documentclass[test]{vnsample}
+\title{Cyklop}
\mapfile{cyklop}
\begin{document}
diff --git a/Master/texmf-dist/source/generic/vntex/tests/t5gentium-sample.tex b/Master/texmf-dist/source/generic/vntex/tests/t5gentium-sample.tex
index b0b602946d4..e6443952395 100644
--- a/Master/texmf-dist/source/generic/vntex/tests/t5gentium-sample.tex
+++ b/Master/texmf-dist/source/generic/vntex/tests/t5gentium-sample.tex
@@ -4,6 +4,7 @@
\documentclass[sample]{vnsample}
+\title{Gentium}
\mapfile{gentium}
\begin{document}
diff --git a/Master/texmf-dist/source/generic/vntex/tests/t5gentium-test.tex b/Master/texmf-dist/source/generic/vntex/tests/t5gentium-test.tex
index 0d5ee17d47d..b47d6375c2e 100644
--- a/Master/texmf-dist/source/generic/vntex/tests/t5gentium-test.tex
+++ b/Master/texmf-dist/source/generic/vntex/tests/t5gentium-test.tex
@@ -4,6 +4,7 @@
\documentclass[test]{vnsample}
+\title{Gentium}
\mapfile{gentium}
\begin{document}
diff --git a/Master/texmf-dist/source/generic/vntex/tests/t5iwona-sample.tex b/Master/texmf-dist/source/generic/vntex/tests/t5iwona-sample.tex
index 9499ddb0243..8e569809325 100644
--- a/Master/texmf-dist/source/generic/vntex/tests/t5iwona-sample.tex
+++ b/Master/texmf-dist/source/generic/vntex/tests/t5iwona-sample.tex
@@ -4,6 +4,7 @@
\documentclass[sample]{vnsample}
+\title{Iwona}
\mapfile{t5-iwona}
\begin{document}
diff --git a/Master/texmf-dist/source/generic/vntex/tests/t5iwona-test.tex b/Master/texmf-dist/source/generic/vntex/tests/t5iwona-test.tex
index 34b2dc5046c..055ab3d7061 100644
--- a/Master/texmf-dist/source/generic/vntex/tests/t5iwona-test.tex
+++ b/Master/texmf-dist/source/generic/vntex/tests/t5iwona-test.tex
@@ -4,6 +4,7 @@
\documentclass[test]{vnsample}
+\title{Iwona}
\mapfile{t5-iwona}
\begin{document}
diff --git a/Master/texmf-dist/source/generic/vntex/tests/t5kurier-sample.tex b/Master/texmf-dist/source/generic/vntex/tests/t5kurier-sample.tex
index 5403447748a..30a9009736b 100644
--- a/Master/texmf-dist/source/generic/vntex/tests/t5kurier-sample.tex
+++ b/Master/texmf-dist/source/generic/vntex/tests/t5kurier-sample.tex
@@ -4,6 +4,7 @@
\documentclass[sample]{vnsample}
+\title{Kurier}
\mapfile{t5-kurier}
\begin{document}
diff --git a/Master/texmf-dist/source/generic/vntex/tests/t5kurier-test.tex b/Master/texmf-dist/source/generic/vntex/tests/t5kurier-test.tex
index 6dfa7108262..b590b27665b 100644
--- a/Master/texmf-dist/source/generic/vntex/tests/t5kurier-test.tex
+++ b/Master/texmf-dist/source/generic/vntex/tests/t5kurier-test.tex
@@ -4,6 +4,7 @@
\documentclass[test]{vnsample}
+\title{Kurier}
\mapfile{t5-kurier}
\begin{document}
diff --git a/Master/texmf-dist/source/generic/vntex/tests/t5lm-sample.tex b/Master/texmf-dist/source/generic/vntex/tests/t5lm-sample.tex
index 91ea5a73e48..43b761ae4a1 100644
--- a/Master/texmf-dist/source/generic/vntex/tests/t5lm-sample.tex
+++ b/Master/texmf-dist/source/generic/vntex/tests/t5lm-sample.tex
@@ -4,10 +4,11 @@
\documentclass[sample]{vnsample}
-\HasDesignSizes
-
+\title{Latin Modern}
\mapfile{lm.map}
+\HasDesignSizes
+
\begin{document}
\section{lmr}
\showCMfont{T5}{lmr}{m}{n} {t5-lmr5} {N/A}
diff --git a/Master/texmf-dist/source/generic/vntex/tests/t5lm-test.tex b/Master/texmf-dist/source/generic/vntex/tests/t5lm-test.tex
index 41f7489b5bb..76db9ef3fab 100644
--- a/Master/texmf-dist/source/generic/vntex/tests/t5lm-test.tex
+++ b/Master/texmf-dist/source/generic/vntex/tests/t5lm-test.tex
@@ -4,6 +4,7 @@
\documentclass[test]{vnsample}
+\title{Latin Modern}
\mapfile{lm}
\begin{document}
diff --git a/Master/texmf-dist/source/generic/vntex/tests/termes-sample.tex b/Master/texmf-dist/source/generic/vntex/tests/termes-sample.tex
index 09803df1948..ee9d48808ca 100644
--- a/Master/texmf-dist/source/generic/vntex/tests/termes-sample.tex
+++ b/Master/texmf-dist/source/generic/vntex/tests/termes-sample.tex
@@ -4,6 +4,7 @@
\documentclass[sample]{vnsample}
+\title{TeX Gyre Termes}
\mapfile{qtm}
\begin{document}
diff --git a/Master/texmf-dist/source/generic/vntex/tests/termes-test.tex b/Master/texmf-dist/source/generic/vntex/tests/termes-test.tex
index 9870580a94b..bbf36c0adcd 100644
--- a/Master/texmf-dist/source/generic/vntex/tests/termes-test.tex
+++ b/Master/texmf-dist/source/generic/vntex/tests/termes-test.tex
@@ -4,6 +4,7 @@
\documentclass[test]{vnsample}
+\title{TeX Gyre Termes}
\mapfile{qtm}
\begin{document}
diff --git a/Master/texmf-dist/source/generic/vntex/tests/txttvn-sample.tex b/Master/texmf-dist/source/generic/vntex/tests/txttvn-sample.tex
index 08465a803a9..ced3cd74adf 100644
--- a/Master/texmf-dist/source/generic/vntex/tests/txttvn-sample.tex
+++ b/Master/texmf-dist/source/generic/vntex/tests/txttvn-sample.tex
@@ -4,15 +4,16 @@
\documentclass[sample]{vnsample}
+\title{TXTT Vn}
\mapfile{txttvn}
\begin{document}
\section{VnTXTT}
-\showletters{T5}{txtt}{m}{n} {txtt8v} {VnTXTT-Medium}
-\showletters{T5}{txtt}{m}{sc} {txttsc8v} {VnTXTTSC-Medium}
-\showletters{T5}{txtt}{m}{sl} {txttsl8v} {VnTXTT-Medium}
-\showletters{T5}{txtt}{bx}{n} {txbtt8v} {VnTXTT-Bold}
-\showletters{T5}{txtt}{bx}{sc} {txbttsc8v} {VnTXTTSC-Bold}
-\showletters{T5}{txtt}{bx}{sl} {txbttsl8v} {VnTXTT-Bold}
-\showtext {T5}{txtt}{m}{n} {txtt8v} {VnTXTT-Medium}
+\showletters{T5}{txtt}{m}{n} {txtt8v} {VnTXTT-Medium}
+\showletters{T5}{txtt}{m}{sc} {txttsc8v} {VnTXTTSC-Medium}
+\showletters{T5}{txtt}{m}{sl} {txttsl8v} {VnTXTT-Medium}
+\showletters{T5}{txtt}{bx}{n} {txbtt8v} {VnTXTT-Bold}
+\showletters{T5}{txtt}{bx}{sc} {txbttsc8v} {VnTXTTSC-Bold}
+\showletters{T5}{txtt}{bx}{sl} {txbttsl8v} {VnTXTT-Bold}
+\showtext {T5}{txtt}{m}{n} {txtt8v} {VnTXTT-Medium}
\end{document}
diff --git a/Master/texmf-dist/source/generic/vntex/tests/txttvn-test.tex b/Master/texmf-dist/source/generic/vntex/tests/txttvn-test.tex
index 1a749071005..6f94c3c3792 100644
--- a/Master/texmf-dist/source/generic/vntex/tests/txttvn-test.tex
+++ b/Master/texmf-dist/source/generic/vntex/tests/txttvn-test.tex
@@ -4,15 +4,16 @@
\documentclass[test]{vnsample}
+\title{TXTT Vn}
\mapfile{txttvn}
\begin{document}
\begin{shortsample}
-\shorttext{T5}{txtt}{m}{n} {txtt8v} {VnTXTT-Medium}
-\shorttext{T5}{txtt}{m}{sc} {txttsc8v} {VnTXTTSC-Medium}
-\shorttext{T5}{txtt}{m}{sl} {txttsl8v} {VnTXTT-Medium}
-\shorttext{T5}{txtt}{bx}{n} {txbtt8v} {VnTXTT-Bold}
-\shorttext{T5}{txtt}{bx}{sc} {txbttsc8v} {VnTXTTSC-Bold}
-\shorttext{T5}{txtt}{bx}{sl} {txbttsl8v} {VnTXTT-Bold}
+\shorttext{T5}{txtt}{m}{n} {txtt8v} {VnTXTT-Medium}
+\shorttext{T5}{txtt}{m}{sc} {txttsc8v} {VnTXTTSC-Medium}
+\shorttext{T5}{txtt}{m}{sl} {txttsl8v} {VnTXTT-Medium}
+\shorttext{T5}{txtt}{bx}{n} {txbtt8v} {VnTXTT-Bold}
+\shorttext{T5}{txtt}{bx}{sc} {txbttsc8v} {VnTXTTSC-Bold}
+\shorttext{T5}{txtt}{bx}{sl} {txbttsl8v} {VnTXTT-Bold}
\end{shortsample}
\end{document}
diff --git a/Master/texmf-dist/source/generic/vntex/tests/urwvn-sample.tex b/Master/texmf-dist/source/generic/vntex/tests/urwvn-sample.tex
index f860bb24d9a..03c2eec2591 100644
--- a/Master/texmf-dist/source/generic/vntex/tests/urwvn-sample.tex
+++ b/Master/texmf-dist/source/generic/vntex/tests/urwvn-sample.tex
@@ -4,6 +4,7 @@
\documentclass[sample]{vnsample}
+\title{URWVN}
\mapfile{urwvn}
\begin{document}
diff --git a/Master/texmf-dist/source/generic/vntex/tests/urwvn-test.tex b/Master/texmf-dist/source/generic/vntex/tests/urwvn-test.tex
index bb1276e3c19..d6386aa5f87 100644
--- a/Master/texmf-dist/source/generic/vntex/tests/urwvn-test.tex
+++ b/Master/texmf-dist/source/generic/vntex/tests/urwvn-test.tex
@@ -4,6 +4,7 @@
\documentclass[test]{vnsample}
+\title{URWVN}
\mapfile{urwvn}
\begin{document}
diff --git a/Master/texmf-dist/source/generic/vntex/tests/vnr-sample.tex b/Master/texmf-dist/source/generic/vntex/tests/vnr-sample.tex
index 3997f4b3d24..b004520a37a 100644
--- a/Master/texmf-dist/source/generic/vntex/tests/vnr-sample.tex
+++ b/Master/texmf-dist/source/generic/vntex/tests/vnr-sample.tex
@@ -4,11 +4,12 @@
\documentclass[sample]{vnsample}
-\HasDesignSizes
-
+\title{VNR}
\mapfile{vnrtext.map}
\mapfile{vnrother.map}
+\HasDesignSizes
+
\begin{document}
\section{vnb}
\showCMfont{T5}{cmr}{b}{n} {vnb10} {N/A}
diff --git a/Master/texmf-dist/source/generic/vntex/tests/vnr-test.tex b/Master/texmf-dist/source/generic/vntex/tests/vnr-test.tex
index af0b05850f2..47117c7488f 100644
--- a/Master/texmf-dist/source/generic/vntex/tests/vnr-test.tex
+++ b/Master/texmf-dist/source/generic/vntex/tests/vnr-test.tex
@@ -4,6 +4,10 @@
\documentclass[test]{vnsample}
+\title{VNR}
+\mapfile{vnrtext.map}
+\mapfile{vnrother.map}
+
\begin{document}
\begin{shortsample}
\shorttext{T5}{cmdh}{m}{n} {vndunh10} {N/A}
diff --git a/Master/texmf-dist/source/generic/vntex/tests/vnsample.cls b/Master/texmf-dist/source/generic/vntex/tests/vnsample.cls
index 7e9de68150f..8c68b453b20 100644
--- a/Master/texmf-dist/source/generic/vntex/tests/vnsample.cls
+++ b/Master/texmf-dist/source/generic/vntex/tests/vnsample.cls
@@ -6,6 +6,8 @@
\ifx\documentclass\undefined\endinput\fi
\newif\ifbookmarks
+\newif\iftest
+\newif\ifsample
\ProvidesClass{vnsample}[2005/08/27]
\NeedsTeXFormat{LaTeX2e}
@@ -19,11 +21,14 @@
The search tool in your PDF browser will miss many\MessageBreak
words containing Vietnamese characters}}\fi
-\RequirePackage[viscii]{vietnam}
+\RequirePackage[utf8]{vntex}
\RequirePackage{multicol}
\RequirePackage{geometry}
\RequirePackage{array}
\RequirePackage{fancyhdr}
+\RequirePackage[unicode]{hyperref}
+
+\hypersetup{pdfauthor={Hàn Thế Thành and Reinhard Kotucha}}
\DeclareOption{sample}{
\geometry{a4paper,nofoot,left=1cm,right=1cm,top=2cm,bottom=1cm}
@@ -34,6 +39,7 @@ words containing Vietnamese characters}}\fi
\parindent0pt
\lineskiplimit -100pt
\bookmarkstrue
+ \sampletrue
}
\DeclareOption{test}{
@@ -44,6 +50,7 @@ words containing Vietnamese characters}}\fi
\advance\oddsidemargin -7mm \evensidemargin=\oddsidemargin
\hbadness=10000\relax\hfuzz=\maxdimen
\AtBeginDocument{\extrarowheight=5pt}
+ \testtrue
}
\ProcessOptions
@@ -53,141 +60,141 @@ words containing Vietnamese characters}}\fi
\newbox\boxB
\def\vnchars{%
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
+\dochar á
+\dochar ạ
+\dochar à
+\dochar ả
+\dochar ã
+\dochar ă
+\dochar ắ
+\dochar ặ
+\dochar ằ
+\dochar ẳ
+\dochar ẵ
+\dochar â
+\dochar ấ
+\dochar ậ
+\dochar ầ
+\dochar ẩ
+\dochar ẫ
+\dochar đ
+\dochar é
+\dochar ẹ
+\dochar è
+\dochar ẻ
+\dochar ẽ
+\dochar ê
+\dochar ế
+\dochar ệ
+\dochar ề
+\dochar ể
+\dochar ễ
+\dochar í
+\dochar ị
+\dochar ì
+\dochar ỉ
+\dochar ĩ
+\dochar ó
+\dochar ọ
+\dochar ò
+\dochar ỏ
+\dochar õ
+\dochar ô
+\dochar ố
+\dochar ộ
+\dochar ồ
+\dochar ổ
+\dochar ỗ
+\dochar ơ
+\dochar ớ
+\dochar ợ
+\dochar ờ
+\dochar ở
+\dochar ỡ
+\dochar ú
+\dochar ụ
+\dochar ù
+\dochar ủ
+\dochar ũ
+\dochar ư
+\dochar ứ
+\dochar ự
+\dochar ừ
+\dochar ử
+\dochar ữ
+\dochar ý
+\dochar ỵ
+\dochar ỳ
+\dochar ỷ
+\dochar ỹ
% \break
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar 
-\dochar 
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar 
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar
-\dochar 
-\dochar
-\dochar 
-\dochar 
+\dochar Á
+\dochar Ạ
+\dochar À
+\dochar Ả
+\dochar Ã
+\dochar Ă
+\dochar Ắ
+\dochar Ặ
+\dochar Ằ
+\dochar Ẳ
+\dochar Ẵ
+\dochar Â
+\dochar Ấ
+\dochar Ậ
+\dochar Ầ
+\dochar Ẩ
+\dochar Ẫ
+\dochar Đ
+\dochar É
+\dochar Ẹ
+\dochar È
+\dochar Ẻ
+\dochar Ẽ
+\dochar Ê
+\dochar Ế
+\dochar Ệ
+\dochar Ề
+\dochar Ể
+\dochar Ễ
+\dochar Í
+\dochar Ị
+\dochar Ì
+\dochar Ỉ
+\dochar Ĩ
+\dochar Ó
+\dochar Ọ
+\dochar Ò
+\dochar Ỏ
+\dochar Õ
+\dochar Ô
+\dochar Ố
+\dochar Ộ
+\dochar Ồ
+\dochar Ổ
+\dochar Ỗ
+\dochar Ơ
+\dochar Ớ
+\dochar Ợ
+\dochar Ờ
+\dochar Ở
+\dochar Ỡ
+\dochar Ú
+\dochar Ụ
+\dochar Ù
+\dochar Ủ
+\dochar Ũ
+\dochar Ư
+\dochar Ứ
+\dochar Ự
+\dochar Ừ
+\dochar Ử
+\dochar Ữ
+\dochar Ý
+\dochar Ỵ
+\dochar Ỳ
+\dochar Ỷ
+\dochar Ỹ
\par
}
@@ -199,47 +206,47 @@ words containing Vietnamese characters}}\fi
\def\EMPH#1{\textbf{\textit{#1}}}
\long\def\vntext{%
-\centerline{\textbf{Ch Pho}}
+\centerline{\textbf{Chí Phèo}}
\vskip -.5\baselineskip
\rightline{\textsc{--- Nam Cao}}
-Hn va i va chi. Bao gi cng th, c ru xong l hn chi. Bt u
-chi tri. C h g? Tri c ca ring nh no? Ri hn chi i. Th
-cng chng sao: i l tt c nhng chng l ai. Tc mnh hn chi ngay tt
-c lng V i. Nhng c lng V i ai cng nh, \textit{``Chc n tr
-mnh ra!''} Khng ai ln ting c. Tc tht! ! Th ny th tc tht! Tc
-cht i c mt! th, hn phi chi cha a no khng chi nhau vi
-hn. Nhng cng khng ai ra iu. M kip! Th th c ph ru khng? Th
-th c kh hn khng? Khng bit a cht m no ra thn hn cho hn kh
-n nng ni ny? A ha! Phi y, hn c th m chi, hn chi a cht m
-no ra thn hn, ra ci thng \EMPH{Ch Pho}! Hn nghin rng vo
-m chi ci a ra Ch Pho. Nhng m bit a no ra
-Ch Pho? C tri m bit! Hn khng bit, c lng V i cng khng ai
-bit.
-
-Mt anh i th ng l߽n, mt bui sng tinh s߽ng thy hn
-trn trung v xm ngt trong mt vy p bn mt l gch b
-khng, anh ta r߾c ly v em v cho mt ng߶i n b ga m.
-Ng߶i n b ga m ny bn hn cho mt bc ph ci khng con, v
-khi bc ph ci ny cht th hn b v, ht i cho nh ny li i
- cho nh n. Nm hai m߽i tui, hn lm canh in cho ng l Kin,
-by gi c b Kin, n tin ch lng. Hnh nh c my ln b ba nh
-ng l, cn tr lm m li hay m lng, bt hn bp chn, hay xoa
-bng, m lng g y. Ng߶i ta bo ng l ra nh th hch dch,
-c lng phi s, m v nh th li s ci b ba cn tr ny. Ng߶i
-b y php php, m b y hy hy, m ng l th hay au lng lm;
-nhng ng߶i c bnh au lng hay s v m cha i l kho ghen.
-C ng߶i bo ng l ghen vi anh canh in kho mnh m s b ba
-khng dm ni. C ng߶i th bo anh canh in y c b ba quyn
-thu quyn b trong nh tin cn nn ly trm tin trm thc nhiu.
-Mi ng߶i ni mt cch. Chng bit u m ln. Ch bit mt hm
-Ch b ng߶i ta gii huyn ri bit tm n by, tm nm ri mt
-hm, hn li l l u ln v. Hn v lp ny trng khc
-hn, mi u chng ai bit hn l ai. Trng c nh thng sng
-c! Ci u th trc lc, ci rng co trng hn, ci mt th en
-m rt cng cng, hai mt g߶m g߶m trng gm cht! Hn mc qun
-o ni en vi o Ty vng. Ci ngc phanh, y nhng nt chm tr
-rng, phng vi mt ng thy t߾ng cm chu, c hai cnh tay cng
-th. Trng gm cht!
+Hắn vừa đi vừa chửi. Bao giờ cũng thế, cứ rượu xong là hắn chửi. Bắt đầu
+chửi trời. Có hề gì? Trời có của riêng nhà nào? Rồi hắn chửi đời. Thế
+cũng chẳng sao: đời là tất cả nhưng chẳng là ai. Tức mình hắn chửi ngay tất
+cả làng Vũ Đại. Nhưng cả làng Vũ Đại ai cũng nhủ, \textit{``Chắc nó trừ
+mình ra!''} Không ai lên tiếng cả. Tức thật! Ồ! Thế này thì tức thật! Tức
+chết đi được mất! Đã thế, hắn phải chửi cha đứa nào không chửi nhau với
+hắn. Nhưng cũng không ai ra điều. Mẹ kiếp! Thế thì có phí rượu không? Thế
+thì có khổ hắn không? Không biết đứa chết mẹ nào đẻ ra thân hắn cho hắn khổ
+đến nông nỗi này? A ha! Phải đấy, hắn cứ thế mà chửi, hắn chửi đứa chết mẹ
+nào đẻ ra thân hắn, đẻ ra cái thằng \EMPH{Chí Phèo}! Hắn nghiến răng vào
+mà chửi cái đứa đã đẻ ra Chí Phèo. Nhưng mà biết đứa nào đã đẻ ra
+Chí Phèo? Có trời mà biết! Hắn không biết, cả làng Vũ Đại cũng không ai
+biết.
+
+Một anh đi thả ống lươn, một buổi sáng tinh sương đã thấy hắn
+trần truồng và xám ngắt trong một váy đụp để bên một lò gạch bỏ
+không, anh ta rước lấy và đem về cho một người đàn bà góa mù.
+Người đàn bà góa mù này bán hắn cho một bác phó cối không con, và
+khi bác phó cối này chết thì hắn bơ vơ, hết đi ở cho nhà này lại đi
+ở cho nhà nọ. Năm hai mươi tuổi, hắn làm canh điền cho ông lý Kiến,
+bấy giờ cụ bá Kiến, ăn tiên chỉ làng. Hình như có mấy lần bà ba nhà
+ông lý, còn trẻ lắm mà lại hay ốm lửng, bắt hắn bóp chân, hay xoa
+bụng, đấm lưng gì đấy. Người ta bảo ông lý ra đình thì hách dịch,
+cả làng phải sợ, mà về nhà thì lại sợ cái bà ba còn trẻ này. Người
+bà ấy phốp pháp, má bà ấy hây hây, mà ông lý thì hay đau lưng lắm;
+những người có bệnh đau lưng hay sợ vợ mà chúa đời là khoẻ ghen.
+Có người bảo ông lý ghen với anh canh điền khoẻ mạnh mà sợ bà ba
+không dám nói. Có người thì bảo anh canh điền ấy được bà ba quyền
+thu quyền bổ trong nhà tin cẩn nên lấy trộm tiền trộm thóc nhiều.
+Mỗi người nói một cách. Chẳng biết đâu mà lần. Chỉ biết một hôm
+Chí bị người ta giải huyện rồi biệt tăm đến bảy, tám năm rồi một
+hôm, hắn lại lù lù ở đâu lần về. Hắn về lớp này trông khác
+hẳn, mới đầu chẳng ai biết hắn là ai. Trông đặc như thằng sắng
+cá! Cái đầu thì trọc lốc, cái răng cạo trắng hớn, cái mặt thì đen
+mà rất câng câng, hai mắt gườm gườm trông gớm chết! Hắn mặc quần
+áo nái đen với áo Tây vàng. Cái ngực phanh, đầy những nét chạm trổ
+rồng, phượng với một ông thày tướng cầm chuỳ, cả hai cánh tay cũng
+thế. Trông gớm chết!
}
\def\mksample#1{%
@@ -326,14 +333,17 @@ th. Trng gm cht!
}
\def\showtext#1#2#3#4#5#6{\subsection{Text}{#5-text}%
- \markright{#6 at 8pt}\showtextsize{\fontsize{8pt}{8pt}\usefont{#1}{#2}{#3}{#4}}
- \markright{#6 at 10pt}\showtextsize{\fontsize{10pt}{10pt}\usefont{#1}{#2}{#3}{#4}}
- \markright{#6 at 12pt}\showtextsize{\fontsize{12pt}{12pt}\usefont{#1}{#2}{#3}{#4}}
+ \markright{#6 at 8pt}\showtextsize
+ {\fontsize{8pt}{8pt}\usefont{#1}{#2}{#3}{#4}}
+ \markright{#6 at 10pt}\showtextsize
+ {\fontsize{10pt}{10pt}\usefont{#1}{#2}{#3}{#4}}
+ \markright{#6 at 12pt}\showtextsize
+ {\fontsize{12pt}{12pt}\usefont{#1}{#2}{#3}{#4}}
\clearpage
}
\def\samplesentence{%
- Hn nghin rng vo m chi ci a ra Ch Pho lng V i}
+ Hắn nghiến răng vào mà chửi cái đứa đã đẻ ra Chí Phèo làng Vũ Đại}
\newenvironment{shortsample}
{\normalfont\fontencoding{OT1}\ttfamily \selectfont
@@ -345,8 +355,6 @@ th. Trng gm cht!
\def\shorttext#1#2#3#4#5#6{%
#1/#2/#3/#4 & #5 & #6 & \normalsize\usefont{#1}{#2}{#3}{#4}\\}
-%%%\endinput
-
\ifbookmarks\RequirePackage{hyperref}
\def\section#1{\gdef\currsec{#1}\hypertarget{#1}{}\pdfbookmark[0]{#1}{#1}}
%\subsection{<Text>}{<label>}
@@ -354,10 +362,14 @@ th. Trng gm cht!
\hypertarget{\target}{}\pdfbookmark[1]{#1}{\target}}
\fi
+\def\title#1{
+ \iftest\hypersetup{pdftitle={#1 Test File}}\fi
+ \ifsample\hypersetup{pdftitle={#1 Font Samples}}\fi
+}
\def\mapfile#1{\ifpdf\IfFileExists{./useinternalmap}{\pdfmapfile{=#1.map}}{}\fi}
\IfFileExists{./nocompress}{\pdfcompresslevel0 }{\pdfcompresslevel9 }
% Local Variables:
-% coding: viscii
+% coding: utf-8
% End:
diff --git a/Master/texmf-dist/source/generic/vntex/tests/vntopia-sample.tex b/Master/texmf-dist/source/generic/vntex/tests/vntopia-sample.tex
index 1144edc21f9..f1ab27ed8bc 100644
--- a/Master/texmf-dist/source/generic/vntex/tests/vntopia-sample.tex
+++ b/Master/texmf-dist/source/generic/vntex/tests/vntopia-sample.tex
@@ -4,6 +4,7 @@
\documentclass[sample]{vnsample}
+\title{Vntopia}
\mapfile{vntopia}
\begin{document}
diff --git a/Master/texmf-dist/source/generic/vntex/tests/vntopia-test.tex b/Master/texmf-dist/source/generic/vntex/tests/vntopia-test.tex
index b9076eb7dc6..e116bd3f432 100644
--- a/Master/texmf-dist/source/generic/vntex/tests/vntopia-test.tex
+++ b/Master/texmf-dist/source/generic/vntex/tests/vntopia-test.tex
@@ -4,6 +4,7 @@
\documentclass[test]{vnsample}
+\title{Vntopia}
\mapfile{vntopia}
\begin{document}
diff --git a/Master/texmf-dist/source/generic/vntex/vntex.ins b/Master/texmf-dist/source/generic/vntex/vntex.ins
index 8732b2c8df2..f257d4a31be 100644
--- a/Master/texmf-dist/source/generic/vntex/vntex.ins
+++ b/Master/texmf-dist/source/generic/vntex/vntex.ins
@@ -6,5 +6,7 @@
\generate{\file{vietnam.sty}{\from{vntex.dtx}{vietnam}}}
\generate{\file{vntex.sty}{\from{vntex.dtx}{vntex}}}
+\generate{\file{vietnam.ldf}{\from{babel-vi.dtx}{vn}}}
+\generate{\file{vietnamese.ldf}{\from{babel-vi.dtx}{vi}}}
\endbatchfile