Skip to content

nbeaver/tengwarscript-install-guide

Repository files navigation

Writing with Tolkien's Elvish alphabet (Tengwar) and LaTeX

Author: Nathaniel Beaver
Copyright: Creative Commons Attribution-ShareAlike 4.0 International License

The Tengwar comprise an alphabet invented by J.R.R. Tolkien for writing Quenya or Sindarin (Elvish) in his writings such as Lord of the Rings. It can be used for other languages, too, including English.

This is a guide for getting started producing Tengwar with the LaTeX typesetting system. It will use the TengwarScript package. TengwarScript does not use Tengwar characters directly, since Tengwar has not yet been standardized into Unicode. Instead, it uses custom fonts. The fonts are not included in the TengwarScript package, presumably because the legal status of the fonts is not clear. The guide includes a companion script to automate the downloading, installing, and configuring of the fonts, most of which are TrueType fonts.

There are other methods for writing Tengwar with TeX, including XeTeX, but they will not be used in this guide. This will focus on producing PDFs. Look elsewhere for writing with Tengwar on the web.

This guide was tested on Debian unstable with TeX Live 2013, but it should be applicable to most LaTeX installs.

Option 1: Run the install script.

It is a bash script and requires that curl and unzip are installed.

If you are doing this for the first time, the script will download all the fonts into your ~/texmf/ directory. If you have downloaded these fonts before and the directory names are the same, existing files that are older than the new files will be overwritten.

  1. Ensure you have the TengwarScript package installed.

    For example, run kpsewhich tengwarscript.sty. If you get an output such as:

    $ kpsewhich tengwarscript.sty
    /usr/share/texlive/texmf-dist/tex/latex/tengwarscript/tengwarscript.sty
    

    then you are fine. If you get a blank, then you need to install it. It is on CTAN and packaged in most Linux distributions. On Debian, it is in texlive-fonts-extra.

  2. Run updmap --enable Map=tengwarscript.map.

    If you do not run this command, you must add this line to every Tex file that uses Tengwar fonts:

    \pdfmapfile{=tengwarscript.map}
    

    Some tutorials recommend running mktexlsr or texhash on ~/texmf at this point. This is unnecessary.

  3. Make the directory ~/texmf/fonts/truetype/.

    This is in your local texmf directory, so you don't need administrator privileges. If you're not sure where texmf is, run this command:

    $ kpsewhich -var-value TEXMFHOME
    
  4. Download the Tengwar fonts you want and unzip them there.

After performing option 1 or 2, compile this document in your favorite LaTeX editor:

\documentclass{minimal}
\usepackage[all]{tengwarscript}
\begin{document}
\Tquesse\TTacute\Ttinco\TTdoubler\TTthreedots
\end{document}

This will use the default Parmaite font to write the Tengwar word quetta, meaning word. (This is an example from the tengwarscript documentation.)

Once you have a working installation, you can try more interesting examples.

For convenient Roman to Tengwar transcription, you will probably want to use a conversion script, such as the Perl tengwar transcriber.

If you get errors such as this:

!pdfTeX error: pdflatex (file Parmaite.ttf): cannot open TrueType font file for reading

try changing the font:

\documentclass{minimal}
\usepackage[annatar]{tengwarscript}
\begin{document}
\Tquesse\TTacute\Ttinco\TTdoubler\TTthreedots
\end{document}

or try explicitly adding the map file:

\documentclass{minimal}
\pdfmapfile{=tengwarscript.map}
\usepackage[annatar]{tengwarscript}
\begin{document}
\Tquesse\TTacute\Ttinco\TTdoubler\TTthreedots
\end{document}

Make sure the names of the fonts match the names in tengwarscript.map.

On Debian, this file is here:

/usr/share/texlive/texmf-dist/fonts/map/dvips/tengwarscript/tengwarscript.map

You will need to do a lot of renaming of the .ttf files if you take the manual route (Option 2).

Note: the tengtest.tex file in the documentation requires the texlive-lang-spanish Debian package.

The TengwarScript package was updated to v1.3.1 in 2014, and it now points to archived URL for the fonts since many of the original websites have been taken down. However, all of the founts can be found with some searching.

Website still up, backup available on Internet Archive.

http://at.mansbjorkman.net/parmaite.htm

http://at.mansbjorkman.net/Downloads/Parmaite2.zip

http://web.archive.org/web/20130217221321/http://at.mansbjorkman.net/Downloads/Parmaite2.zip

Deprecated in Tengwarscript 1.3, but still available and on the Internet Archive.

http://www.uv.es/~conrad/tolkien.html

http://www.uv.es/~conrad/UnicodeTengwarParmaite.tar.gz

http://web.archive.org/web/20060720223901/http://www.uv.es/~conrad/UnicodeTengwarParmaite.tar.gz

Yahoo took down Geocities (410 Gone).

http://www.geocities.com/enrombell/eng_dir/Index.htm

There is an Internet Archive of the page, but not the font packs.

http://web.archive.org/web/20091028081407/http://geocities.com/enrombell/files/Pack_en.zip

http://web.archive.org/web/20091028081410/http://geocities.com/enrombell/files/Gothika_en.zip

Fortunately, third parties have preserved Geocities, although they don't allow crawling so the Internet Archive won't preserve them.

http://www.oocities.org/enrombell/eng_dir/Index.htm

http://www.oocities.org/enrombell/files/Pack_en.zip

http://www.oocities.org/enrombell/files/Gothika_en.zip

http://www.geocities.ws/enrombell/eng_dir/Index.htm

http://www.geocities.ws/enrombell/files/Pack_en.zip

http://www.geocities.ws/enrombell/files/Gothika_en.zip

Website still up, backup available on Internet Archive.

http://tengwarformal.limes.com.pl/index.php.en

http://tengwarformal.limes.com.pl/fonts/TengwarFormal-12c-ttf-pc.zip

http://web.archive.org/web/20120716182423/http://tengwarformal.limes.com.pl/fonts/TengwarFormal-12c-ttf-pc.zip

Website returns 200 OK, but has been taken down since 2013-08-30. No backup on Internet Archive.

http://home.student.uu.se/?languageId=1j/jowi4905/fonts/annatar.html

http://web.archive.org/web/20130917205707/http://home.student.uu.se/?languageId=1j/jowi4905/fonts/annatar.html

This site seems to be the new home of the font.

http://web.comhem.se/alatius/fonts/annatar.html

It and the font download is preserved in the Internet Archive.

https://web.archive.org/web/http://web.comhem.se/alatius/fonts/annatar.html

https://web.archive.org/web/http://web.comhem.se/alatius/fonts/tngan120.zip

Third parties also have preserved the fonts, although not completely.

http://www.dafont.com/tengwar-annatar.font

http://img.dafont.com/dl/?f=tengwar_annatar

Original website gone (301 Moved Permanently).

http://www.geocities.com/fontwizard/font%20tengwar/index.html

The site it has been moved to has the fonts removed:

This Content has been removed at the request of the Tolkien Estate.

Daniel Steven Smith

http://www.acondia.com/fonts/tengwar/index.html

Fortunately, there is an Internet Archive backup. (Thanks to the tengwarscript package maintainer, Ignacio Fernández Galván, for the link).

http://web.archive.org/web/20060816050032/http://www.acondia.com/font_tengwar/index.html

Page cited in documentation is still up.

http://www.dafont.com/font.php?file=tengwar_teleri

http://img.dafont.com/dl/?f=tengwar_teleri

The page is on the Internet Archive, but not the font files due to DaFont's robots.txt.

http://web.archive.org/web/20120222184558/http://www.dafont.com/font.php?file=tengwar_teleri

This guide is released under a Creative Commons Attribution-ShareAlike 4.0 International License.

The associated installation script is released under the MIT License.

About

A guide to installing and using Tengwar fonts with LaTeX.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •