summaryrefslogtreecommitdiff
path: root/fonts/tolkienfonts/tex/latex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /fonts/tolkienfonts/tex/latex
Initial commit
Diffstat (limited to 'fonts/tolkienfonts/tex/latex')
-rw-r--r--fonts/tolkienfonts/tex/latex/boustr.sty104
-rw-r--r--fonts/tolkienfonts/tex/latex/fd/cirth/t1cirthedm.fd17
-rw-r--r--fonts/tolkienfonts/tex/latex/fd/cirth/t1cirtheee.fd17
-rw-r--r--fonts/tolkienfonts/tex/latex/fd/cirth/t1cirtheeh.fd17
-rw-r--r--fonts/tolkienfonts/tex/latex/fd/cirth/t1cirtheqe.fd17
-rw-r--r--fonts/tolkienfonts/tex/latex/fd/cirth/t1cirthesd.fd17
-rw-r--r--fonts/tolkienfonts/tex/latex/fd/cirth/t1cirthexx.fd17
-rw-r--r--fonts/tolkienfonts/tex/latex/fd/cirth/t1cirthsdm.fd17
-rw-r--r--fonts/tolkienfonts/tex/latex/fd/cirth/t1cirthsee.fd17
-rw-r--r--fonts/tolkienfonts/tex/latex/fd/cirth/t1cirthseh.fd17
-rw-r--r--fonts/tolkienfonts/tex/latex/fd/cirth/t1cirthsqe.fd17
-rw-r--r--fonts/tolkienfonts/tex/latex/fd/cirth/t1cirthssd.fd17
-rw-r--r--fonts/tolkienfonts/tex/latex/fd/cirth/t1cirthsxx.fd17
-rw-r--r--fonts/tolkienfonts/tex/latex/fd/tengwar/t1tengwara.fd17
-rw-r--r--fonts/tolkienfonts/tex/latex/fd/tengwar/t1tengwaraa.fd17
-rw-r--r--fonts/tolkienfonts/tex/latex/fd/tengwar/t1tengwaraem.fd17
-rw-r--r--fonts/tolkienfonts/tex/latex/fd/tengwar/t1tengwaraeo.fd17
-rw-r--r--fonts/tolkienfonts/tex/latex/fd/tengwar/t1tengwaraep.fd17
-rw-r--r--fonts/tolkienfonts/tex/latex/fd/tengwar/t1tengwaraet.fd17
-rw-r--r--fonts/tolkienfonts/tex/latex/fd/tengwar/t1tengwaraqa.fd17
-rw-r--r--fonts/tolkienfonts/tex/latex/fd/tengwar/t1tengwaraqe.fd17
-rw-r--r--fonts/tolkienfonts/tex/latex/fd/tengwar/t1tengwaraqg.fd17
-rw-r--r--fonts/tolkienfonts/tex/latex/fd/tengwar/t1tengwaraqq.fd17
-rw-r--r--fonts/tolkienfonts/tex/latex/fd/tengwar/t1tengwaraqr.fd17
-rw-r--r--fonts/tolkienfonts/tex/latex/fd/tengwar/t1tengwarasa.fd17
-rw-r--r--fonts/tolkienfonts/tex/latex/fd/tengwar/t1tengwarasb.fd17
-rw-r--r--fonts/tolkienfonts/tex/latex/fd/tengwar/t1tengwarasg.fd17
-rw-r--r--fonts/tolkienfonts/tex/latex/fd/valmar/t1saratib.fd17
-rw-r--r--fonts/tolkienfonts/tex/latex/fd/valmar/t1saratibqa.fd17
-rw-r--r--fonts/tolkienfonts/tex/latex/fd/valmar/t1saratibqq.fd17
-rw-r--r--fonts/tolkienfonts/tex/latex/fd/valmar/t1saratie.fd17
-rw-r--r--fonts/tolkienfonts/tex/latex/fd/valmar/t1saratieqa.fd17
-rw-r--r--fonts/tolkienfonts/tex/latex/fd/valmar/t1saratieqq.fd17
-rw-r--r--fonts/tolkienfonts/tex/latex/fd/valmar/t1valmaric.fd17
-rw-r--r--fonts/tolkienfonts/tex/latex/fd/valmar/t1valmariceqa.fd17
-rw-r--r--fonts/tolkienfonts/tex/latex/fd/valmar/t1valmariceqq.fd17
-rw-r--r--fonts/tolkienfonts/tex/latex/tolkienfonts.sty500
37 files changed, 1199 insertions, 0 deletions
diff --git a/fonts/tolkienfonts/tex/latex/boustr.sty b/fonts/tolkienfonts/tex/latex/boustr.sty
new file mode 100644
index 0000000000..c1bf8094b4
--- /dev/null
+++ b/fonts/tolkienfonts/tex/latex/boustr.sty
@@ -0,0 +1,104 @@
+%% boustr.sty
+%% Part of the tolkienfonts package
+%% Copyright 2010 Ariel Barton
+%
+% 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 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.
+%
+% This work has the LPPL maintenance status `maintained'.
+%
+% The Current Maintainer of this work is Ariel Barton.
+%
+% This work consists of all the files listed in Appendix F of the file
+% `tolkienfontsdoc.pdf'.
+%
+% Version: 2
+
+\ProvidesPackage{boustr}[2010/08/29]
+
+\RequirePackage{graphicx}
+
+\def\zeroToSp@boust{\parskip=1sp plus 1pt
+ \parfillskip = 1sp plus 1fil
+ %\advance\leftskip by 1sp
+ %\advance\rightskip by 1sp
+ \def\vfil{\vskip 1sp plus 1fil}
+ \def\vfill{\vskip 1sp plus 1fill}
+ \abovedisplayshortskip = 1sp plus 3pt
+ \postdisplaypenalty = 1
+ \interlinepenalty=1}
+
+\def\oddboxstep@boust{%
+ \ifodd\lines@boust\global\setbox1=\vbox{\box0\unvbox1}
+ \else\global\setbox1=\vtop{\noindent\reflectbox{\box0}\unvbox1}\fi
+ \global\advance\lines@boust 1
+ }
+\def\evenboxstep@boust{%
+ \ifodd\lines@boust\global\setbox1=\vbox{\noindent\reflectbox{\box0}\unvbox1}
+ \else\global\setbox1=\vtop{\box0\unvbox1}\fi
+ \global\advance\lines@boust 1
+ }
+\def\allboxstep@boust{%
+ \global\setbox1=\vtop{\noindent\reflectbox{\box0}\unvbox1}
+ }
+
+\def\fliplines@boust#1{%
+ \global\lines@boust=0%
+ \global\setbox1 = \vbox{}%
+ \loop\Anyleft@boustfalse
+ \ifdim\lastskip=0pt \ifdim\lastkern=0pt \ifnum\lastpenalty=0
+ \global\setbox0=\lastbox \ifvoid0
+ \else\Anyleft@bousttrue \csname #1boxstep@boust\endcsname \fi
+ \else\Anyleft@bousttrue
+ \pen@boust=\lastpenalty
+ \global\setbox1=\vtop{\penalty\pen@boust\unvbox1}\unpenalty\fi
+ \else\Anyleft@bousttrue
+ \dimen0=\lastkern
+ \global\setbox1=\vtop{\kern\dimen0\unvbox1}\unkern\fi
+ \else\Anyleft@bousttrue
+ \skip0=\lastskip
+ \global\setbox1=\vtop{\vskip\skip0\unvbox1}\unskip\fi
+ \ifAnyleft@boust\repeat}
+
+\newcount\lines@boust
+\newcount\pen@boust
+\newif\ifAnyleft@boust
+\newif\ifboustright \boustrighttrue
+\newif\ifNoindent@boust
+
+\newenvironment{rtl}{\ifvmode\Noindent@boustfalse\else\Noindent@bousttrue\fi
+\par\setbox4=\vtop\bgroup\zeroToSp@boust\ifNoindent@boust\noindent\fi}
+{\egroup
+\dimen0 = -\ht4 \ifdim\prevdepth>0pt\advance\dimen0 -\prevdepth\fi
+\advance\dimen0 \baselineskip
+\ifdim\dimen0 <\lineskiplimit \dimen0=\lineskip \fi
+\ifdim\prevdepth>0pt\vskip\dimen0\fi
+\ifNoindent@boust\else\vskip\parskip\fi
+\setbox3 = \vbox{\unvcopy4\fliplines@boust{all}}
+\ifvoid3\else\unvbox3\fi
+\noindent\unvbox1}
+
+\newenvironment{boustrophedon}{\ifvmode\Noindent@boustfalse\else\Noindent@bousttrue\fi
+\par\setbox4=\vtop\bgroup\zeroToSp@boust\ifNoindent@boust\noindent\fi}
+{\egroup
+\dimen0=-\ht4\advance\dimen0-\prevdepth\advance\dimen0\baselineskip
+\ifdim\dimen0<\lineskiplimit\dimen0=\lineskip\fi
+\ifdim\prevdepth>0pt\vskip\dimen0\fi\ifNoindent@boust\else\vskip\parskip\fi
+\setbox3=\vbox{\unvcopy4\fliplines@boust{odd}}
+\ifboustright
+ \ifodd\lines@boust\else\setbox3=\vbox{\unvcopy4\fliplines@boust{even}}\fi
+\else
+ \ifodd\lines@boust\setbox3=\vbox{\unvcopy4\fliplines@boust{even}}\fi
+\fi
+\ifvoid3\else\unvbox3\fi\unvbox1\noindent\ignorespacesafterend}
+
+\newenvironment{sidewaysflip}[1]
+{\ifvmode\Noindent@boustfalse\else\Noindent@bousttrue\fi
+\par\setbox4=\vtop\bgroup\hsize=#1\zeroToSp@boust\ifNoindent@boust\noindent\fi}
+{\egroup\noindent\rotatebox[origin=c]{90}{\reflectbox{\box4}}\par\noindent\ignorespacesafterend}
+% May 2010: Added the \noindent \ No newline at end of file
diff --git a/fonts/tolkienfonts/tex/latex/fd/cirth/t1cirthedm.fd b/fonts/tolkienfonts/tex/latex/fd/cirth/t1cirthedm.fd
new file mode 100644
index 0000000000..1dd692cbec
--- /dev/null
+++ b/fonts/tolkienfonts/tex/latex/fd/cirth/t1cirthedm.fd
@@ -0,0 +1,17 @@
+%Filename: t1cirthedm.fd
+%Created by: tex tolkieninst
+%Created using fontinst v1.933
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{t1cirthedm.fd}
+ [2010/08/29 Fontinst v1.933 font definitions for T1/cirthedm.]
+
+\DeclareFontFamily{T1}{cirthedm}{}
+
+\DeclareFontShape{T1}{cirthedm}{m}{n}{
+ <-> CirthEDM
+}{}
+
+
+\endinput
diff --git a/fonts/tolkienfonts/tex/latex/fd/cirth/t1cirtheee.fd b/fonts/tolkienfonts/tex/latex/fd/cirth/t1cirtheee.fd
new file mode 100644
index 0000000000..711336a6b4
--- /dev/null
+++ b/fonts/tolkienfonts/tex/latex/fd/cirth/t1cirtheee.fd
@@ -0,0 +1,17 @@
+%Filename: t1cirtheee.fd
+%Created by: tex tolkieninst
+%Created using fontinst v1.933
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{t1cirtheee.fd}
+ [2010/08/29 Fontinst v1.933 font definitions for T1/cirtheee.]
+
+\DeclareFontFamily{T1}{cirtheee}{}
+
+\DeclareFontShape{T1}{cirtheee}{m}{n}{
+ <-> CirthEEE
+}{}
+
+
+\endinput
diff --git a/fonts/tolkienfonts/tex/latex/fd/cirth/t1cirtheeh.fd b/fonts/tolkienfonts/tex/latex/fd/cirth/t1cirtheeh.fd
new file mode 100644
index 0000000000..c042998aea
--- /dev/null
+++ b/fonts/tolkienfonts/tex/latex/fd/cirth/t1cirtheeh.fd
@@ -0,0 +1,17 @@
+%Filename: t1cirtheeh.fd
+%Created by: tex tolkieninst
+%Created using fontinst v1.933
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{t1cirtheeh.fd}
+ [2010/08/29 Fontinst v1.933 font definitions for T1/cirtheeh.]
+
+\DeclareFontFamily{T1}{cirtheeh}{}
+
+\DeclareFontShape{T1}{cirtheeh}{m}{n}{
+ <-> CirthEEH
+}{}
+
+
+\endinput
diff --git a/fonts/tolkienfonts/tex/latex/fd/cirth/t1cirtheqe.fd b/fonts/tolkienfonts/tex/latex/fd/cirth/t1cirtheqe.fd
new file mode 100644
index 0000000000..fbf1005028
--- /dev/null
+++ b/fonts/tolkienfonts/tex/latex/fd/cirth/t1cirtheqe.fd
@@ -0,0 +1,17 @@
+%Filename: t1cirtheqe.fd
+%Created by: tex tolkieninst
+%Created using fontinst v1.933
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{t1cirtheqe.fd}
+ [2010/08/29 Fontinst v1.933 font definitions for T1/cirtheqe.]
+
+\DeclareFontFamily{T1}{cirtheqe}{}
+
+\DeclareFontShape{T1}{cirtheqe}{m}{n}{
+ <-> CirthEQE
+}{}
+
+
+\endinput
diff --git a/fonts/tolkienfonts/tex/latex/fd/cirth/t1cirthesd.fd b/fonts/tolkienfonts/tex/latex/fd/cirth/t1cirthesd.fd
new file mode 100644
index 0000000000..e0866c45fb
--- /dev/null
+++ b/fonts/tolkienfonts/tex/latex/fd/cirth/t1cirthesd.fd
@@ -0,0 +1,17 @@
+%Filename: t1cirthesd.fd
+%Created by: tex tolkieninst
+%Created using fontinst v1.933
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{t1cirthesd.fd}
+ [2010/08/29 Fontinst v1.933 font definitions for T1/cirthesd.]
+
+\DeclareFontFamily{T1}{cirthesd}{}
+
+\DeclareFontShape{T1}{cirthesd}{m}{n}{
+ <-> CirthESD
+}{}
+
+
+\endinput
diff --git a/fonts/tolkienfonts/tex/latex/fd/cirth/t1cirthexx.fd b/fonts/tolkienfonts/tex/latex/fd/cirth/t1cirthexx.fd
new file mode 100644
index 0000000000..51b7f90b83
--- /dev/null
+++ b/fonts/tolkienfonts/tex/latex/fd/cirth/t1cirthexx.fd
@@ -0,0 +1,17 @@
+%Filename: t1cirthexx.fd
+%Created by: tex tolkieninst
+%Created using fontinst v1.933
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{t1cirthexx.fd}
+ [2010/08/29 Fontinst v1.933 font definitions for T1/cirthexx.]
+
+\DeclareFontFamily{T1}{cirthexx}{}
+
+\DeclareFontShape{T1}{cirthexx}{m}{n}{
+ <-> CirthEXX
+}{}
+
+
+\endinput
diff --git a/fonts/tolkienfonts/tex/latex/fd/cirth/t1cirthsdm.fd b/fonts/tolkienfonts/tex/latex/fd/cirth/t1cirthsdm.fd
new file mode 100644
index 0000000000..dc806103b9
--- /dev/null
+++ b/fonts/tolkienfonts/tex/latex/fd/cirth/t1cirthsdm.fd
@@ -0,0 +1,17 @@
+%Filename: t1cirthsdm.fd
+%Created by: tex tolkieninst
+%Created using fontinst v1.933
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{t1cirthsdm.fd}
+ [2010/08/29 Fontinst v1.933 font definitions for T1/cirthsdm.]
+
+\DeclareFontFamily{T1}{cirthsdm}{}
+
+\DeclareFontShape{T1}{cirthsdm}{m}{n}{
+ <-> CirthSDM
+}{}
+
+
+\endinput
diff --git a/fonts/tolkienfonts/tex/latex/fd/cirth/t1cirthsee.fd b/fonts/tolkienfonts/tex/latex/fd/cirth/t1cirthsee.fd
new file mode 100644
index 0000000000..fb3aa2d43f
--- /dev/null
+++ b/fonts/tolkienfonts/tex/latex/fd/cirth/t1cirthsee.fd
@@ -0,0 +1,17 @@
+%Filename: t1cirthsee.fd
+%Created by: tex tolkieninst
+%Created using fontinst v1.933
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{t1cirthsee.fd}
+ [2010/08/29 Fontinst v1.933 font definitions for T1/cirthsee.]
+
+\DeclareFontFamily{T1}{cirthsee}{}
+
+\DeclareFontShape{T1}{cirthsee}{m}{n}{
+ <-> CirthSEE
+}{}
+
+
+\endinput
diff --git a/fonts/tolkienfonts/tex/latex/fd/cirth/t1cirthseh.fd b/fonts/tolkienfonts/tex/latex/fd/cirth/t1cirthseh.fd
new file mode 100644
index 0000000000..2b8b670b58
--- /dev/null
+++ b/fonts/tolkienfonts/tex/latex/fd/cirth/t1cirthseh.fd
@@ -0,0 +1,17 @@
+%Filename: t1cirthseh.fd
+%Created by: tex tolkieninst
+%Created using fontinst v1.933
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{t1cirthseh.fd}
+ [2010/08/29 Fontinst v1.933 font definitions for T1/cirthseh.]
+
+\DeclareFontFamily{T1}{cirthseh}{}
+
+\DeclareFontShape{T1}{cirthseh}{m}{n}{
+ <-> CirthSEH
+}{}
+
+
+\endinput
diff --git a/fonts/tolkienfonts/tex/latex/fd/cirth/t1cirthsqe.fd b/fonts/tolkienfonts/tex/latex/fd/cirth/t1cirthsqe.fd
new file mode 100644
index 0000000000..384da49aac
--- /dev/null
+++ b/fonts/tolkienfonts/tex/latex/fd/cirth/t1cirthsqe.fd
@@ -0,0 +1,17 @@
+%Filename: t1cirthsqe.fd
+%Created by: tex tolkieninst
+%Created using fontinst v1.933
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{t1cirthsqe.fd}
+ [2010/08/29 Fontinst v1.933 font definitions for T1/cirthsqe.]
+
+\DeclareFontFamily{T1}{cirthsqe}{}
+
+\DeclareFontShape{T1}{cirthsqe}{m}{n}{
+ <-> CirthSQE
+}{}
+
+
+\endinput
diff --git a/fonts/tolkienfonts/tex/latex/fd/cirth/t1cirthssd.fd b/fonts/tolkienfonts/tex/latex/fd/cirth/t1cirthssd.fd
new file mode 100644
index 0000000000..e1eba38f4a
--- /dev/null
+++ b/fonts/tolkienfonts/tex/latex/fd/cirth/t1cirthssd.fd
@@ -0,0 +1,17 @@
+%Filename: t1cirthssd.fd
+%Created by: tex tolkieninst
+%Created using fontinst v1.933
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{t1cirthssd.fd}
+ [2010/08/29 Fontinst v1.933 font definitions for T1/cirthssd.]
+
+\DeclareFontFamily{T1}{cirthssd}{}
+
+\DeclareFontShape{T1}{cirthssd}{m}{n}{
+ <-> CirthSSD
+}{}
+
+
+\endinput
diff --git a/fonts/tolkienfonts/tex/latex/fd/cirth/t1cirthsxx.fd b/fonts/tolkienfonts/tex/latex/fd/cirth/t1cirthsxx.fd
new file mode 100644
index 0000000000..5e72d90d26
--- /dev/null
+++ b/fonts/tolkienfonts/tex/latex/fd/cirth/t1cirthsxx.fd
@@ -0,0 +1,17 @@
+%Filename: t1cirthsxx.fd
+%Created by: tex tolkieninst
+%Created using fontinst v1.933
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{t1cirthsxx.fd}
+ [2010/08/29 Fontinst v1.933 font definitions for T1/cirthsxx.]
+
+\DeclareFontFamily{T1}{cirthsxx}{}
+
+\DeclareFontShape{T1}{cirthsxx}{m}{n}{
+ <-> CirthSXX
+}{}
+
+
+\endinput
diff --git a/fonts/tolkienfonts/tex/latex/fd/tengwar/t1tengwara.fd b/fonts/tolkienfonts/tex/latex/fd/tengwar/t1tengwara.fd
new file mode 100644
index 0000000000..8fca9f9b78
--- /dev/null
+++ b/fonts/tolkienfonts/tex/latex/fd/tengwar/t1tengwara.fd
@@ -0,0 +1,17 @@
+%Filename: t1tengwara.fd
+%Created by: tex tolkieninst
+%Created using fontinst v1.933
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{t1tengwara.fd}
+ [2010/08/29 Fontinst v1.933 font definitions for T1/tengwara.]
+
+\DeclareFontFamily{T1}{tengwara}{}
+
+\DeclareFontShape{T1}{tengwara}{m}{n}{
+ <-> TengwarA
+}{}
+
+
+\endinput
diff --git a/fonts/tolkienfonts/tex/latex/fd/tengwar/t1tengwaraa.fd b/fonts/tolkienfonts/tex/latex/fd/tengwar/t1tengwaraa.fd
new file mode 100644
index 0000000000..8a3250e4b2
--- /dev/null
+++ b/fonts/tolkienfonts/tex/latex/fd/tengwar/t1tengwaraa.fd
@@ -0,0 +1,17 @@
+%Filename: t1tengwaraa.fd
+%Created by: tex tolkieninst
+%Created using fontinst v1.933
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{t1tengwaraa.fd}
+ [2010/08/29 Fontinst v1.933 font definitions for T1/tengwaraa.]
+
+\DeclareFontFamily{T1}{tengwaraa}{}
+
+\DeclareFontShape{T1}{tengwaraa}{m}{n}{
+ <-> TengwarAA
+}{}
+
+
+\endinput
diff --git a/fonts/tolkienfonts/tex/latex/fd/tengwar/t1tengwaraem.fd b/fonts/tolkienfonts/tex/latex/fd/tengwar/t1tengwaraem.fd
new file mode 100644
index 0000000000..677ec34be4
--- /dev/null
+++ b/fonts/tolkienfonts/tex/latex/fd/tengwar/t1tengwaraem.fd
@@ -0,0 +1,17 @@
+%Filename: t1tengwaraem.fd
+%Created by: tex tolkieninst
+%Created using fontinst v1.933
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{t1tengwaraem.fd}
+ [2010/08/29 Fontinst v1.933 font definitions for T1/tengwaraem.]
+
+\DeclareFontFamily{T1}{tengwaraem}{}
+
+\DeclareFontShape{T1}{tengwaraem}{m}{n}{
+ <-> TengwarAEM
+}{}
+
+
+\endinput
diff --git a/fonts/tolkienfonts/tex/latex/fd/tengwar/t1tengwaraeo.fd b/fonts/tolkienfonts/tex/latex/fd/tengwar/t1tengwaraeo.fd
new file mode 100644
index 0000000000..173efd5c52
--- /dev/null
+++ b/fonts/tolkienfonts/tex/latex/fd/tengwar/t1tengwaraeo.fd
@@ -0,0 +1,17 @@
+%Filename: t1tengwaraeo.fd
+%Created by: tex tolkieninst
+%Created using fontinst v1.933
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{t1tengwaraeo.fd}
+ [2010/08/29 Fontinst v1.933 font definitions for T1/tengwaraeo.]
+
+\DeclareFontFamily{T1}{tengwaraeo}{}
+
+\DeclareFontShape{T1}{tengwaraeo}{m}{n}{
+ <-> TengwarAEO
+}{}
+
+
+\endinput
diff --git a/fonts/tolkienfonts/tex/latex/fd/tengwar/t1tengwaraep.fd b/fonts/tolkienfonts/tex/latex/fd/tengwar/t1tengwaraep.fd
new file mode 100644
index 0000000000..7008742041
--- /dev/null
+++ b/fonts/tolkienfonts/tex/latex/fd/tengwar/t1tengwaraep.fd
@@ -0,0 +1,17 @@
+%Filename: t1tengwaraep.fd
+%Created by: tex tolkieninst
+%Created using fontinst v1.933
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{t1tengwaraep.fd}
+ [2010/08/29 Fontinst v1.933 font definitions for T1/tengwaraep.]
+
+\DeclareFontFamily{T1}{tengwaraep}{}
+
+\DeclareFontShape{T1}{tengwaraep}{m}{n}{
+ <-> TengwarAEP
+}{}
+
+
+\endinput
diff --git a/fonts/tolkienfonts/tex/latex/fd/tengwar/t1tengwaraet.fd b/fonts/tolkienfonts/tex/latex/fd/tengwar/t1tengwaraet.fd
new file mode 100644
index 0000000000..2209a27ce2
--- /dev/null
+++ b/fonts/tolkienfonts/tex/latex/fd/tengwar/t1tengwaraet.fd
@@ -0,0 +1,17 @@
+%Filename: t1tengwaraet.fd
+%Created by: tex tolkieninst
+%Created using fontinst v1.933
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{t1tengwaraet.fd}
+ [2010/08/29 Fontinst v1.933 font definitions for T1/tengwaraet.]
+
+\DeclareFontFamily{T1}{tengwaraet}{}
+
+\DeclareFontShape{T1}{tengwaraet}{m}{n}{
+ <-> TengwarAET
+}{}
+
+
+\endinput
diff --git a/fonts/tolkienfonts/tex/latex/fd/tengwar/t1tengwaraqa.fd b/fonts/tolkienfonts/tex/latex/fd/tengwar/t1tengwaraqa.fd
new file mode 100644
index 0000000000..31869dc0ef
--- /dev/null
+++ b/fonts/tolkienfonts/tex/latex/fd/tengwar/t1tengwaraqa.fd
@@ -0,0 +1,17 @@
+%Filename: t1tengwaraqa.fd
+%Created by: tex tolkieninst
+%Created using fontinst v1.933
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{t1tengwaraqa.fd}
+ [2010/08/29 Fontinst v1.933 font definitions for T1/tengwaraqa.]
+
+\DeclareFontFamily{T1}{tengwaraqa}{}
+
+\DeclareFontShape{T1}{tengwaraqa}{m}{n}{
+ <-> TengwarAQA
+}{}
+
+
+\endinput
diff --git a/fonts/tolkienfonts/tex/latex/fd/tengwar/t1tengwaraqe.fd b/fonts/tolkienfonts/tex/latex/fd/tengwar/t1tengwaraqe.fd
new file mode 100644
index 0000000000..dc98f1cdb7
--- /dev/null
+++ b/fonts/tolkienfonts/tex/latex/fd/tengwar/t1tengwaraqe.fd
@@ -0,0 +1,17 @@
+%Filename: t1tengwaraqe.fd
+%Created by: tex tolkieninst
+%Created using fontinst v1.929
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{t1tengwaraqe.fd}
+ [2010/05/30 Fontinst v1.929 font definitions for T1/tengwaraqe.]
+
+\DeclareFontFamily{T1}{tengwaraqe}{}
+
+\DeclareFontShape{T1}{tengwaraqe}{m}{n}{
+ <-> TengwarAQE
+}{}
+
+
+\endinput
diff --git a/fonts/tolkienfonts/tex/latex/fd/tengwar/t1tengwaraqg.fd b/fonts/tolkienfonts/tex/latex/fd/tengwar/t1tengwaraqg.fd
new file mode 100644
index 0000000000..b6a0167d21
--- /dev/null
+++ b/fonts/tolkienfonts/tex/latex/fd/tengwar/t1tengwaraqg.fd
@@ -0,0 +1,17 @@
+%Filename: t1tengwaraqg.fd
+%Created by: tex tolkieninst
+%Created using fontinst v1.933
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{t1tengwaraqg.fd}
+ [2010/08/29 Fontinst v1.933 font definitions for T1/tengwaraqg.]
+
+\DeclareFontFamily{T1}{tengwaraqg}{}
+
+\DeclareFontShape{T1}{tengwaraqg}{m}{n}{
+ <-> TengwarAQG
+}{}
+
+
+\endinput
diff --git a/fonts/tolkienfonts/tex/latex/fd/tengwar/t1tengwaraqq.fd b/fonts/tolkienfonts/tex/latex/fd/tengwar/t1tengwaraqq.fd
new file mode 100644
index 0000000000..015e56b279
--- /dev/null
+++ b/fonts/tolkienfonts/tex/latex/fd/tengwar/t1tengwaraqq.fd
@@ -0,0 +1,17 @@
+%Filename: t1tengwaraqq.fd
+%Created by: tex tolkieninst
+%Created using fontinst v1.933
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{t1tengwaraqq.fd}
+ [2010/08/29 Fontinst v1.933 font definitions for T1/tengwaraqq.]
+
+\DeclareFontFamily{T1}{tengwaraqq}{}
+
+\DeclareFontShape{T1}{tengwaraqq}{m}{n}{
+ <-> TengwarAQQ
+}{}
+
+
+\endinput
diff --git a/fonts/tolkienfonts/tex/latex/fd/tengwar/t1tengwaraqr.fd b/fonts/tolkienfonts/tex/latex/fd/tengwar/t1tengwaraqr.fd
new file mode 100644
index 0000000000..958f396494
--- /dev/null
+++ b/fonts/tolkienfonts/tex/latex/fd/tengwar/t1tengwaraqr.fd
@@ -0,0 +1,17 @@
+%Filename: t1tengwaraqr.fd
+%Created by: tex tolkieninst
+%Created using fontinst v1.933
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{t1tengwaraqr.fd}
+ [2010/08/29 Fontinst v1.933 font definitions for T1/tengwaraqr.]
+
+\DeclareFontFamily{T1}{tengwaraqr}{}
+
+\DeclareFontShape{T1}{tengwaraqr}{m}{n}{
+ <-> TengwarAQR
+}{}
+
+
+\endinput
diff --git a/fonts/tolkienfonts/tex/latex/fd/tengwar/t1tengwarasa.fd b/fonts/tolkienfonts/tex/latex/fd/tengwar/t1tengwarasa.fd
new file mode 100644
index 0000000000..7c12f6181f
--- /dev/null
+++ b/fonts/tolkienfonts/tex/latex/fd/tengwar/t1tengwarasa.fd
@@ -0,0 +1,17 @@
+%Filename: t1tengwarasa.fd
+%Created by: tex tolkieninst
+%Created using fontinst v1.933
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{t1tengwarasa.fd}
+ [2010/08/29 Fontinst v1.933 font definitions for T1/tengwarasa.]
+
+\DeclareFontFamily{T1}{tengwarasa}{}
+
+\DeclareFontShape{T1}{tengwarasa}{m}{n}{
+ <-> TengwarASA
+}{}
+
+
+\endinput
diff --git a/fonts/tolkienfonts/tex/latex/fd/tengwar/t1tengwarasb.fd b/fonts/tolkienfonts/tex/latex/fd/tengwar/t1tengwarasb.fd
new file mode 100644
index 0000000000..8ef26a747d
--- /dev/null
+++ b/fonts/tolkienfonts/tex/latex/fd/tengwar/t1tengwarasb.fd
@@ -0,0 +1,17 @@
+%Filename: t1tengwarasb.fd
+%Created by: tex tolkieninst
+%Created using fontinst v1.933
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{t1tengwarasb.fd}
+ [2010/08/29 Fontinst v1.933 font definitions for T1/tengwarasb.]
+
+\DeclareFontFamily{T1}{tengwarasb}{}
+
+\DeclareFontShape{T1}{tengwarasb}{m}{n}{
+ <-> TengwarASB
+}{}
+
+
+\endinput
diff --git a/fonts/tolkienfonts/tex/latex/fd/tengwar/t1tengwarasg.fd b/fonts/tolkienfonts/tex/latex/fd/tengwar/t1tengwarasg.fd
new file mode 100644
index 0000000000..ebaaf601bc
--- /dev/null
+++ b/fonts/tolkienfonts/tex/latex/fd/tengwar/t1tengwarasg.fd
@@ -0,0 +1,17 @@
+%Filename: t1tengwarasg.fd
+%Created by: tex tolkieninst
+%Created using fontinst v1.933
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{t1tengwarasg.fd}
+ [2010/08/29 Fontinst v1.933 font definitions for T1/tengwarasg.]
+
+\DeclareFontFamily{T1}{tengwarasg}{}
+
+\DeclareFontShape{T1}{tengwarasg}{m}{n}{
+ <-> TengwarASG
+}{}
+
+
+\endinput
diff --git a/fonts/tolkienfonts/tex/latex/fd/valmar/t1saratib.fd b/fonts/tolkienfonts/tex/latex/fd/valmar/t1saratib.fd
new file mode 100644
index 0000000000..60ac396bf3
--- /dev/null
+++ b/fonts/tolkienfonts/tex/latex/fd/valmar/t1saratib.fd
@@ -0,0 +1,17 @@
+%Filename: t1saratib.fd
+%Created by: tex tolkieninst
+%Created using fontinst v1.933
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{t1saratib.fd}
+ [2010/08/29 Fontinst v1.933 font definitions for T1/saratib.]
+
+\DeclareFontFamily{T1}{saratib}{}
+
+\DeclareFontShape{T1}{saratib}{m}{n}{
+ <-> SaratiB
+}{}
+
+
+\endinput
diff --git a/fonts/tolkienfonts/tex/latex/fd/valmar/t1saratibqa.fd b/fonts/tolkienfonts/tex/latex/fd/valmar/t1saratibqa.fd
new file mode 100644
index 0000000000..e95cbb1d4e
--- /dev/null
+++ b/fonts/tolkienfonts/tex/latex/fd/valmar/t1saratibqa.fd
@@ -0,0 +1,17 @@
+%Filename: t1saratibqa.fd
+%Created by: tex tolkieninst
+%Created using fontinst v1.933
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{t1saratibqa.fd}
+ [2010/08/29 Fontinst v1.933 font definitions for T1/saratibqa.]
+
+\DeclareFontFamily{T1}{saratibqa}{}
+
+\DeclareFontShape{T1}{saratibqa}{m}{n}{
+ <-> SaratiBQA
+}{}
+
+
+\endinput
diff --git a/fonts/tolkienfonts/tex/latex/fd/valmar/t1saratibqq.fd b/fonts/tolkienfonts/tex/latex/fd/valmar/t1saratibqq.fd
new file mode 100644
index 0000000000..b424fbd50b
--- /dev/null
+++ b/fonts/tolkienfonts/tex/latex/fd/valmar/t1saratibqq.fd
@@ -0,0 +1,17 @@
+%Filename: t1saratibqq.fd
+%Created by: tex tolkieninst
+%Created using fontinst v1.933
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{t1saratibqq.fd}
+ [2010/08/29 Fontinst v1.933 font definitions for T1/saratibqq.]
+
+\DeclareFontFamily{T1}{saratibqq}{}
+
+\DeclareFontShape{T1}{saratibqq}{m}{n}{
+ <-> SaratiBQQ
+}{}
+
+
+\endinput
diff --git a/fonts/tolkienfonts/tex/latex/fd/valmar/t1saratie.fd b/fonts/tolkienfonts/tex/latex/fd/valmar/t1saratie.fd
new file mode 100644
index 0000000000..c6db365569
--- /dev/null
+++ b/fonts/tolkienfonts/tex/latex/fd/valmar/t1saratie.fd
@@ -0,0 +1,17 @@
+%Filename: t1saratie.fd
+%Created by: tex tolkieninst
+%Created using fontinst v1.933
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{t1saratie.fd}
+ [2010/08/29 Fontinst v1.933 font definitions for T1/saratie.]
+
+\DeclareFontFamily{T1}{saratie}{}
+
+\DeclareFontShape{T1}{saratie}{m}{n}{
+ <-> SaratiE
+}{}
+
+
+\endinput
diff --git a/fonts/tolkienfonts/tex/latex/fd/valmar/t1saratieqa.fd b/fonts/tolkienfonts/tex/latex/fd/valmar/t1saratieqa.fd
new file mode 100644
index 0000000000..f6159f9da8
--- /dev/null
+++ b/fonts/tolkienfonts/tex/latex/fd/valmar/t1saratieqa.fd
@@ -0,0 +1,17 @@
+%Filename: t1saratieqa.fd
+%Created by: tex tolkieninst
+%Created using fontinst v1.933
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{t1saratieqa.fd}
+ [2010/08/29 Fontinst v1.933 font definitions for T1/saratieqa.]
+
+\DeclareFontFamily{T1}{saratieqa}{}
+
+\DeclareFontShape{T1}{saratieqa}{m}{n}{
+ <-> SaratiEQA
+}{}
+
+
+\endinput
diff --git a/fonts/tolkienfonts/tex/latex/fd/valmar/t1saratieqq.fd b/fonts/tolkienfonts/tex/latex/fd/valmar/t1saratieqq.fd
new file mode 100644
index 0000000000..3b5dcc54a3
--- /dev/null
+++ b/fonts/tolkienfonts/tex/latex/fd/valmar/t1saratieqq.fd
@@ -0,0 +1,17 @@
+%Filename: t1saratieqq.fd
+%Created by: tex tolkieninst
+%Created using fontinst v1.933
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{t1saratieqq.fd}
+ [2010/08/29 Fontinst v1.933 font definitions for T1/saratieqq.]
+
+\DeclareFontFamily{T1}{saratieqq}{}
+
+\DeclareFontShape{T1}{saratieqq}{m}{n}{
+ <-> SaratiEQQ
+}{}
+
+
+\endinput
diff --git a/fonts/tolkienfonts/tex/latex/fd/valmar/t1valmaric.fd b/fonts/tolkienfonts/tex/latex/fd/valmar/t1valmaric.fd
new file mode 100644
index 0000000000..5a8e235a0a
--- /dev/null
+++ b/fonts/tolkienfonts/tex/latex/fd/valmar/t1valmaric.fd
@@ -0,0 +1,17 @@
+%Filename: t1valmaric.fd
+%Created by: tex tolkieninst
+%Created using fontinst v1.933
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{t1valmaric.fd}
+ [2010/08/29 Fontinst v1.933 font definitions for T1/valmaric.]
+
+\DeclareFontFamily{T1}{valmaric}{}
+
+\DeclareFontShape{T1}{valmaric}{m}{n}{
+ <-> Valmaric
+}{}
+
+
+\endinput
diff --git a/fonts/tolkienfonts/tex/latex/fd/valmar/t1valmariceqa.fd b/fonts/tolkienfonts/tex/latex/fd/valmar/t1valmariceqa.fd
new file mode 100644
index 0000000000..65ce6bbae5
--- /dev/null
+++ b/fonts/tolkienfonts/tex/latex/fd/valmar/t1valmariceqa.fd
@@ -0,0 +1,17 @@
+%Filename: t1valmariceqa.fd
+%Created by: tex tolkieninst
+%Created using fontinst v1.933
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{t1valmariceqa.fd}
+ [2010/08/29 Fontinst v1.933 font definitions for T1/valmariceqa.]
+
+\DeclareFontFamily{T1}{valmariceqa}{}
+
+\DeclareFontShape{T1}{valmariceqa}{m}{n}{
+ <-> ValmaricEQA
+}{}
+
+
+\endinput
diff --git a/fonts/tolkienfonts/tex/latex/fd/valmar/t1valmariceqq.fd b/fonts/tolkienfonts/tex/latex/fd/valmar/t1valmariceqq.fd
new file mode 100644
index 0000000000..c94e1f9e6b
--- /dev/null
+++ b/fonts/tolkienfonts/tex/latex/fd/valmar/t1valmariceqq.fd
@@ -0,0 +1,17 @@
+%Filename: t1valmariceqq.fd
+%Created by: tex tolkieninst
+%Created using fontinst v1.933
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{t1valmariceqq.fd}
+ [2010/08/29 Fontinst v1.933 font definitions for T1/valmariceqq.]
+
+\DeclareFontFamily{T1}{valmariceqq}{}
+
+\DeclareFontShape{T1}{valmariceqq}{m}{n}{
+ <-> ValmaricEQQ
+}{}
+
+
+\endinput
diff --git a/fonts/tolkienfonts/tex/latex/tolkienfonts.sty b/fonts/tolkienfonts/tex/latex/tolkienfonts.sty
new file mode 100644
index 0000000000..5366eefd1c
--- /dev/null
+++ b/fonts/tolkienfonts/tex/latex/tolkienfonts.sty
@@ -0,0 +1,500 @@
+%% tolkienfonts.sty
+%% Part of the tolkienfonts package
+%% Copyright 2010 Ariel Barton
+%
+% 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 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.
+%
+% This work has the LPPL maintenance status `maintained'.
+%
+% The Current Maintainer of this work is Ariel Barton.
+%
+% This work consists of all the files listed in Appendix F of the file
+% `tolkienfontsdoc.pdf'.
+%
+% Version: 2
+
+\ProvidesPackage{tolkienfonts}[2010/08/29]
+
+\DeclareTextFontCommand {\saratifont}{\fontencoding{T1}\fontfamily{saratie}\selectfont}
+\DeclareTextFontCommand {\valmarfont}{\fontencoding{T1}\fontfamily{valmaric}\selectfont}
+
+\DeclareTextFontCommand {\cirthS}{\fontencoding{T1}\fontfamily{cirthsxx}\selectfont}
+\newcommand{\sunrune}{%
+ \def \eregionfamily{cirthsqe}%
+ \def \daeronfamily{cirthssd}%
+ \def \moriafamily{cirthsdm}%
+ \def \ereborfamily{cirthsee}%
+ \def \hobbitfamily{cirthseh}%
+ \let\cirthfont\cirthS
+}
+\DeclareTextFontCommand {\cirthE}{\fontencoding{T1}\fontfamily{cirthexx}\selectfont}
+\newcommand{\fonterebor}{%
+ \def \eregionfamily{cirtheqe}%
+ \def \daeronfamily{cirthesd}%
+ \def \moriafamily{cirthedm}%
+ \def \ereborfamily{cirtheee}%
+ \def \hobbitfamily{cirtheeh}%
+ \let\cirthfont\cirthE
+}
+\fonterebor
+\def \hobbitfamily{cirthseh}%
+
+\DeclareTextFontCommand {\TengwarA}{\fontencoding{T1}\fontfamily{tengwara}\selectfont}
+\DeclareTextFontCommand{\TengwarAA}{\fontencoding{T1}\fontfamily{tengwaraa}\selectfont}
+\newcommand{\annatar}{%
+ \def \quenyafamily{tengwaraqq}%
+ \def\quenyagenfamily{tengwaraqg}%
+ \def\quenyaredfamily{tengwaraqr}%
+ \def \quenyaafamily{tengwaraqa}%
+ \def \gondorfamily{tengwarasg}%
+ \def \arnorfamily{tengwarasa}%
+ \def\beleriandfamily{tengwarasb}%
+ \def \orthfamily{tengwaraeo}%
+ \def\mazarbulfamily{tengwaraem}%
+ \def \tehtafamily{tengwaraet}%
+ \def\phonemicfamily{tengwaraep}%
+ \let\tengfont\TengwarA
+ \let\tengalt\TengwarAA
+}
+\DeclareTextFontCommand {\TengwarP}{\fontencoding{T1}\fontfamily{tengwarp}\selectfont}
+\DeclareTextFontCommand{\TengwarPA}{\fontencoding{T1}\fontfamily{tengwarpa}\selectfont}
+\newcommand{\parmaite}{%
+ \def \quenyafamily{tengwarpqq}%
+ \def\quenyagenfamily{tengwarpqg}%
+ \def\quenyaredfamily{tengwarpqr}%
+ \def \quenyaafamily{tengwarpqa}%
+ \def \gondorfamily{tengwarpsg}%
+ \def \arnorfamily{tengwarpsa}%
+ \def\beleriandfamily{tengwarpsb}%
+ \def \orthfamily{tengwarpeo}%
+ \def\mazarbulfamily{tengwarpem}%
+ \def \tehtafamily{tengwarpet}%
+ \def\phonemicfamily{tengwarpep}%
+ \let\tengfont\TengwarP
+ \let\tengalt\TengwarPA
+}
+\DeclareTextFontCommand {\TengwarE}{\fontencoding{T1}\fontfamily{tengware}\selectfont}
+\DeclareTextFontCommand{\TengwarEA}{\fontencoding{T1}\fontfamily{tengwarea}\selectfont}
+\newcommand{\eldamar}{%
+ \def \quenyafamily{tengwareqq}%
+ \def\quenyagenfamily{tengwareqg}%
+ \def\quenyaredfamily{tengwareqr}%
+ \def \quenyaafamily{tengwareqa}%
+ \def \gondorfamily{tengwaresg}%
+ \def \arnorfamily{tengwaresa}%
+ \def\beleriandfamily{tengwaresb}%
+ \def \orthfamily{tengwareeo}%
+ \def\mazarbulfamily{tengwareem}%
+ \def \tehtafamily{tengwareet}%
+ \def\phonemicfamily{tengwareep}%
+ \let\tengfont\TengwarE
+ \let\tengalt\TengwarEA
+}
+\DeclareTextFontCommand {\TengwarN}{\fontencoding{T1}\fontfamily{tengwarn}\selectfont}
+\DeclareTextFontCommand{\TengwarNA}{\fontencoding{T1}\fontfamily{tengwarna}\selectfont}
+\newcommand{\noldor}{%
+ \def \quenyafamily{tengwarnqq}%
+ \def\quenyagenfamily{tengwarnqg}%
+ \def\quenyaredfamily{tengwarnqr}%
+ \def \quenyaafamily{tengwarnqa}%
+ \def \gondorfamily{tengwarnsg}%
+ \def \arnorfamily{tengwarnsa}%
+ \def\beleriandfamily{tengwarnsb}%
+ \def \orthfamily{tengwarneo}%
+ \def\mazarbulfamily{tengwarnem}%
+ \def \tehtafamily{tengwarnet}%
+ \def\phonemicfamily{tengwarnep}%
+ \let\tengfont\TengwarN
+ \let\tengalt\TengwarNA
+}
+\DeclareTextFontCommand {\TengwarQ}{\fontencoding{T1}\fontfamily{tengwarq}\selectfont}
+\DeclareTextFontCommand{\TengwarQA}{\fontencoding{T1}\fontfamily{tengwarqa}\selectfont}
+\newcommand{\fontquenya}{%
+ \def \quenyafamily{tengwarqqq}%
+ \def\quenyagenfamily{tengwarqqg}%
+ \def\quenyaredfamily{tengwarqqr}%
+ \def \quenyaafamily{tengwarqqa}%
+ \def \gondorfamily{tengwarqsg}%
+ \def \arnorfamily{tengwarqsa}%
+ \def\beleriandfamily{tengwarqsb}%
+ \def \orthfamily{tengwarqeo}%
+ \def\mazarbulfamily{tengwarqem}%
+ \def \tehtafamily{tengwarqet}%
+ \def\phonemicfamily{tengwarqep}%
+ \let\tengfont\TengwarQ
+ \let\tengalt\TengwarQA
+}
+\DeclareTextFontCommand {\TengwarS}{\fontencoding{T1}\fontfamily{tengwars}\selectfont}
+\DeclareTextFontCommand{\TengwarSA}{\fontencoding{T1}\fontfamily{tengwarsa}\selectfont}
+\newcommand{\fontsindarin}{%
+ \def \quenyafamily{tengwarsqq}%
+ \def\quenyagenfamily{tengwarsqg}%
+ \def\quenyaredfamily{tengwarsqr}%
+ \def \quenyaafamily{tengwarsqa}%
+ \def \gondorfamily{tengwarssg}%
+ \def \arnorfamily{tengwarssa}%
+ \def\beleriandfamily{tengwarssb}%
+ \def \orthfamily{tengwarseo}%
+ \def\mazarbulfamily{tengwarsem}%
+ \def \tehtafamily{tengwarset}%
+ \def\phonemicfamily{tengwarsep}%
+ \let\tengfont\TengwarS
+ \let\tengalt\TengwarSA
+}
+
+\annatar
+
+\newcommand{\defaultbase}{10}
+\newcommand{\donothing}[1]{#1}
+
+\let \savehat \^
+
+\newcommand{\tengwarabbrevs}{%
+ \sfcode`\,=2000 \sfcode`\;=2000 \sfcode`)=1000 \sfcode`]=1000 \sfcode`?=1999 \sfcode`!=1999
+ \count255=`A
+ \loop\ifnum\count255<`Z \sfcode\the\count255 = 1000 \advance\count255 1\repeat
+ \sfcode`Z=1000
+ \let\^\'\let\R+\chardef\s 0
+ \let\ten<\let\eleven>\chardef\twelve `\%
+ \def\ldots{,{},{}, }%
+}
+
+\newcommand{\cirthabbrevs}{%
+ \sfcode`\,=2000 \sfcode`\;=2000
+ \count255=`A
+ \loop\ifnum\count255<`Z \sfcode\the\count255 = 1000 \advance\count255 1\repeat
+ \sfcode`Z=1000
+ \let\^\'%
+ \def\ldots{,{},{}, }%
+ \let\ \cirth@dotspace%
+}
+
+\newcommand{\saratiabbrevs}{%
+ \sfcode`\,=2000 \sfcode`\;=2000
+ \count255=`A
+ \loop\ifnum\count255<`Z \sfcode\the\count255 = 1000 \advance\count255 1\repeat
+ \sfcode`Z=1000
+ \let\^\'%
+ \let\ten<\let\eleven>\chardef\twelve `\%
+ \def\ldots{,{},{}, }%
+ \chardef \s 0
+}
+
+\newcommand{\quenyaabbrevs}{%
+ \tengwarabbrevs
+ \chardef\r 15
+ \chardef\sa 16
+ \chardef\se 17
+ \chardef\si 18
+ \chardef\so 19
+ \chardef\su 20
+ \chardef\sy 21
+}
+
+\newcommand{\sindarinabbrevs}{\tengwarabbrevs}
+
+\newcommand{\englishabbrevs}{%
+ \tengwarabbrevs%
+ \chardef\es 15
+ \def\The{dh|}\def\THE{dh|}%
+ \def \of{v|}\def\ofthe{vv|}%
+ \def \&{ndE}%
+}
+
+\newcommand{\tengwarnumbering}{
+ \renewcommand{\thepage}{\reversedigits{\arabic{page}}}
+ \renewcommand{\MakeUppercase}{\relax}
+ \@ifundefined{chapter}
+ {
+ \@ifundefined{thesection}{}{\renewcommand{\thesection}{\reversedigits{\arabic{section}}}}
+ \@ifundefined{thesubsection}{}{\renewcommand{\thesubsection}{\reversedigits{\arabic{subsection}},\reversedigits{\arabic{section}}}}
+ \@ifundefined{thesubsubsection}{}{\renewcommand{\thesubsubsection}{\reversedigits{\arabic{subsubsection}},\reversedigits{\arabic{subsection}},\reversedigits{\arabic{section}}}}
+ }
+ { \renewcommand{\thechapter}{\reversedigits{\arabic{chapter}}}
+ \renewcommand{\thesection}{\reversedigits{\arabic{section}},\reversedigits{\arabic{chapter}}}
+ \renewcommand{\thesubsection}{\reversedigits{\arabic{subsection}},\reversedigits{\arabic{section}},\reversedigits{\arabic{chapter}}}
+ \renewcommand{\thesubsubsection}{\reversedigits{\arabic{subsubsection}},\reversedigits{\arabic{subsection}},\reversedigits{\arabic{section}},\reversedigits{\arabic{chapter}}}
+ }
+}
+
+\newcommand{\elvishoption}{
+ \DeclareTextFontCommand{\textlatin}{\fontencoding{T1}\fontfamily{cmr}\selectfont}
+ \renewcommand{\defaultbase}{12}\tengwarnumbering}
+
+\DeclareOption{sarati}{
+ \renewcommand{\rmdefault}{saralqq}\AtBeginDocument\saratiabbrevs\elvishoption}
+\DeclareOption{valmaric}{
+ \renewcommand{\rmdefault}{valmlqq}\AtBeginDocument\saratiabbrevs\elvishoption}
+\DeclareOption{eregion}{
+ \renewcommand{\rmdefault}{\eregionfamily}\AtBeginDocument\cirthabbrevs\elvishoption}
+\DeclareOption{daeron}{
+ \renewcommand{\rmdefault}{\daeronfamily}\AtBeginDocument\cirthabbrevs\elvishoption}
+\DeclareOption{moria}{
+ \renewcommand{\rmdefault}{\moriafamily}\AtBeginDocument\cirthabbrevs\elvishoption}
+\DeclareOption{quenya}{
+ \renewcommand{\rmdefault}{\quenyafamily}\AtBeginDocument\quenyaabbrevs\elvishoption}
+\DeclareOption{quenyagen}{
+ \renewcommand{\rmdefault}{\quenyagenfamily}\AtBeginDocument\quenyaabrevs\elvishoption}
+\DeclareOption{quenyared}{
+ \renewcommand{\rmdefault}{\quenyaredfamily}\AtBeginDocument\quenyaabrevs\elvishoption}
+\DeclareOption{quenyaa}{
+ \renewcommand{\rmdefault}{\quenyaafamily}\AtBeginDocument\quenyaabrevs\elvishoption}
+\DeclareOption{gondor}{
+ \renewcommand{\rmdefault}{\gondorfamily}\AtBeginDocument\sindarinabbrevs\elvishoption}
+\DeclareOption{arnor}{
+ \renewcommand{\rmdefault}{\arnorfamily}\AtBeginDocument\sindarinabbrevs\elvishoption}
+\DeclareOption{beleriand}{
+ \renewcommand{\rmdefault}{\beleriandfamily}\AtBeginDocument\sindarinabbrevs\elvishoption}
+
+\newcommand{\englishoption}{
+ \DeclareTextFontCommand{\textlatin}{\fontencoding{T1}\fontfamily{cmr}\selectfont}
+ \tengwarnumbering
+ \def\today{%
+ \reversedigits{\number\day}%
+ \space
+ \ifcase\month
+ \or january\or february\or march\or april\or may\or junE\or
+ july\or aUgust\or septembEr\or octobEr\or novembEr\or
+ decembEr\fi
+ \space \reversedigits{\number\year}}
+ \@ifundefined{abstractname}{}{\renewcommand{\abstractname}{abstract}}
+ \@ifundefined{appendixname}{}{\renewcommand{\appendixname}{appendix}}
+ \@ifundefined{bibname}{}{\renewcommand{\bibname}{bibliography}}
+ \@ifundefined{ccname}{}{\renewcommand{\ccname}{cc}}
+ \@ifundefined{chaptername}{}{\renewcommand{\chaptername}{chaptEr}}
+ \@ifundefined{contentsname}{}{\renewcommand{\contentsname}{contents}}
+ \@ifundefined{enclname}{}{\renewcommand{\enclname}{enclosurE}}
+ \@ifundefined{figurename}{}{\renewcommand{\figurename}{figurE}}
+ \@ifundefined{headtoname}{}{\renewcommand{\headtoname}{to}}
+ \@ifundefined{indexname}{}{\renewcommand{\indexname}{index}}
+ \ifx\ \cirth@dotspace
+ \@ifundefined{listfigurename}{}{\renewcommand{\listfigurename}{list of figurEs}}
+ \@ifundefined{listtablename}{}{\renewcommand{\listtablename}{list of tablEs}}
+ \else
+ \@ifundefined{listfigurename}{}{\renewcommand{\listfigurename}{list v| figurEs}}
+ \@ifundefined{listtablename}{}{\renewcommand{\listtablename}{list v| tablEs}}
+ \fi
+ \@ifundefined{pagename}{}{\renewcommand{\pagename}{pagE}}
+ \@ifundefined{partname}{}{\renewcommand{\partname}{part}}
+ \@ifundefined{refname}{}{\renewcommand{\refname}{refErenCEs}}
+ \@ifundefined{tablename}{}{\renewcommand{\tablename}{tablE}}
+}
+
+\DeclareOption{orthmode}{\renewcommand{\rmdefault}{\orthfamily}\englishabbrevs\englishoption}
+\DeclareOption{mazarbul}{\renewcommand{\rmdefault}{\mazarbulfamily}\englishabbrevs\englishoption}
+\DeclareOption{tehtamode}{\renewcommand{\rmdefault}{\tehtafamily}\englishabbrevs\englishoption}
+\DeclareOption{phonemic}{\renewcommand{\rmdefault}{\phonemicfamily}\englishabbrevs \let\^\savehat \englishoption}
+\DeclareOption{erebor}{\renewcommand{\rmdefault}{\ereborfamily}\cirthabbrevs\englishoption}
+\DeclareOption{hobbit}{\renewcommand{\rmdefault}{\hobbitfamily}\cirthabbrevs\englishoption}
+
+\ProcessOptions
+
+\RequirePackage[T1]{fontenc}
+
+\RequirePackage{ifthen,calc}
+
+%%%%%% Numbers %%%%%%
+
+
+\newcounter{tengwarnumctrA}
+\newcounter{tengwarnumctrB}
+\newcounter{tengwarnumctrC}
+
+\newcommand{\reversedigits}[2][\defaultbase]{%
+ \setcounter{tengwarnumctrB}{0}\setcounter{tengwarnumctrC}{0}\setcounter{tengwarnumctrA}{#2}%
+ \ifthenelse{\equal{#2}{0}}{0}{%
+ \whiledo{\value{tengwarnumctrA}>0}{%
+ \setcounter{tengwarnumctrB}{\value{tengwarnumctrA}-#1*(\value{tengwarnumctrA}/#1)}%
+ \ifthenelse{\equal{\value{tengwarnumctrB}}{0}\and\equal{\value{tengwarnumctrC}}{0}}{0}{}%
+ \ifthenelse{\equal{\value{tengwarnumctrB}}{10}}{%
+ \ifthenelse {\equal{\value{tengwarnumctrC}}{0}}{}{\arabic{tengwarnumctrC}}\ten \setcounter{tengwarnumctrC}{0}}%
+ {}%
+ \ifthenelse{\equal{\value{tengwarnumctrB}}{11}}{%
+ \ifthenelse {\equal{\value{tengwarnumctrC}}{0}}{}{\arabic{tengwarnumctrC}}\eleven \setcounter{tengwarnumctrC}{0}}%
+ {}%
+ \ifthenelse{\value{tengwarnumctrB}<10}{%
+ \setcounter{tengwarnumctrC}{10*\value{tengwarnumctrC}}%
+ \addtocounter{tengwarnumctrC}{\value{tengwarnumctrB}}}{}%
+ \setcounter{tengwarnumctrA}{\value{tengwarnumctrA}/#1}%
+ }%
+ \ifthenelse{\equal{\value{tengwarnumctrC}}{0}}{}{\arabic{tengwarnumctrC}}%
+ }}
+
+%%%%% Tengwar commands and environments %%%%%
+
+\newenvironment{quenya}{\fontencoding{T1}\fontfamily{\quenyafamily}\fontshape{n}\selectfont\quenyaabbrevs\ignorespaces}{}
+\newenvironment{quenyagen}{\fontencoding{T1}\fontfamily{\quenyagenfamily}\fontshape{n}\selectfont\quenyaabbrevs\ignorespaces}{}
+\newenvironment{quenyared}{\fontencoding{T1}\fontfamily{\quenyaredfamily}\fontshape{n}\selectfont\quenyaabbrevs\special{pdf: 0 g 0 G}\ignorespaces}{}
+\newenvironment{quenyaa}{\fontencoding{T1}\fontfamily{\quenyaafamily}\fontshape{n}\selectfont\quenyaabbrevs\special{pdf: 0 g 0 G}\ignorespaces}{}
+
+\newenvironment{gondor}{\fontencoding{T1}\fontfamily{\gondorfamily}\fontshape{n}\selectfont\sindarinabbrevs\ignorespaces}{}
+\newenvironment{arnor}{\fontencoding{T1}\fontfamily{\arnorfamily}\fontshape{n}\selectfont\sindarinabbrevs\ignorespaces}{}
+\newenvironment{beleriand}{\fontencoding{T1}\fontfamily{\beleriandfamily}\fontshape{n}\selectfont\sindarinabbrevs\ignorespaces}{}
+
+\newenvironment{orthmode}{\fontencoding{T1}\fontfamily{\orthfamily}\fontshape{n}\selectfont\englishabbrevs\ignorespaces}{}
+\newenvironment{mazarbul}{\fontencoding{T1}\fontfamily{\mazarbulfamily}\fontshape{n}\selectfont\englishabbrevs\ignorespaces}{}
+\newenvironment{tehtamode}{\fontencoding{T1}\fontfamily{\tehtafamily}\fontshape{n}\selectfont\englishabbrevs\ignorespaces}{}
+\newenvironment{phonemic}{\fontencoding{T1}\fontfamily{\phonemicfamily}\fontshape{n}\selectfont\englishabbrevs \let\^\savehat \ignorespaces}{}
+
+\def \Quenya#1{\begin{quenya}#1\end{quenya}}
+\def\Quenyagen#1{\begin{quenyagen}#1\end{quenyagen}}
+\def\Quenyared#1{\begin{quenyared}#1\end{quenyared}}
+\def\QuenyaA#1{\begin{quenyaa}#1\end{quenyaa}}
+
+\def \Gondor#1{\begin{gondor}#1\end{gondor}}
+\def \Arnor#1{\begin{arnor}#1\end{arnor}}
+\def\Beleriand#1{\begin{beleriand}#1\end{beleriand}}
+\def \Orthmode#1{\begin{orthmode}#1\end{orthmode}}
+\def \Mazarbul#1{\begin{mazarbul}#1\end{mazarbul}}
+\def\Tehtamode#1{\begin{tehtamode}#1\end{tehtamode}}
+\def \Phonemic#1{\begin{phonemic}#1\end{phonemic}}
+
+%%%%% Cirth environments and commands %%%%%
+
+\newenvironment{daeron}{\fontencoding{T1}\fontfamily{\daeronfamily}\fontshape{n}\selectfont\cirthabbrevs\ignorespaces}{}
+\newenvironment{erebor}{\fontencoding{T1}\fontfamily{\ereborfamily}\fontshape{n}\selectfont\cirthabbrevs \def\The{\char25}\def\THE{\char25}\ignorespaces}{}
+\newenvironment{eregion}{\fontencoding{T1}\fontfamily{\eregionfamily}\fontshape{n}\selectfont\cirthabbrevs\ignorespaces}{}
+\newenvironment{moria}{\fontencoding{T1}\fontfamily{\moriafamily}\fontshape{n}\selectfont\cirthabbrevs\ignorespaces}{}
+\newenvironment{hobbit}{\fontencoding{T1}\fontfamily{\hobbitfamily}\fontshape{n}\selectfont\cirthabbrevs\def\p{\char1}\def\P{\char1}\ignorespaces}{}
+
+\newcommand{\Daeron}[1]{\begin{daeron}#1\end{daeron}}
+\newcommand{\Erebor}[1]{\begin{erebor}#1\end{erebor}}
+\newcommand{\Eregion}[1]{\begin{eregion}#1\end{eregion}}
+\newcommand{\Moria}[1]{\begin{moria}#1\end{moria}}
+\newcommand{\Hobbit}[1]{\begin{hobbit}#1\end{hobbit}}
+
+%%%%% Sarati environments and commands %%%%%
+
+\newcommand{\Sarati}[1]{\begin{sarati}#1\end{sarati}}
+\newcommand{\Valmaric}[1]{\begin{valmaric}#1\end{valmaric}}
+\newcommand{\SaratiA}[1]{\begin{saratia}#1\end{saratia}}
+\newcommand{\ValmaricA}[1]{\begin{valmarica}#1\end{valmarica}}
+
+\newenvironment{sarati}{\fontencoding{T1}\fontfamily{saratieqq}\fontshape{n}\selectfont\saratiabbrevs\ignorespaces}{}
+\newenvironment{valmaric}{\fontencoding{T1}\fontfamily{valmariceqq}\fontshape{n}\selectfont\saratiabbrevs\ignorespaces}{}
+
+\newenvironment{saratia}{\fontencoding{T1}\fontfamily{saratieqa}\fontshape{n}\selectfont\saratiabbrevs\ignorespaces}{}
+\newenvironment{valmarica}{\fontencoding{T1}\fontfamily{valmariceqa}\fontshape{n}\selectfont\saratiabbrevs\ignorespaces}{}
+
+%%%% Fancy space and punctuation %%%%%
+
+% \fontdimen1 = italic slant
+% \fontdimen2 = font spacing
+% \fontdimen3 = space stretch
+% \fontdimen4 = space shrink
+% \fontdimen7 = ``extra'' space after a period
+
+\newdimen\cirth@prepunct
+
+\def\cirth@dotspace{\ifnum\spacefactor<2000 \hskip 0pt plus\fontdimen3\the\font minus 1.5\fontdimen4\the\font\setbox0=\hbox{\char0}\cleaders\copy0\hskip\wd0\fi%
+ \hskip\fontdimen7\the\font\hskip\fontdimen2\the\font plus \fontdimen3\the\font minus 1.5\fontdimen4\the\font\relax}
+
+\def\cirth@period{\ifnum\spacefactor<2000\nobreak\hskip 0pt plus \fontdimen3\the\font minus 1.5\fontdimen4\the\font\else\kern\cirth@prepunct\fi\char`.\spacefactor=2000}
+\def \cirth@comma{\ifnum\spacefactor<2000\nobreak\hskip 0pt plus \fontdimen3\the\font minus 1.5\fontdimen4\the\font\else\kern\cirth@prepunct\fi\char`,\spacefactor=2000}
+\def \cirth@colon{\ifnum\spacefactor<2000\nobreak\hskip 0pt plus \fontdimen3\the\font minus 1.5\fontdimen4\the\font\else\kern\cirth@prepunct\fi\char`:\spacefactor=2000}
+\def\cirth@scolon{\ifnum\spacefactor<2000\nobreak\hskip 0pt plus \fontdimen3\the\font minus 1.5\fontdimen4\the\font\else\kern\cirth@prepunct\fi\char`;\spacefactor=2000}
+\def \cirth@quest{\ifnum\spacefactor<2000\nobreak\hskip 0pt plus \fontdimen3\the\font minus 1.5\fontdimen4\the\font\else\kern\cirth@prepunct\fi\char`?\spacefactor=2000}
+\def\cirth@exclam{\ifnum\spacefactor<2000\nobreak\hskip 0pt plus \fontdimen3\the\font minus 1.5\fontdimen4\the\font\else\kern\cirth@prepunct\fi\char`!\spacefactor=2000}
+
+\def \cirth@left{\ifnum\spacefactor<2000\hskip 0pt plus \fontdimen3\the\font minus 1.5\fontdimen4\the\font\else\hskip\fontdimen7\the\font\fi\char`(\spacefactor=2000}
+\def \cirth@right{\ifnum\spacefactor<2000\nobreak\hskip 0pt plus \fontdimen3\the\font minus 1.5\fontdimen4\the\font\else\hskip\fontdimen7\the\font\fi\char`)\spacefactor=2000}
+
+\def\sarat@space{\cleaders\hbox to 10sp{\char32\hss}\hskip10sp\ifnum\spacefactor>1999\hskip\fontdimen7\the\font\fi
+ \hskip\fontdimen2\the\font plus\fontdimen3\the\font minus\fontdimen4\the\font\relax}
+
+\def\sarat@period{\ifnum\spacefactor<2000\rlap{\char32}\nobreak\hskip 0pt plus \fontdimen3\the\font minus \fontdimen4\the\font\else\kern\cirth@prepunct\fi\char`.\spacefactor=2000}
+\def \sarat@comma{\ifnum\spacefactor<2000\rlap{\char32}\nobreak\hskip 0pt plus \fontdimen3\the\font minus \fontdimen4\the\font\else\kern\cirth@prepunct\fi\char`,\spacefactor=2000}
+\def \sarat@colon{\ifnum\spacefactor<2000\rlap{\char32}\nobreak\hskip 0pt plus \fontdimen3\the\font minus \fontdimen4\the\font\else\kern\cirth@prepunct\fi\char`:\spacefactor=2000}
+\def\sarat@scolon{\ifnum\spacefactor<2000\rlap{\char32}\nobreak\hskip 0pt plus \fontdimen3\the\font minus \fontdimen4\the\font\else\kern\cirth@prepunct\fi\char`;\spacefactor=2000}
+\def \sarat@quest{\ifnum\spacefactor<2000\rlap{\char32}\nobreak\hskip 0pt plus \fontdimen3\the\font minus \fontdimen4\the\font\else\kern\cirth@prepunct\fi\char`?\spacefactor=2000}
+\def\sarat@exclam{\ifnum\spacefactor<2000\rlap{\char32}\nobreak\hskip 0pt plus \fontdimen3\the\font minus \fontdimen4\the\font\else\kern\cirth@prepunct\fi\char`!\spacefactor=2000}
+
+
+\def\cirth@latinspace{\ifnum\spacefactor<2000
+ \hskip 0.6\fontdimen2\the\font plus\fontdimen3\the\font minus\fontdimen4\the\font%
+ \setbox0=\hbox{\char0}\cleaders\copy0\hskip\wd0%
+ \hskip 0.6\fontdimen2\the\font plus\fontdimen3\the\font minus\fontdimen4\the\font%
+ \else
+ \hskip\fontdimen7\the\font\hskip\fontdimen2\the\font plus 2\fontdimen3\the\font minus 0.5\fontdimen4\the\font
+ \fi\relax}
+
+\newif\ifcirth@type \cirth@typefalse
+{\obeyspaces\global\let\savespace= %
+\gdef {\ifcirth@type\cirth@space\else\savespace\fi}}%
+{\catcode`\.=\active\catcode`\,=\active\catcode`\:=\active\catcode`\;=\active\catcode`\?=\active\catcode`\!=\active\catcode`\(=\active\catcode`\)=\active%
+ \global\let\saveperiod=.\global\let\savecomma=,\global\let\savecolon=:\global\let\savescolon=;\global\let\savequest=?\global\let\saveexclam=!\global\let\saveleftparen=(\global\let\saverightparen=)%
+\gdef.{\ifcirth@type\cirth@period\else\saveperiod\fi}%
+\gdef,{\ifcirth@type\cirth@comma\else\savecomma\fi}%
+\gdef:{\ifcirth@type\cirth@colon\else\savecolon\fi}%
+\gdef;{\ifcirth@type\cirth@scolon\else\savescolon\fi}%
+\gdef?{\ifcirth@type\cirth@quest\else\savequest\fi}%
+\gdef!{\ifcirth@type\cirth@exclam\else\saveexclam\fi}%
+\gdef({\ifcirth@type\cirth@left\else\saveleftparen\fi}%
+\gdef){\ifcirth@type\cirth@right\else\saverightparen\fi}%
+}
+
+\newenvironment{barsarati}{%
+\fontencoding{T1}\fontfamily{saratibqq}\fontshape{n}\selectfont\saratiabbrevs%
+\cirth@typetrue%
+\ifdim\fontdimen7\the\font < 0pt
+\let\cirth@period=\sarat@period%
+\let\cirth@comma=\sarat@comma%
+\let\cirth@colon=\sarat@colon%
+\let\cirth@scolon=\sarat@scolon%
+\let\cirth@quest=\sarat@quest%
+\let\cirth@exclam=\sarat@exclam%
+\catcode`\!=\active\catcode`\.=\active\catcode`\,=\active\relax%
+\catcode`\:=\active\catcode`\;=\active\catcode`\?=\active\relax%
+\fi
+\let\cirth@space=\sarat@space%
+\catcode`\ =\active\relax%
+\saratiabbrevs\leavevmode\spacefactor=2000
+}{}
+\newenvironment{barsaratia}{%
+\fontencoding{T1}\fontfamily{saratibqa}\fontshape{n}\selectfont\saratiabbrevs%
+\cirth@typetrue%
+\ifdim\fontdimen7\the\font < 0pt
+\let\cirth@period=\sarat@period%
+\let\cirth@comma=\sarat@comma%
+\let\cirth@colon=\sarat@colon%
+\let\cirth@scolon=\sarat@scolon%
+\let\cirth@quest=\sarat@quest%
+\let\cirth@exclam=\sarat@exclam%
+\catcode`\!=\active\catcode`\.=\active\catcode`\,=\active\relax%
+\catcode`\:=\active\catcode`\;=\active\catcode`\?=\active\relax%
+\fi
+\let\cirth@space=\sarat@space%
+\catcode`\ =\active\relax%
+\saratiabbrevs\leavevmode\spacefactor=2000
+}{}
+
+\def\cirthfancysetup#1{%
+\fontencoding{T1}\fontfamily{#1}\fontshape{n}\selectfont%
+\cirth@typetrue%
+\ifdim\fontdimen7\the\font < 0pt
+\let\cirth@space=\cirth@dotspace%
+\cirth@prepunct=-\fontdimen2\the\font
+\addtolength{\cirth@prepunct}{-\fontdimen7\the\font}
+\sfcode`,=2000\relax\sfcode`;=2000\relax%
+\catcode`\!=\active\catcode`\.=\active\catcode`\,=\active\relax%
+\catcode`\:=\active\catcode`\;=\active\catcode`\?=\active\relax%
+\else
+\let\cirth@space=\cirth@latinspace%
+\fi
+\catcode`\ =\active\relax%
+\cirthabbrevs
+\leavevmode\spacefactor=2000
+}
+
+
+\newenvironment{fancydaeron}{\cirthfancysetup{\daeronfamily}}{}
+\newenvironment{fancyhobbit}{\cirthfancysetup{\hobbitfamily}}{}
+\newenvironment{fancyerebor}{\cirthfancysetup{\ereborfamily}}{}
+\newenvironment{fancyeregion}{\cirthfancysetup{\eregionfamily}}{}
+\newenvironment{fancymoria}{\cirthfancysetup{\moriafamily}}{} \ No newline at end of file