From e0c6872cf40896c7be36b11dcc744620f10adf1d Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 2 Sep 2019 13:46:59 +0900 Subject: Initial commit --- .../vntex/source/tests/test-vietnam-tcx.tex | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 language/vietnamese/vntex/source/tests/test-vietnam-tcx.tex (limited to 'language/vietnamese/vntex/source/tests/test-vietnam-tcx.tex') diff --git a/language/vietnamese/vntex/source/tests/test-vietnam-tcx.tex b/language/vietnamese/vntex/source/tests/test-vietnam-tcx.tex new file mode 100644 index 0000000000..05a615ac1b --- /dev/null +++ b/language/vietnamese/vntex/source/tests/test-vietnam-tcx.tex @@ -0,0 +1,45 @@ +%& -translate-file=viscii-t5 + +% Copyright 2003-2005 Han The Thanh . +% 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} -- cgit v1.2.3