Debian Codegraph @

texmf-dist/doc/latex/otibet/unidoc.tex

raw
1 %
2 % File: unidoc.tex
3 % Date: Thu Apr 24 12:36:40 1997
4 % Author: Norbert Preining (norbert)
5 %
6 \documentclass{article}
7 \usepackage{a4,otibet,multicol,array}
8 \title{The \texttt{otibet}-package\\
9 Writing tibetan text for \OMEGA}
10 \author{Norbert Preining}
11 \def\oo{$\Omega$}
12 \def\otp{\oo TP}
13 \let\OMEGA=\oo
14 \font\logofont=logo10
15 \def\METAFONT{{\logofont METAFONT}}
16 \begin{document}
17 \maketitle
18
19 \section{Introduction}
20 This package should ease the pain when writing tibetan text for the
21 typesetting system \OMEGA, a Unicode-capable descendent of
22 \TeX. This package makes heavy use of \oo\ translation process,
23 known as \otp. Included in the package there are the necessary
24 \otp-files to type tibetan text in a certain transcription and after
25 processing the file with \oo\ getting the tibetan glyphs.
26
27 Together with this package comes a font \texttt{tibetan.mf} for
28 \METAFONT, which has to be used (cf.~sec.~\ref{:font}).
29
30 This package is capable of rendering all the basic tibetan
31 compound glyphs (as \texttt{rka}) in their usual form. Complex Hindi
32 consonant stacks are made up from the basic characters by stacking
33 them one above the other.
34
35 \section{Input Encoding, Transcription\label{:trans}}
36 Two transcriptions for reading the input are supported, the ``Wylie's
37 Transcription'' and the one used in the Unicode standard
38 (cf.~\cite{unicode}). These two only differ in how to write the
39 inverted characters. For these characters there will be a double entry
40 under transcription in the following table, standing for
41 ``Wylie/Unicode''. Each one of this input encodings can be selected as
42 an option (see~chap.~\ref{:options}).
43
44 {
45 \columnseprule=0.5pt
46 \advance\baselineskip by 10pt
47 \begin{multicols}{3}
48 \halign{\qquad #\hfill&\qquad#\hfil\cr
49 Transl. & Tib.\cr
50 \cr
51 ka& \texttb{ka }\qquad\ \ \cr
52 kha& \texttb{kha }\cr
53 ga& \texttb{ga }\cr
54 nga& \texttb{nga }\cr
55 ca& \texttb{ca }\cr
56 cha& \texttb{cha }\cr
57 ja& \texttb{ja }\cr
58 nya& \texttb{nya }\cr
59 txa/tta& \texttb{txa }\cr
60 thxa/ttha& \texttb{thxa }\cr
61 dxa/dda& \texttb{dxa }\cr
62 dxha/ddha& \texttb{dxha }\cr
63 nxa/nna& \texttb{nxa }\cr
64 ta& \texttb{ta }\cr
65 tha& \texttb{tha }\cr
66 da& \texttb{da }\cr
67 na& \texttb{na }\cr
68 pa& \texttb{pa }\cr
69 pha& \texttb{pha }\cr
70 ba& \texttb{ba }\cr
71 ma& \texttb{ma }\cr
72 tsa& \texttb{tsa }\cr
73 tsha& \texttb{tsha }\cr
74 dza& \texttb{dza }\cr
75 wa& \texttb{wa }\cr
76 zha& \texttb{zha }\cr
77 za& \texttb{za }\cr
78 'a& \texttb{'a }\cr
79 ya& \texttb{ya }\cr
80 ta& \texttb{ta }\cr
81 la& \texttb{la }\cr
82 sha& \texttb{sha }\cr
83 shxa/ssa& \texttb{shxa }\cr
84 sa& \texttb{sa }\cr
85 ha& \texttb{ha }\cr
86 a& \texttb{a }\cr
87 /& \texttb{/ }\cr
88 .,& \texttb{. }\cr
89 }
90 \end{multicols}
91 \par}
92
93 For the distinction between praefixed `g' and main `g', as in g.yag,
94 use `\{g\}' (`\{g\}yag' gives \texttb{{g}yag} while `gyag' gives
95 \texttb{gyag}).
96
97 \section{Special characters}
98 Some special characters are accessible by the use of
99 control-sequences:
100
101 {\fontfamily{cmtt}\selectfont
102 \advance \baselineskip by 10pt
103 \halign{\qquad #\hfill&\qquad#\hfill&\qquad#\hfil\cr
104 \verb|\om| & 0F00 & \om \cr
105 \verb|\endsym,\gtertsheg| & 0F14 & \endsym \cr
106 \verb|\anusvara| & 0F71 & \texttb{\protectvowel\anusvara} \cr
107 \verb|\hrih| & --- & \hrih \cr
108 \verb|\dme| & --- & \dme \cr
109 \verb|\hung| & --- & \hung \cr
110 \verb|\swasti| & --- & \swasti \cr
111 }
112 \par
113 }
114
115 \section{Unicode characters not implemented}
116 The following Unicode characters are at the moment not implemented:
117
118 {\fontfamily{cmtt}\selectfont
119 \def\bla#1{\texttb{\protectvowel #1}}
120 \begin{multicols}{2}
121 \halign{\qquad #\hfill&\qquad#&\qquad#\hfil\cr
122 \verb|\vowelii| & 0F73 & \bla\vowelii\cr
123 \verb|\voweluu| & 0F75 & \bla\voweluu\cr
124 \verb|\vowelr| & 0F76 & \bla\vowelr\cr
125 \verb|\vowelrr| & 0F77 & \bla\vowelrr\cr
126 \verb|\vowell| & 0F78 & \bla\vowell\cr
127 \verb|\vowelll| & 0F79 & \bla\vowelll\cr
128 \verb|\vowelee| & 0F7B & \bla\vowelee\cr
129 \verb|\voweloo| & 0F7D & \bla\voweloo\cr
130 \verb|\rnambcad| & 0F7F & \bla\rnambcad \cr
131 \verb|\reversedi| & 0F80 & \bla\reversedi\cr
132 \verb|\reversedii| & 0F81 & \bla\reversedii\cr
133 \verb|\nyizlanaada| & 0F82 & \bla\nyizlanaada\cr
134 \verb|\snaldan| & 0F83 & \bla\snaldan\cr
135 \verb|\halanta| & 0F84 & \bla\halanta\cr
136 \verb|\paluta| & 0F85 & \bla\paluta\cr
137 \verb|\lcirtags| & 0F86 & \bla\lcirtags\cr
138 \verb|\yangrtags| & 0F87 & \bla\yangrtags\cr
139 \verb|\lcetsacan| & 0F88 & \bla\lcetsacan\cr
140 \verb|\mchucan| & 0F89 & \bla\mchucan\cr
141 \verb|\grucanrgyings| & 0F8A & \bla\grucanrgyings\cr
142 \verb|\grumedrgyings| & 0F8B & \bla\grumedrgyings\cr
143 }
144 \end{multicols}
145 }
146
147 \section{Output Encoding}
148 The package \texttt{otibet} internally uses the Unicode encoding of
149 the tibetan glyphs (\texttt{U+0F00--U+0FBF}), although not every glyph
150 can (at the moment) be rendered (depending on the font). The internal
151 processing is done in Unicode and finally the output is recoded to the
152 (very) special arrangement of the characters in the font
153 \texttt{tibetan} (cf.~sec.~\ref{:font}).
154
155 \section{Specialities}
156 A tsheg is automatically inserted at a space and
157 deleted at nonsense places. This option can be turned of with the
158 option ``\texttt{notsheg}'' (not implemented yet!).
159
160 \section{Consonant Clusters}
161 All the basic tibetan glyphs are rendered in there usual form. If a
162 cluster of consonants cannot be rendered, the basic glyphs are just
163 stacked one over the other. So you get
164 \begin{itemize}
165 \item from ``rgyo'' a ``\texttb{rgyo}''
166 \item from ``ltsr'' a ``\texttb{ltsr}''.
167 \end{itemize}
168
169 \section{The font \texttt{tibetan}\label{:font}}
170 The font \texttt{tibetan} is based on Sirlins fonts \texttt{gtib} and
171 \texttt{gtibsp}, which in turn is based on \texttt{pk}-files named
172 \texttt{tib.300pk} and \texttt{tibsp.300pk}. A few contributions of the
173 author should fill the gaps to a font covering all Unicode characters.
174
175 \section{Options to the package\label{:options}}
176 There are some options which control the behaviour of the package:
177 \begin{itemize}
178 \item \texttt{wylie-input, unicode-input}: These two options select
179 the input encoding, the transcription. See~chap.~\ref{:trans} for
180 details. The \texttt{wylie-input} is the default.
181 \item \texttt{tibetan-output, latin-output}: These two options select the
182 output encoding and the used font.
183 \item \texttt{notsheg}: Inhibits the putting of a tsheg after
184 syllabes. \emph{Not implemented yet.}
185 \item \texttt{realunicode}: Maybe in the future a text will come
186 in Unicode, not in \texttt{ASCII}, so you can select it. \emph{Not
187 implemented yet.}
188 \end{itemize}
189
190 \section{System Requirements}
191 You need \oo\ and a large {\fontfamily{cmtt}\selectfont
192 \verb|buff_size|;-)}.
193
194 %\section{Availability, Rights and Lefts}
195 %This package is freely distributable
196 %under the GPL Version~?.? or any
197 %later one.
198
199 \begin{thebibliography}{1}
200 \bibitem{unicode}
201 The Unicode Consortium.
202 \newblock \emph{The Unicode Standard, Version 2.0}.
203 \newblock Addison-Wesley, 1996.
204 \end{thebibliography}
205 \end{document}
206
207 % Local Variables:
208 % TeX-command-default: "Lambda"
209 % End: