summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/armenian
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-04-23 18:18:39 +0000
committerKarl Berry <karl@freefriends.org>2014-04-23 18:18:39 +0000
commit34a0412146004a8a3af4dab270ac4de32b99698d (patch)
treed75c266026aca8cdab3c6052c80ca7f47e5b6ad7 /Master/texmf-dist/tex/latex/armenian
parentb2b263e675d8d31eea520a316681057660243281 (diff)
armenian, a.k.a. armtex (9apr14)
git-svn-id: svn://tug.org/texlive/trunk@33640 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/armenian')
-rw-r--r--Master/texmf-dist/tex/latex/armenian/armscii8.def165
-rw-r--r--Master/texmf-dist/tex/latex/armenian/armtex.sty962
-rw-r--r--Master/texmf-dist/tex/latex/armenian/ot6cmr.fd67
-rw-r--r--Master/texmf-dist/tex/latex/armenian/ot6cmss.fd75
-rw-r--r--Master/texmf-dist/tex/latex/armenian/ot6enc.def288
-rw-r--r--Master/texmf-dist/tex/latex/armenian/ot6enc.dfu169
6 files changed, 1726 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/armenian/armscii8.def b/Master/texmf-dist/tex/latex/armenian/armscii8.def
new file mode 100644
index 00000000000..92c43b535f7
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/armenian/armscii8.def
@@ -0,0 +1,165 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% This is the `armscii8.def' file (ArmSCII8 input encoding definitions).
+%%
+%% This file is a part of the ArmTeX project [2014/04/09 v3.0-beta3]
+%%
+%% ArmTeX is a system for writing in Armenian with plain TeX and/or LaTeX(2e).
+%%
+%% Copyright 1997 - 2013:
+%% Serguei Dachian (Serguei.Dachian_AT_math.univ-bpclermont.fr),
+%% Arnak Dalalyan (arnak.dalalyan_AT_ensae.fr),
+%% Vardan Akopian (vakopian_AT_yahoo.com).
+%%
+%% ArmTeX 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 in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX version
+%% 2005/12/01 or later.
+%%
+%% ArmTeX has the LPPL maintenance status `author-maintained'.
+%%
+%% For more details, installation instructions and the complete list of files
+%% see the provided `readme.txt' file.
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+%% Begining of the code.
+%%
+\ProvidesFile{armscii8.def}
+ [2014/04/09 v3.0-beta3 armscii8.def (ArmSCII8 input encoding definitions)]
+
+
+%% Upper-case letters.
+%%
+\DeclareInputText{178}{\Armayb}% Upper-case A (Ayb) letter.
+\DeclareInputText{180}{\Armben}% Upper-case B (Ben) letter.
+\DeclareInputText{182}{\Armgim}% Upper-case G (Gim) letter.
+\DeclareInputText{184}{\Armda}% Upper-case D (Da) letter.
+\DeclareInputText{186}{\Armyech}% Upper-case E (Yech) letter.
+\DeclareInputText{188}{\Armza}% Upper-case Z (Za) letter.
+\DeclareInputText{190}{\Arme}% Upper-case E' (E) letter.
+\DeclareInputText{192}{\Armat}% Upper-case U' (At) letter.
+\DeclareInputText{194}{\Armto}% Upper-case TH (To) letter.
+\DeclareInputText{196}{\Armzhe}% Upper-case G' (Zhe) letter.
+\DeclareInputText{198}{\Armini}% Upper-case I (Ini) letter.
+\DeclareInputText{200}{\Armlyun}% Upper-case L (Lyun) letter.
+\DeclareInputText{202}{\Armkhe}% Upper-case X (Khe) letter.
+\DeclareInputText{204}{\Armtsa}% Upper-case C' (Tsa) letter.
+\DeclareInputText{206}{\Armken}% Upper-case K (Ken) letter.
+\DeclareInputText{208}{\Armho}% Upper-case H (Ho) letter.
+\DeclareInputText{210}{\Armdza}% Upper-case DZ (Dza) letter.
+\DeclareInputText{212}{\Armghat}% Upper-case GH (Ghat) letter.
+\DeclareInputText{214}{\Armtche}% Upper-case J' (Tche) letter.
+\DeclareInputText{216}{\Armmen}% Upper-case M (Men) letter.
+\DeclareInputText{218}{\Armhi}% Upper-case Y (Hi) letter.
+\DeclareInputText{220}{\Armnu}% Upper-case N (Nu) letter.
+\DeclareInputText{222}{\Armsha}% Upper-case SH (Sha) letter.
+\DeclareInputText{224}{\Armvo}% Upper-case O (Vo) letter.
+\DeclareInputText{226}{\Armcha}% Upper-case CH (Cha) letter.
+\DeclareInputText{228}{\Armpe}% Upper-case P (Pe) letter.
+\DeclareInputText{230}{\Armje}% Upper-case J (Je) letter.
+\DeclareInputText{232}{\Armra}% Upper-case R' (Ra) letter.
+\DeclareInputText{234}{\Armse}% Upper-case S (Se) letter.
+\DeclareInputText{236}{\Armvev}% Upper-case V (Vev) letter.
+\DeclareInputText{238}{\Armtyun}% Upper-case T (Tyun) letter.
+\DeclareInputText{240}{\Armre}% Upper-case R (Re) letter.
+\DeclareInputText{242}{\Armtso}% Upper-case C (Tso) letter.
+\DeclareInputText{244}{\Armvyun}% Upper-case W (Vyun) letter.
+\DeclareInputText{246}{\Armpyur}% Upper-case PH (Pyur) letter.
+\DeclareInputText{248}{\Armke}% Upper-case Q (Ke) letter.
+\DeclareInputText{250}{\Armo}% Upper-case O' (O) letter.
+\DeclareInputText{252}{\Armfe}% Upper-case F (Fe) letter.
+
+
+%% Lower-case letters.
+%%
+\DeclareInputText{179}{\armayb}% Lower-case a (ayb) letter.
+\DeclareInputText{181}{\armben}% Lower-case b (ben) letter.
+\DeclareInputText{183}{\armgim}% Lower-case g (gim) letter.
+\DeclareInputText{185}{\armda}% Lower-case d (da) letter.
+\DeclareInputText{187}{\armyech}% Lower-case e (eych) letter.
+\DeclareInputText{189}{\armza}% Lower-case z (za) letter.
+\DeclareInputText{191}{\arme}% Lower-case e' (e) letter.
+\DeclareInputText{193}{\armat}% Lower-case u' (at) letter.
+\DeclareInputText{195}{\armto}% Lower-case th (to) letter.
+\DeclareInputText{197}{\armzhe}% Lower-case g' (zhe) letter.
+\DeclareInputText{199}{\armini}% Lower-case i (ini) letter.
+\DeclareInputText{201}{\armlyun}% Lower-case l (lyun) letter.
+\DeclareInputText{203}{\armkhe}% Lower-case x (khe) letter.
+\DeclareInputText{205}{\armtsa}% Lower-case c' (tsa) letter.
+\DeclareInputText{207}{\armken}% Lower-case k (ken) letter.
+\DeclareInputText{209}{\armho}% Lower-case h (ho) letter.
+\DeclareInputText{211}{\armdza}% Lower-case dz (dza) letter.
+\DeclareInputText{213}{\armghat}% Lower-case gh (ghat) letter.
+\DeclareInputText{215}{\armtche}% Lower-case j' (tche) letter.
+\DeclareInputText{217}{\armmen}% Lower-case m (men) letter.
+\DeclareInputText{219}{\armhi}% Lower-case y (hi) letter.
+\DeclareInputText{221}{\armnu}% Lower-case n (nu) letter.
+\DeclareInputText{223}{\armsha}% Lower-case sh (sha) letter.
+\DeclareInputText{225}{\armvo}% Lower-case o (vo) letter.
+\DeclareInputText{227}{\armcha}% Lower-case ch (cha) letter.
+\DeclareInputText{229}{\armpe}% Lower-case p (pe) letter.
+\DeclareInputText{231}{\armje}% Lower-case j (je) letter.
+\DeclareInputText{233}{\armra}% Lower-case r' (ra) letter.
+\DeclareInputText{235}{\armse}% Lower-case s (se) letter.
+\DeclareInputText{237}{\armvev}% Lower-case v (vev) letter.
+\DeclareInputText{239}{\armtyun}% Lower-case t (tyun) letter.
+\DeclareInputText{241}{\armre}% Lower-case r (re) letter.
+\DeclareInputText{243}{\armtso}% Lower-case c (tso) letter.
+\DeclareInputText{245}{\armvyun}% Lower-case w (vyun) letter.
+\DeclareInputText{247}{\armpyur}% Lower-case ph (pyur) letter.
+\DeclareInputText{249}{\armke}% Lower-case q (ke) letter.
+\DeclareInputText{251}{\armo}% Lower-case o' (o) letter.
+\DeclareInputText{253}{\armfe}% Lower-case f (fe) letter.
+
+
+%% Miscelanious symbols.
+%%
+\DeclareInputText{160}{~}% Non-breakable space symbol.
+\DeclareInputText{161}{\armeternity}% Eternity (armeternity) symbol.
+\DeclareInputText{162}{\armsection}% Section sign (armsection) symbol.
+\DeclareInputText{163}{\armfullstop}% Verjaket (armfullstop) symbol.
+\DeclareInputText{164}{\armparenright}% Aj phakagic' (armparenright) symbol.
+\DeclareInputText{165}{\armparenleft}% Dzax phakagic' (armparenleft) symbol.
+\DeclareInputText{166}{\armquotright}% Aj chakert (armquotright) symbol.
+\DeclareInputText{167}{\armquotleft}% Dzax chakert(armquotleft) symbol.
+\DeclareInputText{168}{\armemdash}% Anjatman gic' (armemdash) symbol.
+\DeclareInputText{169}{\armdot}% Mijaket (armdot) symbol.
+\DeclareInputText{170}{\armsep}% Buth (armsep) symbol.
+\DeclareInputText{171}{\armcomma}% Storaket (armcoma) symbol.
+\DeclareInputText{172}{\armendash}% Miuthyan gc'ik (armendash) symbol.
+\DeclareInputText{173}{\armyentamna}% Toghadardzi nshan (armyentamna) symbol.
+\DeclareInputText{174}{\armellipsis}% Kaxman keter (armellipsis) symbol.
+\DeclareInputText{175}{\armexclam}% Bacakanchakan nshan (armexclam) symbol.
+\DeclareInputText{176}{\armaccent}% Shesht (armaccent) symbol.
+\DeclareInputText{177}{\armquestion}% Harcakan nshan (armquestion) symbol.
+\DeclareInputText{254}{\armapostrophe}% Apatharc (armapostrophe) symbol.
+% Coding "armapostrophe" as 255 (except as 254), since it can
+% be found in that position in many ArmSCII8 fonts.
+\DeclareInputText{255}{\armapostrophe}% Apatharc (armapostrophe) symbol.
+
+
+%% Providing a command to define armew.
+%%
+\def\definearmew@error{%
+ \PackageError{armtex}
+ {Character\space used\space to\space define\space armew\space must\MessageBreak
+ have\space a\space charcode\space between\space 128\space and\space 255}
+ {Change\space the\space character\space used\space in\space
+ \protect\definearmew\space and\space recompile.}}
+
+\providecommand\definearmew[1]{%
+ \count@=`#1\relax
+ \ifnum \count@ < 128\definearmew@error\else
+ \ifnum \count@ > 255\definearmew@error\else
+ \DeclareInputText{\count@}{\armew}\fi\fi}
+
+
+%% That's all, Folks!
+%%
+\endinput
diff --git a/Master/texmf-dist/tex/latex/armenian/armtex.sty b/Master/texmf-dist/tex/latex/armenian/armtex.sty
new file mode 100644
index 00000000000..4b3e97aff2f
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/armenian/armtex.sty
@@ -0,0 +1,962 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% This is the `armtex.sty' file (LaTeX package for writing in Armenian).
+%%
+%% This file is a part of the ArmTeX project [2014/04/09 v3.0-beta3]
+%%
+%% ArmTeX is a system for writing in Armenian with plain TeX and/or LaTeX(2e).
+%%
+%% Copyright 1997 - 2013:
+%% Serguei Dachian (Serguei.Dachian_AT_math.univ-bpclermont.fr),
+%% Arnak Dalalyan (arnak.dalalyan_AT_ensae.fr),
+%% Vardan Akopian (vakopian_AT_yahoo.com).
+%%
+%% ArmTeX 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 in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX version
+%% 2005/12/01 or later.
+%%
+%% ArmTeX has the LPPL maintenance status `author-maintained'.
+%%
+%% For more details, installation instructions and the complete list of files
+%% see the provided `readme.txt' file.
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+%% Double input protection.
+%%
+\expandafter\ifx\csname ArmTeX@ArmTeXLoaded\endcsname\relax
+ \let\ArmTeX@ArmTeXLoaded\null\else\endinput\fi
+
+
+%% Begining of the code.
+%%
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{armtex}
+ [2014/04/09 v3.0-beta3 armtex.sty (LaTeX package for writing in Armenian)]
+\RequirePackage{kvoptions}
+
+
+%% Options processing.
+%%
+\newif\ifArmTeX@Main
+\global\ArmTeX@Maintrue
+\DeclareVoidOption{latin}{\global\ArmTeX@Mainfalse}
+\DeclareVoidOption{notstar}{\global\let\ArmTeX@Notstar\null}
+\DeclareVoidOption{notbar}{\global\let\ArmTeX@Notbar\null}
+\DeclareVoidOption{notexclam}{\global\let\ArmTeX@Notexclam\null}
+\DeclareVoidOption{notdots}{\global\let\ArmTeX@Notdots\null}
+\DeclareVoidOption{safe}{\global\let\ArmTeX@Notstar\null
+ \global\let\ArmTeX@Notbar\null
+ \global\let\ArmTeX@Notexclam\null
+ \global\let\ArmTeX@Notdots\null}
+\DeclareStringOption[1]{loosespace}[6]
+\ProcessKeyvalOptions*
+
+
+%% Loading encoding definition file.
+%%
+\InputIfFileExists{ot6enc.def}{}
+ {\PackageError{ArmTeX}
+ {Encoding definition file `ot6enc.def' not found.\MessageBreak
+ Check your installation}
+ {It seems that there is a problem with your installation.\MessageBreak
+ Normally the file `ot6enc.def' should have been present on your system.\MessageBreak
+ But apparently it isn't !!!\MessageBreak
+ It is better to stop at this point and to check your installation.}}
+
+
+%% Some auxilliary macros.
+%%
+\def\ArmTeX@Armencoding{OT6}
+\def\ArmTeX@Armfamily{cmr}
+\def\ArmTeX@Armseries{m}
+\def\ArmTeX@Armshape{n}
+\def\ArmTeX@Armnormalfont{\usefont\ArmTeX@Armencoding
+ \ArmTeX@Armfamily
+ \ArmTeX@Armseries
+ \ArmTeX@Armshape
+ \relax}
+\def\ArmTeX@Savednormalfont{\usefont\ArmTeX@Savedencoding
+ \ArmTeX@Savedfamily
+ \ArmTeX@Savedseries
+ \ArmTeX@Savedshape
+ \relax}
+\def\ArmTeX@Armdischyph{\discretionary{\char123}{}{}}
+\def\ArmTeX@MathError#1{%
+ \PackageError{ArmTeX}
+ {The command \protect #1 is not available in math mode}
+ {You have used the command \protect #1 in math mode.\MessageBreak
+ But it can only be used in text mode.}}
+\def\ArmTeX@CtError{%
+ \PackageError{ArmTeX}
+ {Bad counter value in \protect\alph\space or in \protect\Alph}
+ {In Armenian mode \protect\alph\space and \protect\Alph\space can\MessageBreak
+ only treat integers between 1 and 36.}}
+\def\@armalph#1{\ifcase#1\ArmTeX@CtError\or
+ \armayb\or
+ \armben\or
+ \armgim\or
+ \armda\or
+ \armyech\or
+ \armza\or
+ \arme\or
+ \armat\or
+ \armto\or
+ \armzhe\or
+ \armini\or
+ \armlyun\or
+ \armkhe\or
+ \armtsa\or
+ \armken\or
+ \armho\or
+ \armdza\or
+ \armghat\or
+ \armtche\or
+ \armmen\or
+ \armhi\or
+ \armnu\or
+ \armsha\or
+ \armvo\or
+ \armcha\or
+ \armpe\or
+ \armje\or
+ \armra\or
+ \armse\or
+ \armvev\or
+ \armtyun\or
+ \armre\or
+ \armtso\or
+ \armvovyun\or
+ \armpyur\or
+ \armke
+ \else
+ \ArmTeX@CtError
+ \fi
+}
+\def\@Armalph#1{\ifcase#1\ArmTeX@CtError\or
+ \Armayb\or
+ \Armben\or
+ \Armgim\or
+ \Armda\or
+ \Armyech\or
+ \Armza\or
+ \Arme\or
+ \Armat\or
+ \Armto\or
+ \Armzhe\or
+ \Armini\or
+ \Armlyun\or
+ \Armkhe\or
+ \Armtsa\or
+ \Armken\or
+ \Armho\or
+ \Armdza\or
+ \Armghat\or
+ \Armtche\or
+ \Armmen\or
+ \Armhi\or
+ \Armnu\or
+ \Armsha\or
+ \Armvo\or
+ \Armcha\or
+ \Armpe\or
+ \Armje\or
+ \Armra\or
+ \Armse\or
+ \Armvev\or
+ \Armtyun\or
+ \Armre\or
+ \Armtso\or
+ \Armvovyun\or
+ \Armpyur\or
+ \Armke
+ \else
+ \ArmTeX@CtError
+ \fi
+}
+\def\ArmTeX@Armrefname{\Armho\armghat\armvo\armvyun\armmen\armnu \armyech
+ \armre}
+\def\ArmTeX@Armabstractname{\Armse\armyech\armghat\armmen\armayb\armgim
+ \armini\armre}
+\def\ArmTeX@Armbibname{\Armgim\armre\armayb\armken\armayb\armnu\armvo\armvyun
+ \armto\armhi\armvo\armvyun\armnu}
+\def\ArmTeX@Armprefacename{\Armnu\armayb\armkhe\armayb\armben\armayb\armnu}
+\def\ArmTeX@Armchaptername{\Armgim\armlyun\armvo\armvyun\armkhe}
+\def\ArmTeX@Armappendixname{\Armho\armayb\armvev\armyech\armlyun\armvev
+ \armayb\armtsa}
+\def\ArmTeX@Armcontentsname{\Armben\armvo\armvev\armayb\armnu\armda\armayb
+ \armken\armvo\armvyun\armto\armhi\armvo\armvyun\armnu}
+\def\ArmTeX@Armlistfigurename{\Armnu\armken\armayb\armre\armnu\armyech\armre
+ \armini\ \armtso\armayb\armnu\armken}
+\def\ArmTeX@Armlisttablename{\Armayb\armghat\armhi\armvo\armvyun\armse\armayb
+ \armken\armnu\armyech\armre\armini\ \armtso\armayb\armnu\armken}
+\def\ArmTeX@Armindexname{\Armayb\armra\armayb\armre\armken\armayb\armhi
+ \armayb\armken\armayb\armnu\ \armtso\armayb\armnu\armken}
+\def\ArmTeX@Armfigurename{\Armnu\armken\armayb\armre}
+\def\ArmTeX@Armtablename{\Armayb\armghat\armhi\armvo\armvyun\armse\armayb
+ \armken}
+\def\ArmTeX@Armpartname{\Armmen\armayb\armse}
+\def\ArmTeX@Armpagename{\arme\armje}
+\def\ArmTeX@Armseename{{\aritshape\armtyun\armyech\armaccent\armse}}
+\def\ArmTeX@Armalsoname{{\aritshape\armtyun\armyech\armaccent\armse\ \armnu
+ \armayb\armew}}
+%
+% False argument gobbles ":", and so we can use "\armsep" instead.
+\def\ArmTeX@Armenclname#1{\Armken\armini\armtso\armsep}
+%
+% False argument gobbles ":", and so we can use "\armsep" instead.
+\def\ArmTeX@Armccname#1{\Armken\armre\armken\armnu\armo\armre\armini\armnu
+ \armayb\armken\armat\armsep}
+%
+% The \headtoname is empty: the typesetter should use the dative (trakan
+% holov) of the recipient's name.
+% False argument gobbles "{}" (or "\ ") and we ignore the following spaces.
+\def\ArmTeX@Armheadtoname#1{\ignorespaces}
+\def\ArmTeX@Armproofname{\Armayb\armpe\armayb\armtso\armvo\armvyun\armhi
+ \armtso}% for AMS-\LaTeX
+\def\ArmTeX@Armglossaryname{\Armtyun\armyech\armre\armmen\armini\armnu\armnu
+ \armyech\armre\armini\ \armtso\armayb\armnu\armken}
+
+
+%% User macros.
+%%
+\def\armtoday{\number\day\armendash\armat\ \ifcase\month\or
+ \armho\armvo\armvyun\armnu\-\armvev\armayb\-\armre\armini\or
+ \armpyur\armyech\armtyun\armre\armvev\armayb\-\armre\armini\or
+ \armmen\armayb\armre\-\armtyun\armini\or
+ \armayb\armpe\-\armre\armini\-\armlyun\armini\or
+ \armmen\armayb\-\armhi\armini\-\armse\armini\or
+ \armho\armvo\armvyun\-\armnu\armini\-\armse\armini\or
+ \armho\armvo\armvyun\-\armlyun\armini\-\armse\armini\or
+ \armo\-\armgim\armvo\armse\-\armtyun\armvo\-\armse\armini\or
+ \armse\armyech\armpe\-\armtyun\armyech\armmen\-\armben\armyech\-\armre
+ \armini\or
+ \armho\armvo\armken\-\armtyun\armyech\armmen\-\armben\armyech\-\armre
+ \armini\or
+ \armnu\armvo\-\armhi\armyech\armmen\-\armben\armyech\-\armre\armini\or
+ \armda\armyech\armken\-\armtyun\armyech\armmen\-\armben\armyech\-\armre
+ \armini
+ \fi\ \number\year~\armto\armdot}
+\def\armdate{\let\today\armtoday}
+\def\armdateoff{\let\today\ArmTeX@Savedtoday}
+\def\armhyph{\let\-\ArmTeX@Armdischyph
+ \let\@dischyph\ArmTeX@Armdischyph}
+\def\armhyphoff{\let\-\ArmTeX@Saveddischyph
+ \let\@dischyph\ArmTeX@Saveddischyph}
+\def\armalph#1{\expandafter\@armalph\csname c@#1\endcsname}
+\def\Armalph#1{\expandafter\@Armalph\csname c@#1\endcsname}
+\def\armalphs{\let\@alph\@armalph
+ \let\@Alph\@Armalph}
+\def\armalphsoff{\let\@alph\ArmTeX@Saved@alph
+ \let\@Alph\ArmTeX@Saved@Alph}
+\def\armnames{%
+ \let\refname\ArmTeX@Armrefname
+ \let\abstractname\ArmTeX@Armabstractname
+ \let\bibname\ArmTeX@Armbibname
+ \let\prefacename\ArmTeX@Armprefacename
+ \let\chaptername\ArmTeX@Armchaptername
+ \let\appendixname\ArmTeX@Armappendixname
+ \let\contentsname\ArmTeX@Armcontentsname
+ \let\listfigurename\ArmTeX@Armlistfigurename
+ \let\listtablename\ArmTeX@Armlisttablename
+ \let\indexname\ArmTeX@Armindexname
+ \let\figurename\ArmTeX@Armfigurename
+ \let\tablename\ArmTeX@Armtablename
+ \let\partname\ArmTeX@Armpartname
+ \let\pagename\ArmTeX@Armpagename
+ \let\seename\ArmTeX@Armseename
+ \let\alsoname\ArmTeX@Armalsoname
+ \let\enclname\ArmTeX@Armenclname
+ \let\ccname\ArmTeX@Armccname
+ \let\headtoname\ArmTeX@Armheadtoname
+ \let\proofname\ArmTeX@Armproofname
+ \let\glossaryname\ArmTeX@Armglossaryname
+}
+\def\armnamesoff{%
+ \let\refname\ArmTeX@Savedrefname
+ \let\abstractname\ArmTeX@Savedabstractname
+ \let\bibname\ArmTeX@Savedbibname
+ \let\prefacename\ArmTeX@Savedprefacename
+ \let\chaptername\ArmTeX@Savedchaptername
+ \let\appendixname\ArmTeX@Savedappendixname
+ \let\contentsname\ArmTeX@Savedcontentsname
+ \let\listfigurename\ArmTeX@Savedlistfigurename
+ \let\listtablename\ArmTeX@Savedlisttablename
+ \let\indexname\ArmTeX@Savedindexname
+ \let\figurename\ArmTeX@Savedfigurename
+ \let\tablename\ArmTeX@Savedtablename
+ \let\partname\ArmTeX@Savedpartname
+ \let\pagename\ArmTeX@Savedpagename
+ \let\seename\ArmTeX@Savedseename
+ \let\alsoname\ArmTeX@Savedalsoname
+ \let\enclname\ArmTeX@Savedenclname
+ \let\ccname\ArmTeX@Savedccname
+ \let\headtoname\ArmTeX@Savedheadtoname
+ \let\proofname\ArmTeX@Savedproofname
+ \let\glossaryname\ArmTeX@Savedglossaryname
+}
+\def\armfontsdefault{%
+ \let\encodingdefault\ArmTeX@Armencoding
+ \let\familydefault\ArmTeX@Armfamily
+ \let\seriesdefault\ArmTeX@Armseries
+ \let\shapedefault\ArmTeX@Armshape
+}
+\def\armfontsdefaultoff{%
+ \let\encodingdefault\ArmTeX@Savedencoding
+ \let\familydefault\ArmTeX@Savedfamily
+ \let\seriesdefault\ArmTeX@Savedseries
+ \let\shapedefault\ArmTeX@Savedshape
+}
+\DeclareRobustCommand{\?}{\ifmmode\ArmTeX@MathError{\?}\else
+ \textquestion\fi}
+\DeclareRobustCommand{\ArmTeX}{{\artmfamily
+ \def\ArmTeX@testa{it}\ifx\f@shape\ArmTeX@testa\arslshape\fi
+ A\kern -0.08ex\raise 0.63ex\hbox{\smash{r}}\kern -0.22em%
+ \def\ArmTeX@testa{sl}\ifx\f@shape\ArmTeX@testa\kern -0.075em\fi
+ \def\ArmTeX@testa{m}\ifx\f@series\ArmTeX@testa\else\kern -0.015em\fi
+ \lower 0.43ex\hbox{m}\kern -0.16em\fontencoding\ArmTeX@Savedencoding
+ \fontfamily\ArmTeX@Savedfamily
+ \def\ArmTeX@testa{sl}\ifx\f@shape\ArmTeX@testa\slshape\else\upshape\fi
+ \def\ArmTeX@testa{m}\ifx\f@series\ArmTeX@testa\mdseries\else\bfseries\fi
+ \selectfont\TeX}}
+\DeclareRobustCommand{\latArmTeX}{{\aroff
+ \edef\ArmTeX@testa{\itdefault}\ifx\f@shape\ArmTeX@testa\slshape\fi
+ Arm\kern -0.15em\edef\ArmTeX@testa{\mddefault}%
+ \ifx\f@series\ArmTeX@testa\else\kern 0.03em\fi\TeX}}
+
+
+%% At begining of the document.
+%%
+\AtBeginDocument{
+%
+% Cheking if OT6 is not already loaded.
+%
+\ifx\encodingdefault\ArmTeX@Armencoding
+ \PackageError{armtex}
+ {Encoding definition file `ot6enc.def' already loaded.\MessageBreak
+ You should not load it with the help of\MessageBreak
+ `fontenc' package if you use `armtex' package}
+ {You must have put something like \protect\usepackage[T1,T3,OT6]{fontenc}\MessageBreak
+ in the preambule of your document.\MessageBreak
+ Removing `OT6' from the list of options (or removing the whole\MessageBreak
+ `fontenc' package, if you don't need it) will solve the problem.}
+\fi
+%
+% Do some savings.
+%
+\let\ArmTeX@Savedexclam\!%
+\let\ArmTeX@Savedbar\|%
+\let\ArmTeX@Savedstar\*%
+\let\ArmTeX@Saveddischyph\-%
+\let\ArmTeX@Savedtoday\today
+\let\ArmTeX@Savedencoding\encodingdefault
+\let\ArmTeX@Savedfamily\familydefault
+\let\ArmTeX@Savedseries\seriesdefault
+\let\ArmTeX@Savedshape\shapedefault
+\let\ArmTeX@Savedrefname\refname
+\let\ArmTeX@Savedabstractname\abstractname
+\let\ArmTeX@Savedbibname\bibname
+\let\ArmTeX@Savedprefacename\prefacename
+\let\ArmTeX@Savedchaptername\chaptername
+\let\ArmTeX@Savedappendixname\appendixname
+\let\ArmTeX@Savedcontentsname\contentsname
+\let\ArmTeX@Savedlistfigurename\listfigurename
+\let\ArmTeX@Savedlisttablename\listtablename
+\let\ArmTeX@Savedindexname\indexname
+\let\ArmTeX@Savedfigurename\figurename
+\let\ArmTeX@Savedtablename\tablename
+\let\ArmTeX@Savedpartname\partname
+\let\ArmTeX@Savedpagename\pagename
+\let\ArmTeX@Savedseename\seename
+\let\ArmTeX@Savedalsoname\alsoname
+\let\ArmTeX@Savedenclname\enclname
+\let\ArmTeX@Savedccname\ccname
+\let\ArmTeX@Savedheadtoname\headtoname
+\let\ArmTeX@Savedproofname\proofname
+\let\ArmTeX@Savedglossaryname\glossaryname
+\let\ArmTeX@Saved@alph\@alph
+\let\ArmTeX@Saved@Alph\@Alph
+%
+% Processing Options.
+%
+\ifArmTeX@Main
+ \armdate
+ \armhyph
+ \armalphs
+ \armnames
+ \armfontsdefault
+ \ArmTeX@Armnormalfont
+\fi
+%
+\ifx\ArmTeX@Notstar\null\else
+ \DeclareRobustCommand{\*}{\ifmmode\ArmTeX@Savedstar\else
+ \armbl\fi}%
+\fi
+%
+\ifx\ArmTeX@Notexclam\null\else
+ \DeclareRobustCommand{\!}{\ifmmode\ArmTeX@Savedexclam\else
+ \textexclam\fi}%
+\fi
+%
+\ifx\ArmTeX@Notbar\null\else
+ \DeclareRobustCommand{\|}{\ifmmode\ArmTeX@Savedbar\else
+ \armemdash\fi}%
+\fi
+%
+\ifx\ArmTeX@Notdots\null\else
+ \def\vdots{\vbox{\baselineskip4\p@ \lineskiplimit\z@
+ \kern6\p@\hbox{$\ldotp$}\hbox{$\ldotp$}\hbox{$\ldotp$}}}%
+ \def\ddots{\mathinner{\mkern1mu\raise7\p@
+ \vbox{\kern7\p@\hbox{$\ldotp$}}\mkern2mu
+ \raise4\p@\hbox{$\ldotp$}\mkern2mu\raise\p@\hbox{$\ldotp$}\mkern1mu}}%
+\fi
+}
+
+
+%% Encoding/font MATH selection user macros.
+%%
+\DeclareMathAlphabet{\mathartm}{OT6}{cmr}{m}{n}
+\SetMathAlphabet{\mathartm}{bold}{OT6}{cmr}{bx}{n}
+\DeclareMathAlphabet{\mathartmbf}{OT6}{cmr}{bx}{n}
+\DeclareMathAlphabet{\mathartmit}{OT6}{cmr}{m}{it}
+\SetMathAlphabet{\mathartmit}{bold}{OT6}{cmr}{bx}{it}
+\DeclareMathAlphabet{\mathartmbfit}{OT6}{cmr}{bx}{it}
+
+
+%% Encoding/font TEXT selection orthogonal user macros.
+%%
+\DeclareRobustCommand{\aroff}{%
+ \ifx\f@encoding\ArmTeX@Armencoding\ArmTeX@Savednormalfont
+ \armhyphoff\fi}%
+%
+\providecommand{\ArmTeX@OrthoFontDef}[3]{%
+ \DeclareRobustCommand{#1}{%
+ \ifmmode\ArmTeX@MathError{#1}\else
+ \ifx\f@encoding\ArmTeX@Armencoding\else
+ \ArmTeX@Armnormalfont\armhyph
+ \fi
+ #3\selectfont
+ \fi}%
+ \DeclareTextFontCommand{#2}{#1}}
+%
+\ArmTeX@OrthoFontDef{\artmfamily}{\armtm}{\fontfamily{cmr}}
+\ArmTeX@OrthoFontDef{\arssfamily}{\armss}{\fontfamily{cmss}}
+\ArmTeX@OrthoFontDef{\arbfseries}{\armbf}{\fontseries{bx}}
+\ArmTeX@OrthoFontDef{\armdseries}{\armmd}{\fontseries{m}}
+\ArmTeX@OrthoFontDef{\arupshape}{\armup}{\fontshape{n}}
+\ArmTeX@OrthoFontDef{\aritshape}{\armit}{\fontshape{it}}
+\ArmTeX@OrthoFontDef{\arslshape}{\armsl}{\fontshape{sl}}
+
+
+%% Encoding/font TEXT selection NON-orthogonal commands
+%%
+
+% Old-style armenian commands used in plain version.
+%
+\providecommand{\ArmTeX@OldArmFontDef}[3]{%
+ \DeclareOldFontCommand{#1}{%
+ \ifx\f@encoding\ArmTeX@Armencoding\else\armhyph\fi
+ \ArmTeX@Armnormalfont #2\selectfont}{#3}}
+%
+\ArmTeX@OldArmFontDef{\artm}{\fontfamily{cmr}}
+ {\mathartm}
+\ArmTeX@OldArmFontDef{\arss}{\fontfamily{cmss}}
+ {\ArmTeX@MathError{\arss}}
+\ArmTeX@OldArmFontDef{\artmbf}{\fontfamily{cmr}\fontseries{bx}}
+ {\mathartmbf}
+\ArmTeX@OldArmFontDef{\arssbf}{\fontfamily{cmss}\fontseries{bx}}
+ {\ArmTeX@MathError{\arssbf}}
+\ArmTeX@OldArmFontDef{\artmit}{\fontfamily{cmr}\fontshape{it}}
+ {\mathartmit}
+\ArmTeX@OldArmFontDef{\artmsl}{\fontfamily{cmr}\fontshape{sl}}
+ {\ArmTeX@MathError{\artmsl}}
+\ArmTeX@OldArmFontDef{\arsssl}{\fontfamily{cmss}\fontshape{sl}}
+ {\ArmTeX@MathError{\arsssl}}
+\ArmTeX@OldArmFontDef{\artmbfit}{\fontfamily{cmr}\fontshape{it}\fontseries{bx}}
+ {\mathartmbfit}
+\ArmTeX@OldArmFontDef{\artmbfsl}{\fontfamily{cmr}\fontshape{sl}\fontseries{bx}}
+ {\ArmTeX@MathError{\artmbfsl}}
+\ArmTeX@OldArmFontDef{\arssbfsl}{\fontfamily{cmss}\fontshape{sl}\fontseries{bx}}
+ {\ArmTeX@MathError{\arssbfsl}}
+
+% Old-style NON-armenian commands (probably redefining, if
+% already defined in class).
+%
+\providecommand{\ArmTeX@OldNonArmFontDef}[3]{%
+ \DeclareOldFontCommand{#1}{%
+ \ifx\f@encoding\ArmTeX@Armencoding\armhyphoff\fi
+ \ArmTeX@Savednormalfont #2}{#3}}
+%
+\ArmTeX@OldNonArmFontDef{\rm}{\rmfamily}{\mathrm}
+\ArmTeX@OldNonArmFontDef{\sf}{\sffamily}{\mathsf}
+\ArmTeX@OldNonArmFontDef{\tt}{\ttfamily}{\mathtt}
+\ArmTeX@OldNonArmFontDef{\bf}{\bfseries}{\mathbf}
+\ArmTeX@OldNonArmFontDef{\it}{\itshape}{\mathit}
+\ArmTeX@OldNonArmFontDef{\sl}{\slshape}{\ArmTeX@MathError{\sl}}
+\ArmTeX@OldNonArmFontDef{\sc}{\scshape}{\ArmTeX@MathError{\sc}}
+
+
+%% Armenian numerals related macros.
+%%
+\newcount\armnumeralcount
+\newcount\armnu@cta
+\newcount\armnu@ctb
+\newcount\armnu@ctc
+\def\armnu@gobcha{\let\armnu@cha= }
+\def\armnu@gobchb{\let\armnu@chb= }
+\def\armnu@skip#1\armnu@nil{\relax}
+
+% Arabic to Armenian macro (\armnumeral).
+%
+\def\armnu@units{\ifcase\armnu@cta\or
+ \Armayb\or
+ \Armben\or
+ \Armgim\or
+ \Armda\or
+ \Armyech\or
+ \Armza\or
+ \Arme\or
+ \Armat\or
+ \Armto\fi
+}
+
+\def\armnu@tens{\ifcase\armnu@cta\or
+ \Armzhe\or
+ \Armini\or
+ \Armlyun\or
+ \Armkhe\or
+ \Armtsa\or
+ \Armken\or
+ \Armho\or
+ \Armdza\or
+ \Armghat\fi
+}
+
+\def\armnu@hundreds{\ifcase\armnu@cta\or
+ \Armtche\or
+ \Armmen\or
+ \Armhi\or
+ \Armnu\or
+ \Armsha\or
+ \Armvo\or
+ \Armcha\or
+ \Armpe\or
+ \Armje\fi
+}
+
+\def\armnu@thousands{\ifcase\armnu@cta\or
+ \Armra\or
+ \Armse\or
+ \Armvev\or
+ \Armtyun\or
+ \Armre\or
+ \Armtso\or
+ \Armvyun\or
+ \Armpyur\or
+ \Armke\fi
+}
+
+\def\armnumeral@base#1{%
+ \armnu@cta = #1
+ \armnu@ctb = #1
+ \divide\armnu@cta by 1000
+ \armnu@thousands
+ \multiply\armnu@cta by -1000
+ \advance\armnu@ctb by \armnu@cta
+ \armnu@cta=\armnu@ctb
+ \divide\armnu@cta by 100
+ \armnu@hundreds
+ \multiply\armnu@cta by -100
+ \advance\armnu@ctb by \armnu@cta
+ \armnu@cta=\armnu@ctb
+ \divide\armnu@cta by 10
+ \armnu@tens
+ \multiply\armnu@cta by -10
+ \advance\armnu@ctb by \armnu@cta
+ \armnu@cta=\armnu@ctb
+ \armnu@units
+}
+
+\def\armnumeral@aux{\afterassignment\armnumeral@loop\armnu@gobcha}
+
+\def\armnumeral@loop{%
+ \let\armnu@next=\armnumeral@aux
+ \ifx\armnu@cha\armnu@nil
+ \let\armnu@next=\relax
+ \else
+ \advance\armnumeralcount by 1
+ \if 0\armnu@cha
+ \else
+ \let\armnu@tmpb = 1\relax
+ \if 1\armnu@cha
+ \else
+ \if 2\armnu@cha
+ \else
+ \if 3\armnu@cha
+ \else
+ \if 4\armnu@cha
+ \else
+ \if 5\armnu@cha
+ \else
+ \if 6\armnu@cha
+ \else
+ \if 7\armnu@cha
+ \else
+ \if 8\armnu@cha
+ \else
+ \if 9\armnu@cha
+ \else
+ \let\armnu@tmpb = 0\relax
+ \let\armnu@next=\armnu@skip
+ \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi
+ \fi
+ \armnu@next
+}
+
+\def\armnumeral@auxbis#1{%
+ \ifnum\armnumeralcount = 0
+ \hbox{\vphantom{\Armho}\armnumeral@base{#1}\vphantom{\Armnu}}%
+ \else
+ \advance\armnumeralcount by -1
+ \hbox{$\overline{\hbox{\armnumeral@auxbis{#1}}}\m@th$}%
+ \fi
+}
+
+\def\armnumeral@loopbis#1#2#3#4#5\armnu@nil{%
+ \armnumeralcount=\armnu@ctc
+ \ifnum\armnu@ctc > 0
+ \armnumeral@auxbis{#1#2#3#4}%
+ \advance\armnu@ctc by -1
+ \armnumeral@loopbis #5\armnu@nil
+ \else
+ \armnumeral@auxbis{#1#2#3#4}%
+ \fi
+}
+
+\def\armnumeral#1{\edef\armnu@tmpa{#1}\armnumeralcount = 0
+ \let\armnu@tmpb = 0\relax
+ \expandafter\armnumeral@aux\armnu@tmpa\armnu@nil
+ \if 0\armnu@tmpb
+ \PackageError{ArmTeX}
+ {Invalid argument in \protect\armnumeral}
+ {The argument of \protect\armnumeral\space must be\MessageBreak
+ a strictly positive decimal integer.}%
+ \else
+ \leavevmode
+ \armnu@ctc=\armnumeralcount
+ \divide\armnu@ctc by 4
+ \multiply\armnu@ctc by -4
+ \advance\armnumeralcount by \armnu@ctc
+ \divide\armnu@ctc by -4
+ \ifnum\armnumeralcount = 0
+ \advance\armnu@ctc by -1
+ \fi
+ \edef\armnu@tmpa{\ifcase\armnumeralcount\or000\or00\or0\fi #1}%
+ \expandafter\armnumeral@loopbis\armnu@tmpa\armnu@nil
+ \fi
+}
+
+% Armenian to Arabic macro (\unarmnumeral).
+%
+\def\armnu@setchb#1{\edef\armnu@tmpb{#1}\expandafter\armnu@gobchb\armnu@tmpb}
+
+\def\armnu@chaval{%
+ \armnu@setchb{\Armayb}\ifx\armnu@cha\armnu@chb
+ \armnu@cta = 0\armnu@ctb = 1
+ \else
+ \armnu@setchb{\Armben}\ifx\armnu@cha\armnu@chb
+ \armnu@cta = 0\armnu@ctb = 2
+ \else
+ \armnu@setchb{\Armgim}\ifx\armnu@cha\armnu@chb
+ \armnu@cta = 0\armnu@ctb = 3
+ \else
+ \armnu@setchb{\Armda}\ifx\armnu@cha\armnu@chb
+ \armnu@cta = 0\armnu@ctb = 4
+ \else
+ \armnu@setchb{\Armyech}\ifx\armnu@cha\armnu@chb
+ \armnu@cta = 0\armnu@ctb = 5
+ \else
+ \armnu@setchb{\Armza}\ifx\armnu@cha\armnu@chb
+ \armnu@cta = 0\armnu@ctb = 6
+ \else
+ \armnu@setchb{\Arme}\ifx\armnu@cha\armnu@chb
+ \armnu@cta = 0\armnu@ctb = 7
+ \else
+ \armnu@setchb{\Armat}\ifx\armnu@cha\armnu@chb
+ \armnu@cta = 0\armnu@ctb = 8
+ \else
+ \armnu@setchb{\Armto}\ifx\armnu@cha\armnu@chb
+ \armnu@cta = 0\armnu@ctb = 9
+ \else
+ \armnu@setchb{\Armzhe}\ifx\armnu@cha\armnu@chb
+ \armnu@cta = 1\armnu@ctb = 10
+ \else
+ \armnu@setchb{\Armini}\ifx\armnu@cha\armnu@chb
+ \armnu@cta = 1\armnu@ctb = 20
+ \else
+ \armnu@setchb{\Armlyun}\ifx\armnu@cha\armnu@chb
+ \armnu@cta = 1\armnu@ctb = 30
+ \else
+ \armnu@setchb{\Armkhe}\ifx\armnu@cha\armnu@chb
+ \armnu@cta = 1\armnu@ctb = 40
+ \else
+ \armnu@setchb{\Armtsa}\ifx\armnu@cha\armnu@chb
+ \armnu@cta = 1\armnu@ctb = 50
+ \else
+ \armnu@setchb{\Armken}\ifx\armnu@cha\armnu@chb
+ \armnu@cta = 1\armnu@ctb = 60
+ \else
+ \armnu@setchb{\Armho}\ifx\armnu@cha\armnu@chb
+ \armnu@cta = 1\armnu@ctb = 70
+ \else
+ \armnu@setchb{\Armdza}\ifx\armnu@cha\armnu@chb
+ \armnu@cta = 1\armnu@ctb = 80
+ \else
+ \armnu@setchb{\Armghat}\ifx\armnu@cha\armnu@chb
+ \armnu@cta = 1\armnu@ctb = 90
+ \else
+ \armnu@setchb{\Armtche}\ifx\armnu@cha\armnu@chb
+ \armnu@cta = 2\armnu@ctb = 100
+ \else
+ \armnu@setchb{\Armmen}\ifx\armnu@cha\armnu@chb
+ \armnu@cta = 2\armnu@ctb = 200
+ \else
+ \armnu@setchb{\Armhi}\ifx\armnu@cha\armnu@chb
+ \armnu@cta = 2\armnu@ctb = 300
+ \else
+ \armnu@setchb{\Armnu}\ifx\armnu@cha\armnu@chb
+ \armnu@cta = 2\armnu@ctb = 400
+ \else
+ \armnu@setchb{\Armsha}\ifx\armnu@cha\armnu@chb
+ \armnu@cta = 2\armnu@ctb = 500
+ \else
+ \armnu@setchb{\Armvo}\ifx\armnu@cha\armnu@chb
+ \armnu@cta = 2\armnu@ctb = 600
+ \else
+ \armnu@setchb{\Armcha}\ifx\armnu@cha\armnu@chb
+ \armnu@cta = 2\armnu@ctb = 700
+ \else
+ \armnu@setchb{\Armpe}\ifx\armnu@cha\armnu@chb
+ \armnu@cta = 2\armnu@ctb = 800
+ \else
+ \armnu@setchb{\Armje}\ifx\armnu@cha\armnu@chb
+ \armnu@cta = 2\armnu@ctb = 900
+ \else
+ \armnu@setchb{\Armra}\ifx\armnu@cha\armnu@chb
+ \armnu@cta = 3\armnu@ctb = 1000
+ \else
+ \armnu@setchb{\Armse}\ifx\armnu@cha\armnu@chb
+ \armnu@cta = 3\armnu@ctb = 2000
+ \else
+ \armnu@setchb{\Armvev}\ifx\armnu@cha\armnu@chb
+ \armnu@cta = 3\armnu@ctb = 3000
+ \else
+ \armnu@setchb{\Armtyun}\ifx\armnu@cha\armnu@chb
+ \armnu@cta = 3\armnu@ctb = 4000
+ \else
+ \armnu@setchb{\Armre}\ifx\armnu@cha\armnu@chb
+ \armnu@cta = 3\armnu@ctb = 5000
+ \else
+ \armnu@setchb{\Armtso}\ifx\armnu@cha\armnu@chb
+ \armnu@cta = 3\armnu@ctb = 6000
+ \else
+ \armnu@setchb{\Armvyun}\ifx\armnu@cha\armnu@chb
+ \armnu@cta = 3\armnu@ctb = 7000
+ \else
+ \armnu@setchb{\Armpyur}\ifx\armnu@cha\armnu@chb
+ \armnu@cta = 3\armnu@ctb = 8000
+ \else
+ \armnu@setchb{\Armke}\ifx\armnu@cha\armnu@chb
+ \armnu@cta = 3\armnu@ctb = 9000
+ \else
+ \armnu@cta = 4
+ \fi\fi\fi\fi\fi\fi\fi\fi\fi
+ \fi\fi\fi\fi\fi\fi\fi\fi\fi
+ \fi\fi\fi\fi\fi\fi\fi\fi\fi
+ \fi\fi\fi\fi\fi\fi\fi\fi\fi
+}
+
+\def\unarmnumeral@aux{\afterassignment\unarmnumeral@loop\armnu@gobcha}
+
+\def\unarmnumeral@loop{%
+ \ifx\armnu@cha\armnu@nil
+ \let\armnu@next=\relax
+ \else
+ \armnu@chaval
+ \ifnum\armnu@cta<\armnu@ctc
+ \advance\armnumeralcount by \armnu@ctb
+ \armnu@ctc=\armnu@cta
+ \let\armnu@next=\unarmnumeral@aux
+ \else
+ \PackageError{ArmTeX}
+ {Invalid argument in \protect\unarmnumeral\space or in \protect\unarmnumber}
+ {The argument of \protect\unarmnumeral\space (or of \protect\unarmnumber)
+ must be\MessageBreak
+ a valid (non transliterated) Armenian numeral.}%
+ \armnumeralcount=0\relax
+ \let\armnu@next=\armnu@skip
+ \fi
+ \fi
+ \armnu@next
+}
+
+\def\unarmnumeral@star*#1{\edef\armnu@tmpa{#1}\armnumeralcount = 0
+ \armnu@ctc = 4\armnu@cta = 0\armnu@ctb = 0
+ \expandafter\unarmnumeral@aux\armnu@tmpa\armnu@nil
+}
+
+\def\unarmnumeral@nonstar#1{\unarmnumeral@star*{#1}\the\armnumeralcount}
+
+\let\Arm@optionalstar=*\relax
+\def\unarmnumeral@auxbis{%
+ \ifx\Arm@nextchar\Arm@optionalstar
+ \expandafter\unarmnumeral@star
+ \else
+ \expandafter\unarmnumeral@nonstar
+ \fi
+}
+
+\def\unarmnumeral{\futurelet\Arm@nextchar\unarmnumeral@auxbis}
+
+% LaTeX specific macros (\armnumber and \unarmnumber).
+%
+\def\armnumber#1{\expandafter\@armnumber\csname c@#1\endcsname}
+\def\@armnumber#1{\armnumeral{\number #1}}
+\def\unarmnumber#1#2{%
+ \unarmnumeral*{#1}\csname c@#2\endcsname=\armnumeralcount
+}
+
+
+%% If possible, setting up ToUnicode tables in order to make pdf files
+%% generated by pdf(la)tex "searchable and copyable" in pdf viewers.
+%%
+\expandafter\ifx\csname pdfglyphtounicode\endcsname\relax\else
+\expandafter\ifx\csname pdfgentounicode\endcsname\relax\else
+\pdfgentounicode=1
+
+% Upper-case letters.
+%
+\pdfglyphtounicode{Armayb}{0531}
+\pdfglyphtounicode{Armben}{0532}
+\pdfglyphtounicode{Armgim}{0533}
+\pdfglyphtounicode{Armda}{0534}
+\pdfglyphtounicode{Armyech}{0535}
+\pdfglyphtounicode{Armza}{0536}
+\pdfglyphtounicode{Arme}{0537}
+\pdfglyphtounicode{Armat}{0538}
+\pdfglyphtounicode{Armto}{0539}
+\pdfglyphtounicode{Armzhe}{053A}
+\pdfglyphtounicode{Armini}{053B}
+\pdfglyphtounicode{Armlyun}{053C}
+\pdfglyphtounicode{Armkhe}{053D}
+\pdfglyphtounicode{Armtsa}{053E}
+\pdfglyphtounicode{Armken}{053F}
+\pdfglyphtounicode{Armho}{0540}
+\pdfglyphtounicode{Armdza}{0541}
+\pdfglyphtounicode{Armghat}{0542}
+\pdfglyphtounicode{Armtche}{0543}
+\pdfglyphtounicode{Armmen}{0544}
+\pdfglyphtounicode{Armhi}{0545}
+\pdfglyphtounicode{Armnu}{0546}
+\pdfglyphtounicode{Armsha}{0547}
+\pdfglyphtounicode{Armvo}{0548}
+\pdfglyphtounicode{Armcha}{0549}
+\pdfglyphtounicode{Armpe}{054A}
+\pdfglyphtounicode{Armje}{054B}
+\pdfglyphtounicode{Armra}{054C}
+\pdfglyphtounicode{Armse}{054D}
+\pdfglyphtounicode{Armvev}{054E}
+\pdfglyphtounicode{Armtyun}{054F}
+\pdfglyphtounicode{Armre}{0550}
+\pdfglyphtounicode{Armtso}{0551}
+\pdfglyphtounicode{Armvyun}{0552}
+\pdfglyphtounicode{Armvovyun}{0548 0552}
+\pdfglyphtounicode{Armpyur}{0553}
+\pdfglyphtounicode{Armke}{0554}
+\pdfglyphtounicode{Armo}{0555}
+\pdfglyphtounicode{Armfe}{0556}
+
+% Lower-case letters.
+%
+\pdfglyphtounicode{armayb}{0561}
+\pdfglyphtounicode{armben}{0562}
+\pdfglyphtounicode{armgim}{0563}
+\pdfglyphtounicode{armda}{0564}
+\pdfglyphtounicode{armyech}{0565}
+\pdfglyphtounicode{armza}{0566}
+\pdfglyphtounicode{arme}{0567}
+\pdfglyphtounicode{armat}{0568}
+\pdfglyphtounicode{armto}{0569}
+\pdfglyphtounicode{armzhe}{056A}
+\pdfglyphtounicode{armini}{056B}
+\pdfglyphtounicode{armlyun}{056C}
+\pdfglyphtounicode{armkhe}{056D}
+\pdfglyphtounicode{armtsa}{056E}
+\pdfglyphtounicode{armken}{056F}
+\pdfglyphtounicode{armho}{0570}
+\pdfglyphtounicode{armdza}{0571}
+\pdfglyphtounicode{armghat}{0572}
+\pdfglyphtounicode{armtche}{0573}
+\pdfglyphtounicode{armmen}{0574}
+\pdfglyphtounicode{armhi}{0575}
+\pdfglyphtounicode{armnu}{0576}
+\pdfglyphtounicode{armsha}{0577}
+\pdfglyphtounicode{armvo}{0578}
+\pdfglyphtounicode{armcha}{0579}
+\pdfglyphtounicode{armpe}{057A}
+\pdfglyphtounicode{armje}{057B}
+\pdfglyphtounicode{armra}{057C}
+\pdfglyphtounicode{armse}{057D}
+\pdfglyphtounicode{armvev}{057E}
+\pdfglyphtounicode{armtyun}{057F}
+\pdfglyphtounicode{armre}{0580}
+\pdfglyphtounicode{armtso}{0581}
+\pdfglyphtounicode{armvyun}{0582}
+\pdfglyphtounicode{armvovyun}{0578 0582}
+\pdfglyphtounicode{armpyur}{0583}
+\pdfglyphtounicode{armke}{0584}
+\pdfglyphtounicode{armo}{0585}
+\pdfglyphtounicode{armfe}{0586}
+%
+% Glyphs from Armenian unicode block.
+%
+\pdfglyphtounicode{armfullstop}{0589}
+\pdfglyphtounicode{armsep}{055D}
+\pdfglyphtounicode{armyentamna}{058A}
+\pdfglyphtounicode{armexclam}{055C}
+\pdfglyphtounicode{armaccent}{055B}
+\pdfglyphtounicode{armquestion}{055E}
+\pdfglyphtounicode{armapostrophe}{055A}
+\pdfglyphtounicode{armew}{0587}
+\pdfglyphtounicode{armabbrev}{055F}
+\pdfglyphtounicode{armnum}{0559}
+\pdfglyphtounicode{armdram}{058F}
+
+% Other glyphs not placed in accordance with ASCII.
+%
+\pdfglyphtounicode{quotedblleft}{201C}
+\pdfglyphtounicode{quotedblright}{201D}
+\pdfglyphtounicode{armquotleft}{00AB}
+\pdfglyphtounicode{armquotright}{00BB}
+\pdfglyphtounicode{braceleft}{007B}
+\pdfglyphtounicode{braceright}{007D}
+\pdfglyphtounicode{emdash}{2014}
+\pdfglyphtounicode{exclam}{0021}
+\pdfglyphtounicode{question}{003F}
+
+% Treating the glyph armeternity (not present in unicode) as space.
+%
+\pdfglyphtounicode{armeternity}{0020}
+\fi
+\fi
+
+
+%% That's all, Folks!
+%%
+\endinput
diff --git a/Master/texmf-dist/tex/latex/armenian/ot6cmr.fd b/Master/texmf-dist/tex/latex/armenian/ot6cmr.fd
new file mode 100644
index 00000000000..45d0fe4c054
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/armenian/ot6cmr.fd
@@ -0,0 +1,67 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% This is the `ot6cmr.fd' file (OT6/cmr font definition file).
+%%
+%% This file is a part of the ArmTeX project [2014/04/09 v3.0-beta3]
+%%
+%% ArmTeX is a system for writing in Armenian with plain TeX and/or LaTeX(2e).
+%%
+%% Copyright 1997 - 2013:
+%% Serguei Dachian (Serguei.Dachian_AT_math.univ-bpclermont.fr),
+%% Arnak Dalalyan (arnak.dalalyan_AT_ensae.fr),
+%% Vardan Akopian (vakopian_AT_yahoo.com).
+%%
+%% ArmTeX 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 in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX version
+%% 2005/12/01 or later.
+%%
+%% ArmTeX has the LPPL maintenance status `author-maintained'.
+%%
+%% For more details, installation instructions and the complete list of files
+%% see the provided `readme.txt' file.
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+%% Double input protection.
+%%
+\expandafter\ifx\csname ArmTeX@CmrFdLoaded\endcsname\relax
+ \let\ArmTeX@CmrFdLoaded\null\else\endinput\fi
+
+
+%% Begining of the code.
+%%
+\ProvidesFile{ot6cmr.fd}
+ [2014/04/09 v3.0-beta3 ot6cmr.fd (OT6/cmr font definition file)]
+\providecommand{\ArmTeX@FontShape}[4]{%
+ \DeclareFontShape{OT6}{#1}{#2}{#3}%
+ {<-> #4}{}}
+\DeclareFontFamily{OT6}{cmr}{\hyphenchar\font=-1\dimen@=\fontdimen3\font
+ \expandafter\ifx\csname armtex@loosespace\endcsname\relax\else
+ \ifnum\armtex@loosespace>1\fontdimen3\font=\armtex@loosespace\dimen@\fi
+ \fi}
+\ArmTeX@FontShape{cmr}{m}{n}{artmr10}
+\ArmTeX@FontShape{cmr}{m}{sl}{artmsl10}
+\ArmTeX@FontShape{cmr}{m}{it}{artmi10}
+\ArmTeX@FontShape{cmr}{bx}{n}{artmb10}
+\ArmTeX@FontShape{cmr}{bx}{sl}{artmbs10}
+\ArmTeX@FontShape{cmr}{bx}{it}{artmbi10}
+\ArmTeX@FontShape{cmr}{b}{n}{%
+ % Same as BoldExtended (bx).
+ ssub*cmr/bx/n}
+\ArmTeX@FontShape{cmr}{b}{sl}{%
+ % Same as BoldExtended (bx).
+ ssub*cmr/bx/sl}
+\ArmTeX@FontShape{cmr}{b}{it}{%
+ % Same as BoldExtended (bx).
+ ssub*cmr/bx/it}
+
+
+%% That's all, Folks!
+%%
+\endinput
diff --git a/Master/texmf-dist/tex/latex/armenian/ot6cmss.fd b/Master/texmf-dist/tex/latex/armenian/ot6cmss.fd
new file mode 100644
index 00000000000..746f9057f67
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/armenian/ot6cmss.fd
@@ -0,0 +1,75 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% This is the `ot6cmss.fd' file (OT6/cmss font definition file).
+%%
+%% This file is a part of the ArmTeX project [2014/04/09 v3.0-beta3]
+%%
+%% ArmTeX is a system for writing in Armenian with plain TeX and/or LaTeX(2e).
+%%
+%% Copyright 1997 - 2013:
+%% Serguei Dachian (Serguei.Dachian_AT_math.univ-bpclermont.fr),
+%% Arnak Dalalyan (arnak.dalalyan_AT_ensae.fr),
+%% Vardan Akopian (vakopian_AT_yahoo.com).
+%%
+%% ArmTeX 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 in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX version
+%% 2005/12/01 or later.
+%%
+%% ArmTeX has the LPPL maintenance status `author-maintained'.
+%%
+%% For more details, installation instructions and the complete list of files
+%% see the provided `readme.txt' file.
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+%% Double input protection.
+%%
+\expandafter\ifx\csname ArmTeX@CmssFdLoaded\endcsname\relax
+ \let\ArmTeX@CmssFdLoaded\null\else\endinput\fi
+
+
+%% Begining of the code.
+%%
+\ProvidesFile{ot6cmss.fd}
+ [2014/04/09 v3.0-beta3 ot6cmss.fd (OT6/cmss font definition file)]
+\providecommand{\ArmTeX@FontShape}[4]{%
+ \DeclareFontShape{OT6}{#1}{#2}{#3}%
+ {<-> #4}{}}
+\DeclareFontFamily{OT6}{cmss}{\hyphenchar\font=-1\dimen@=\fontdimen3\font
+ \expandafter\ifx\csname armtex@loosespace\endcsname\relax\else
+ \ifnum\armtex@loosespace>1\fontdimen3\font=\armtex@loosespace\dimen@\fi
+ \fi}
+\ArmTeX@FontShape{cmss}{m}{n}{arssr10}
+\ArmTeX@FontShape{cmss}{m}{sl}{arsssl10}
+\ArmTeX@FontShape{cmss}{m}{it}{%
+ % No italic for "cmss" !!!
+ % Substituting to slanted (not silently !!!)
+ sub*cmss/m/sl}
+\ArmTeX@FontShape{cmss}{bx}{n}{arssb10}
+\ArmTeX@FontShape{cmss}{bx}{sl}{arssbs10}
+\ArmTeX@FontShape{cmss}{bx}{it}{%
+ % No italic for "cmss" !!!
+ % Substituting to slanted (not silently !!!)
+ sub*cmss/bx/sl}
+\ArmTeX@FontShape{cmss}{b}{n}{%
+ % Same as BoldExtended (bx).
+ ssub*cmss/bx/n}
+\ArmTeX@FontShape{cmss}{b}{sl}{%
+ % Same as BoldExtended (bx).
+ ssub*cmss/bx/sl}
+\ArmTeX@FontShape{cmss}{b}{it}{%
+ % Same as BoldExtended (bx).
+ % Moreover, no italic for "cmss" !!!
+ % Substituting to slanted (not silently !!!)
+ sub*cmss/bx/sl}
+
+
+%% That's all, Folks!
+%%
+\endinput
diff --git a/Master/texmf-dist/tex/latex/armenian/ot6enc.def b/Master/texmf-dist/tex/latex/armenian/ot6enc.def
new file mode 100644
index 00000000000..3ee538bd5b0
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/armenian/ot6enc.def
@@ -0,0 +1,288 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% This is the `ot6enc.def' file (OT6 encoding definition file).
+%%
+%% This file is a part of the ArmTeX project [2014/04/09 v3.0-beta3]
+%%
+%% ArmTeX is a system for writing in Armenian with plain TeX and/or LaTeX(2e).
+%%
+%% Copyright 1997 - 2013:
+%% Serguei Dachian (Serguei.Dachian_AT_math.univ-bpclermont.fr),
+%% Arnak Dalalyan (arnak.dalalyan_AT_ensae.fr),
+%% Vardan Akopian (vakopian_AT_yahoo.com).
+%%
+%% ArmTeX 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 in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX version
+%% 2005/12/01 or later.
+%%
+%% ArmTeX has the LPPL maintenance status `author-maintained'.
+%%
+%% For more details, installation instructions and the complete list of files
+%% see the provided `readme.txt' file.
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+%% Double input protection.
+%%
+\expandafter\ifx\csname ArmTeX@EncDefLoaded\endcsname\relax
+ \let\ArmTeX@EncDefLoaded\null\else\endinput\fi
+
+
+%% Begining of the code.
+%%
+\ProvidesFile{ot6enc.def}
+ [2014/04/09 v3.0-beta3 ot6enc.def (OT6 encoding definition file)]
+
+
+%% Declaring the encoding.
+%%
+\DeclareFontEncoding{OT6}{}{}
+
+
+%% Loading Font definition files.
+%%
+\newcommand{\ArmTeX@LoadFd}[1]{%
+ \InputIfFileExists{ot6#1.fd}{}
+ {\PackageError{ArmTeX}
+ {Font definition file `ot6#1.fd' not found.\MessageBreak
+ Check your installation}
+ {It seems that there is a problem with your installation.\MessageBreak
+ Normally the file `ot6#1.fd' should have been present on your system.\MessageBreak
+ But apparently it isn't !!!\MessageBreak
+ It is better to stop at this point and to check your installation.}}}
+\ArmTeX@LoadFd{cmr}
+\ArmTeX@LoadFd{cmss}
+
+
+%% Declaring default font substitution.
+%%
+\DeclareFontSubstitution{OT6}{cmr}{m}{n}
+
+
+%% Encoding specific definitions follows.
+%%
+
+
+%% The LaTeX macros "\{", "\}" and "\$" use "\text..." commands, so adjusted
+%% automaticaly.
+%%
+\DeclareTextSymbol{\textbraceleft}{OT6}{94}
+\DeclareTextSymbol{\textbraceright}{OT6}{95}
+\DeclareTextSymbol{\textdollar}{OT6}{36}
+
+
+%% The LaTeX macros "\#", "\%" and "\&" use current font, so not need to be
+%% adjusted.
+%%
+\DeclareTextSymbol{\texthash}{OT6}{35}
+\DeclareTextSymbol{\textpercent}{OT6}{37}
+\DeclareTextSymbol{\textand}{OT6}{38}
+
+
+%% Some more "\text..." commands.
+%% Note that the LaTeX macros "\!", "\?", "\|" and "\*" will be (re)defined.
+%%
+\DeclareTextSymbol{\textexclam}{OT6}{126}
+\DeclareTextSymbol{\textquestion}{OT6}{127}
+\DeclareTextSymbol{\textquotedblleft}{OT6}{92}
+\DeclareTextSymbol{\textquotedblright}{OT6}{34}
+\DeclareTextSymbol{\textemdash}{OT6}{125}
+
+
+%% Armenian uppercase letters.
+%%
+\DeclareTextSymbol{\Armayb}{OT6}{65}
+\DeclareTextSymbol{\Armben}{OT6}{66}
+\DeclareTextSymbol{\Armgim}{OT6}{71}
+\DeclareTextSymbol{\Armda}{OT6}{68}
+\DeclareTextSymbol{\Armyech}{OT6}{69}
+\DeclareTextSymbol{\Armza}{OT6}{90}
+\DeclareTextSymbol{\Arme}{OT6}{6}
+\DeclareTextSymbol{\Armat}{OT6}{7}
+\DeclareTextSymbol{\Armto}{OT6}{8}
+\DeclareTextSymbol{\Armzhe}{OT6}{9}
+\DeclareTextSymbol{\Armini}{OT6}{73}
+\DeclareTextSymbol{\Armlyun}{OT6}{76}
+\DeclareTextSymbol{\Armkhe}{OT6}{88}
+\DeclareTextSymbol{\Armtsa}{OT6}{13}
+\DeclareTextSymbol{\Armken}{OT6}{75}
+\DeclareTextSymbol{\Armho}{OT6}{72}
+\DeclareTextSymbol{\Armdza}{OT6}{3}
+\DeclareTextSymbol{\Armghat}{OT6}{4}
+\DeclareTextSymbol{\Armtche}{OT6}{5}
+\DeclareTextSymbol{\Armmen}{OT6}{77}
+\DeclareTextSymbol{\Armhi}{OT6}{89}
+\DeclareTextSymbol{\Armnu}{OT6}{78}
+\DeclareTextSymbol{\Armsha}{OT6}{10}
+\DeclareTextSymbol{\Armvo}{OT6}{79}
+\DeclareTextSymbol{\Armcha}{OT6}{11}
+\DeclareTextSymbol{\Armpe}{OT6}{80}
+\DeclareTextSymbol{\Armje}{OT6}{74}
+\DeclareTextSymbol{\Armra}{OT6}{12}
+\DeclareTextSymbol{\Armse}{OT6}{83}
+\DeclareTextSymbol{\Armvev}{OT6}{86}
+\DeclareTextSymbol{\Armtyun}{OT6}{84}
+\DeclareTextSymbol{\Armre}{OT6}{82}
+\DeclareTextSymbol{\Armtso}{OT6}{67}
+\DeclareTextSymbol{\Armvyun}{OT6}{87}
+\DeclareTextSymbol{\Armvovyun}{OT6}{85}
+\DeclareTextSymbol{\Armpyur}{OT6}{14}
+\DeclareTextSymbol{\Armke}{OT6}{81}
+\DeclareTextSymbol{\Armo}{OT6}{15}
+\DeclareTextSymbol{\Armfe}{OT6}{70}
+
+
+%% Armenian lowercase letters.
+%%
+\DeclareTextSymbol{\armayb}{OT6}{97}
+\DeclareTextSymbol{\armben}{OT6}{98}
+\DeclareTextSymbol{\armgim}{OT6}{103}
+\DeclareTextSymbol{\armda}{OT6}{100}
+\DeclareTextSymbol{\armyech}{OT6}{101}
+\DeclareTextSymbol{\armza}{OT6}{122}
+\DeclareTextSymbol{\arme}{OT6}{22}
+\DeclareTextSymbol{\armat}{OT6}{23}
+\DeclareTextSymbol{\armto}{OT6}{24}
+\DeclareTextSymbol{\armzhe}{OT6}{25}
+\DeclareTextSymbol{\armini}{OT6}{105}
+\DeclareTextSymbol{\armlyun}{OT6}{108}
+\DeclareTextSymbol{\armkhe}{OT6}{120}
+\DeclareTextSymbol{\armtsa}{OT6}{29}
+\DeclareTextSymbol{\armken}{OT6}{107}
+\DeclareTextSymbol{\armho}{OT6}{104}
+\DeclareTextSymbol{\armdza}{OT6}{19}
+\DeclareTextSymbol{\armghat}{OT6}{20}
+\DeclareTextSymbol{\armtche}{OT6}{21}
+\DeclareTextSymbol{\armmen}{OT6}{109}
+\DeclareTextSymbol{\armhi}{OT6}{121}
+\DeclareTextSymbol{\armnu}{OT6}{110}
+\DeclareTextSymbol{\armsha}{OT6}{26}
+\DeclareTextSymbol{\armvo}{OT6}{111}
+\DeclareTextSymbol{\armcha}{OT6}{27}
+\DeclareTextSymbol{\armpe}{OT6}{112}
+\DeclareTextSymbol{\armje}{OT6}{106}
+\DeclareTextSymbol{\armra}{OT6}{28}
+\DeclareTextSymbol{\armse}{OT6}{115}
+\DeclareTextSymbol{\armvev}{OT6}{118}
+\DeclareTextSymbol{\armtyun}{OT6}{116}
+\DeclareTextSymbol{\armre}{OT6}{114}
+\DeclareTextSymbol{\armtso}{OT6}{99}
+\DeclareTextSymbol{\armvyun}{OT6}{119}
+\DeclareTextSymbol{\armvovyun}{OT6}{117}
+\DeclareTextSymbol{\armpyur}{OT6}{30}
+\DeclareTextSymbol{\armke}{OT6}{113}
+\DeclareTextSymbol{\armo}{OT6}{31}
+\DeclareTextSymbol{\armfe}{OT6}{102}
+
+
+%% Armenian special symbols.
+%%
+\DeclareTextSymbol{\armparenright}{OT6}{40}
+\DeclareTextSymbol{\armparenleft}{OT6}{41}
+\DeclareTextSymbol{\armcomma}{OT6}{44}
+\DeclareTextSymbol{\armfullstop}{OT6}{58}
+\DeclareTextSymbol{\armquotright}{OT6}{62}
+\DeclareTextSymbol{\armquotleft}{OT6}{60}
+\DeclareTextSymbol{\armdot}{OT6}{46}
+\DeclareTextSymbol{\armsep}{OT6}{96}
+\DeclareTextSymbol{\armew}{OT6}{32}
+\DeclareTextSymbol{\armendash}{OT6}{45}
+\DeclareTextSymbol{\armyentamna}{OT6}{123}
+\DeclareTextSymbol{\armapostrophe}{OT6}{39}
+\DeclareTextSymbol{\armexclam}{OT6}{33}
+\DeclareTextSymbol{\armaccent}{OT6}{124}
+\DeclareTextSymbol{\armquestion}{OT6}{63}
+\DeclareTextSymbol{\armeternity}{OT6}{18}
+\DeclareTextSymbol{\armdram}{OT6}{17}
+\DeclareTextSymbol{\armnum}{OT6}{2}
+\DeclareTextCommand{\armellipsis}{OT6}{...}
+\DeclareTextCommand{\armsection}{OT6}{\S}
+%
+% Defining "\armemdash", which is diferent from "\textemdash" defined above.
+\DeclareTextCommand{\armemdash}{OT6}{\leavevmode
+ \kern0.02em\vrule height0.4ex depth-0.25ex width0.8em\kern0.02em\relax}
+%
+% Repeating "\armemdash" as "\textanjgic" for ArmTeX 2.0 compatibility.
+\DeclareTextCommand{\textanjgic}{OT6}{\leavevmode
+ \kern0.02em\vrule height0.4ex depth-0.25ex width0.8em\kern0.02em\relax}
+%
+% Defining the ligature breaking command "\armbl".
+\DeclareTextCommand{\armbl}{OT6}{{\kern0pt}}
+%
+% Repeating "\armbl" as "\textbreaklig" for ArmTeX 2.0 compatibility.
+\DeclareTextCommand{\textbreaklig}{OT6}{{\kern0pt}}
+%
+% Defining the uncondtional hyphenation command "\armuh"
+\DeclareTextCommand{\armuh}{OT6}{\armyentamna\break}
+%
+% Defining an internal symbol "\arm@abbrev".
+\DeclareTextSymbol{\arm@abbrev}{OT6}{1}
+%
+% The command "\armabr" will put the "\arm@abbrev" symbol over its argument.
+% We don't use the "\accent" primitive, so "\armabr" works with transliterations.
+\newbox\armabr@boxa\newbox\armabr@boxb
+\DeclareTextCommand{\armabr}{OT6}[1]{\leavevmode
+ #1\setbox\armabr@boxa=\hbox{#1}%
+ \setbox\armabr@boxb=\hbox to\wd\armabr@boxa{\hss\arm@abbrev\hss}%
+ \kern -\wd\armabr@boxa\lower 1ex\hbox{\raise\ht\armabr@boxa\box\armabr@boxb}}
+%
+% Finally, "\armabbrev" will produce the "\arm@abbrev" symbol alone.
+\DeclareTextCommand{\armabbrev}{OT6}{\armabr{\phantom{\armhi}}\kern0.12em\relax}
+
+
+%% Updating the @uclclist.
+%%
+\DeclareTextCommand{\Arm@yechvev}{OT6}{\Armyech\Armvev}
+\expandafter\def\expandafter\@uclclist\expandafter
+ {\@uclclist
+ \armayb\Armayb
+ \armben\Armben
+ \armgim\Armgim
+ \armda\Armda
+ \armyech\Armyech
+ \armza\Armza
+ \arme\Arme
+ \armat\Armat
+ \armto\Armto
+ \armzhe\Armzhe
+ \armini\Armini
+ \armlyun\Armlyun
+ \armkhe\Armkhe
+ \armtsa\Armtsa
+ \armken\Armken
+ \armho\Armho
+ \armdza\Armdza
+ \armghat\Armghat
+ \armtche\Armtche
+ \armmen\Armmen
+ \armhi\Armhi
+ \armnu\Armnu
+ \armsha\Armsha
+ \armvo\Armvo
+ \armcha\Armcha
+ \armpe\Armpe
+ \armje\Armje
+ \armra\Armra
+ \armse\Armse
+ \armvev\Armvev
+ \armtyun\Armtyun
+ \armre\Armre
+ \armtso\Armtso
+ \armvyun\Armvyun
+ \armvovyun\Armvovyun
+ \armpyur\Armpyur
+ \armke\Armke
+ \armew\Arm@yechvev
+ \armo\Armo
+ \armfe\Armfe}%
+
+
+%% That's all, Folks!
+%%
+\endinput
diff --git a/Master/texmf-dist/tex/latex/armenian/ot6enc.dfu b/Master/texmf-dist/tex/latex/armenian/ot6enc.dfu
new file mode 100644
index 00000000000..49abfb42cd2
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/armenian/ot6enc.dfu
@@ -0,0 +1,169 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% This is the `ot6enc.dfu' file (Armenian UTF-8 input encoding definitions).
+%%
+%% This file is a part of the ArmTeX project [2014/04/09 v3.0-beta3]
+%%
+%% ArmTeX is a system for writing in Armenian with plain TeX and/or LaTeX(2e).
+%%
+%% Copyright 1997 - 2013:
+%% Serguei Dachian (Serguei.Dachian_AT_math.univ-bpclermont.fr),
+%% Arnak Dalalyan (arnak.dalalyan_AT_ensae.fr),
+%% Vardan Akopian (vakopian_AT_yahoo.com).
+%%
+%% ArmTeX 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 in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX version
+%% 2005/12/01 or later.
+%%
+%% ArmTeX has the LPPL maintenance status `author-maintained'.
+%%
+%% For more details, installation instructions and the complete list of files
+%% see the provided `readme.txt' file.
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+%% Begining of the code.
+%%
+\ProvidesFile{ot6enc.dfu}
+ [2014/04/09 v3.0-beta3 ot6enc.dfu (Armenian UTF-8 input encoding definitions)]
+
+
+%% Upper-case letters.
+%%
+\DeclareUnicodeCharacter{0531}{\Armayb}% Upper-case A (Ayb) letter.
+\DeclareUnicodeCharacter{0532}{\Armben}% Upper-case B (Ben) letter.
+\DeclareUnicodeCharacter{0533}{\Armgim}% Upper-case G (Gim) letter.
+\DeclareUnicodeCharacter{0534}{\Armda}% Upper-case D (Da) letter.
+\DeclareUnicodeCharacter{0535}{\Armyech}% Upper-case E (Yech) letter.
+\DeclareUnicodeCharacter{0536}{\Armza}% Upper-case Z (Za) letter.
+\DeclareUnicodeCharacter{0537}{\Arme}% Upper-case E' (E) letter.
+\DeclareUnicodeCharacter{0538}{\Armat}% Upper-case U' (At) letter.
+\DeclareUnicodeCharacter{0539}{\Armto}% Upper-case TH (To) letter.
+\DeclareUnicodeCharacter{053A}{\Armzhe}% Upper-case G' (Zhe) letter.
+\DeclareUnicodeCharacter{053B}{\Armini}% Upper-case I (Ini) letter.
+\DeclareUnicodeCharacter{053C}{\Armlyun}% Upper-case L (Lyun) letter.
+\DeclareUnicodeCharacter{053D}{\Armkhe}% Upper-case X (Khe) letter.
+\DeclareUnicodeCharacter{053E}{\Armtsa}% Upper-case C' (Tsa) letter.
+\DeclareUnicodeCharacter{053F}{\Armken}% Upper-case K (Ken) letter.
+\DeclareUnicodeCharacter{0540}{\Armho}% Upper-case H (Ho) letter.
+\DeclareUnicodeCharacter{0541}{\Armdza}% Upper-case DZ (Dza) letter.
+\DeclareUnicodeCharacter{0542}{\Armghat}% Upper-case GH (Ghat) letter.
+\DeclareUnicodeCharacter{0543}{\Armtche}% Upper-case J' (Tche) letter.
+\DeclareUnicodeCharacter{0544}{\Armmen}% Upper-case M (Men) letter.
+\DeclareUnicodeCharacter{0545}{\Armhi}% Upper-case Y (Hi) letter.
+\DeclareUnicodeCharacter{0546}{\Armnu}% Upper-case N (Nu) letter.
+\DeclareUnicodeCharacter{0547}{\Armsha}% Upper-case SH (Sha) letter.
+\DeclareUnicodeCharacter{0548}{\Armvo}% Upper-case O (Vo) letter.
+\DeclareUnicodeCharacter{0549}{\Armcha}% Upper-case CH (Cha) letter.
+\DeclareUnicodeCharacter{054A}{\Armpe}% Upper-case P (Pe) letter.
+\DeclareUnicodeCharacter{054B}{\Armje}% Upper-case J (Je) letter.
+\DeclareUnicodeCharacter{054C}{\Armra}% Upper-case R' (Ra) letter.
+\DeclareUnicodeCharacter{054D}{\Armse}% Upper-case S (Se) letter.
+\DeclareUnicodeCharacter{054E}{\Armvev}% Upper-case V (Vev) letter.
+\DeclareUnicodeCharacter{054F}{\Armtyun}% Upper-case T (Tyun) letter.
+\DeclareUnicodeCharacter{0550}{\Armre}% Upper-case R (Re) letter.
+\DeclareUnicodeCharacter{0551}{\Armtso}% Upper-case C (Tso) letter.
+\DeclareUnicodeCharacter{0552}{\Armvyun}% Upper-case W (Vyun) letter.
+\DeclareUnicodeCharacter{0553}{\Armpyur}% Upper-case PH (Pyur) letter.
+\DeclareUnicodeCharacter{0554}{\Armke}% Upper-case Q (Ke) letter.
+\DeclareUnicodeCharacter{0555}{\Armo}% Upper-case O' (O) letter.
+\DeclareUnicodeCharacter{0556}{\Armfe}% Upper-case F (Fe) letter.
+
+
+%% Lower-case letters.
+%%
+\DeclareUnicodeCharacter{0561}{\armayb}% Lower-case a (ayb) letter.
+\DeclareUnicodeCharacter{0562}{\armben}% Lower-case b (ben) letter.
+\DeclareUnicodeCharacter{0563}{\armgim}% Lower-case g (gim) letter.
+\DeclareUnicodeCharacter{0564}{\armda}% Lower-case d (da) letter.
+\DeclareUnicodeCharacter{0565}{\armyech}% Lower-case e (eych) letter.
+\DeclareUnicodeCharacter{0566}{\armza}% Lower-case z (za) letter.
+\DeclareUnicodeCharacter{0567}{\arme}% Lower-case e' (e) letter.
+\DeclareUnicodeCharacter{0568}{\armat}% Lower-case u' (at) letter.
+\DeclareUnicodeCharacter{0569}{\armto}% Lower-case th (to) letter.
+\DeclareUnicodeCharacter{056A}{\armzhe}% Lower-case g' (zhe) letter.
+\DeclareUnicodeCharacter{056B}{\armini}% Lower-case i (ini) letter.
+\DeclareUnicodeCharacter{056C}{\armlyun}% Lower-case l (lyun) letter.
+\DeclareUnicodeCharacter{056D}{\armkhe}% Lower-case x (khe) letter.
+\DeclareUnicodeCharacter{056E}{\armtsa}% Lower-case c' (tsa) letter.
+\DeclareUnicodeCharacter{056F}{\armken}% Lower-case k (ken) letter.
+\DeclareUnicodeCharacter{0570}{\armho}% Lower-case h (ho) letter.
+\DeclareUnicodeCharacter{0571}{\armdza}% Lower-case dz (dza) letter.
+\DeclareUnicodeCharacter{0572}{\armghat}% Lower-case gh (ghat) letter.
+\DeclareUnicodeCharacter{0573}{\armtche}% Lower-case j' (tche) letter.
+\DeclareUnicodeCharacter{0574}{\armmen}% Lower-case m (men) letter.
+\DeclareUnicodeCharacter{0575}{\armhi}% Lower-case y (hi) letter.
+\DeclareUnicodeCharacter{0576}{\armnu}% Lower-case n (nu) letter.
+\DeclareUnicodeCharacter{0577}{\armsha}% Lower-case sh (sha) letter.
+\DeclareUnicodeCharacter{0578}{\armvo}% Lower-case o (vo) letter.
+\DeclareUnicodeCharacter{0579}{\armcha}% Lower-case ch (cha) letter.
+\DeclareUnicodeCharacter{057A}{\armpe}% Lower-case p (pe) letter.
+\DeclareUnicodeCharacter{057B}{\armje}% Lower-case j (je) letter.
+\DeclareUnicodeCharacter{057C}{\armra}% Lower-case r' (ra) letter.
+\DeclareUnicodeCharacter{057D}{\armse}% Lower-case s (se) letter.
+\DeclareUnicodeCharacter{057E}{\armvev}% Lower-case v (vev) letter.
+\DeclareUnicodeCharacter{057F}{\armtyun}% Lower-case t (tyun) letter.
+\DeclareUnicodeCharacter{0580}{\armre}% Lower-case r (re) letter.
+\DeclareUnicodeCharacter{0581}{\armtso}% Lower-case c (tso) letter.
+\DeclareUnicodeCharacter{0582}{\armvyun}% Lower-case w (vyun) letter.
+\DeclareUnicodeCharacter{0583}{\armpyur}% Lower-case ph (pyur) letter.
+\DeclareUnicodeCharacter{0584}{\armke}% Lower-case q (ke) letter.
+\DeclareUnicodeCharacter{0585}{\armo}% Lower-case o' (o) letter.
+\DeclareUnicodeCharacter{0586}{\armfe}% Lower-case f (fe) letter.
+
+
+%% Miscelanious symbols.
+%%
+% Commenting the following line, since there is no "armeternity" in unicode.
+% \DeclareUnicodeCharacter{?}{\armeternity}% Eternity (armeternity) symbol.
+%
+% Commenting the following three lines, since these are ASCII characters.
+% \DeclareUnicodeCharacter{0029}{\armparenright}% Aj phakagic' (armparenright) symbol.
+% \DeclareUnicodeCharacter{0028}{\armparenleft}% Dzax phakagic' (armparenleft) symbol.
+% \DeclareUnicodeCharacter{002C}{\armcomma}% Storaket (armcoma) symbol.
+%
+\DeclareUnicodeCharacter{0589}{\armfullstop}% Verjaket (armfullstop) symbol.
+\DeclareUnicodeCharacter{055D}{\armsep}% Buth (armsep) symbol.
+\DeclareUnicodeCharacter{058A}{\armyentamna}% Toghadardzi nshan (armyentamna) symbol.
+\DeclareUnicodeCharacter{055C}{\armexclam}% Bacakanchakan nshan (armexclam) symbol.
+\DeclareUnicodeCharacter{055B}{\armaccent}% Shesht (armaccent) symbol.
+\DeclareUnicodeCharacter{055E}{\armquestion}% Harcakan nshan (armquestion) symbol.
+\DeclareUnicodeCharacter{055A}{\armapostrophe}% Apatharc (armapostrophe) symbol.
+\DeclareUnicodeCharacter{0587}{\armew}% Ligature ev (armew) symbol.
+\DeclareUnicodeCharacter{055F}{\armabbrev}% Patiw (armabbrev) symbol.
+\DeclareUnicodeCharacter{0559}{\armnum}% Numeric mark (armnum) symbol.
+\DeclareUnicodeCharacter{058F}{\armdram}% Dram sign (armdram) symbol.
+%
+% The remaining is moved to BeginDocument, to avoid possible clashes.
+%
+\AtBeginDocument{%
+\DeclareUnicodeCharacter{00A7}{\armsection}% Section sign (armsection) symbol.
+\DeclareUnicodeCharacter{00BB}{\armquotright}% Aj chakert (armquotright) symbol.
+\DeclareUnicodeCharacter{00AB}{\armquotleft}% Dzax chakert(armquotleft) symbol.
+\DeclareUnicodeCharacter{2015}{\armemdash}% Anjatman gic' (armemdash) symbol.
+% Coding "armemdash" also as U+2014 (except as U+2015) as an alternative.
+\DeclareUnicodeCharacter{2014}{\armemdash}% Anjatman gic' (armemdash) symbol.
+\DeclareUnicodeCharacter{2024}{\armdot}% Mijaket (armdot) symbol.
+\DeclareUnicodeCharacter{2010}{\armendash}% Miuthyan gc'ik (armendash) symbol.
+\DeclareUnicodeCharacter{2026}{\armellipsis}% Kaxman keter (armellipsis) symbol.
+}
+
+
+%% Ligatures.
+%%
+\DeclareUnicodeCharacter{FB13}{\armmen\armnu}% Lower-case men + nu ligature.
+\DeclareUnicodeCharacter{FB14}{\armmen\armyech}% Lower-case men + yech ligature.
+\DeclareUnicodeCharacter{FB15}{\armmen\armini}% Lower-case men + ini ligature.
+\DeclareUnicodeCharacter{FB16}{\armvev\armnu}% Lower-case vev + nu ligature.
+\DeclareUnicodeCharacter{FB17}{\armmen\armkhe}% Lower-case men + khe ligature.
+
+
+%% That's all, Folks!
+%%
+\endinput