summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/generic/vntex/doc/tests/test-vietnam-tcx.tex
blob: 05a615ac1bb37d6a3f295aaf02269d74f8029f9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
%& -translate-file=viscii-t5

% Copyright 2003-2005 Han The Thanh <hanthethanh@gmx.net>.
% This file is part of vntex.  License: LPPL, version 1.3 or newer,
% according to http://www.latex-project.org/lppl.txt


\documentclass[openany]{book}
\usepackage[noinputenc]{vietnam} % option `noinputenc' is required to use TCX 
                                 % pros: vietnamese text in logging messages
                                 % cons: - utf8 is not supported;
                                 %       - web2c-specific
                                 %       - cannot support multiple input
                                 %         encodings in a single document
                                 %       - babel cannot be used

\usepackage{multicol}   % needed for testing accent commands
\usepackage[colorlinks]{hyperref} % let's try vietnamese with hyperref
\input{pd1supp.def}     % supplement for characters missing in PD1 encoding
                        % (used for PDF bookmarks) 

\begin{document}

\title{\bfseries Test of Vietnamese support for \LaTeX{} using
    \texttt{vietnam.sty} and TCX}
\author{H\`an Th\'\ecircumflex{} Th\`anh}
\maketitle

\tableofcontents
\listoffigures

\chapter{Test input encodings}
\section{Test of VISCII encoding support}
\input{test-viscii}

\clearpage
\appendix

\chapter{Test of Vietnamese captions}
\input{test-captions}

\chapter{Test of accent commands for T5 encoding}
\input{test-accents}

\end{document}