I tried to compile this example but the LaTeX compiler gives the following errors. What can I do?
name = tngani, rootname = tngani, pointsize = mktexmf: empty or non-existent rootfile!
Cannot find font tngani in map file(s).
kpathsea: Running mktexmf tngani.mf The command name is
C:\texlive\2011\bin\win32\mktexmf Cannot find tngani.mf .
I try ps2pk --> gsftopk --> ttf2pk --> hbf2gf. ps2pk cannot be used.
I try gsftopk. gsftopk.exe tngani 1650 gsftopk cannot be used.
Next I try ttf2pk. ttf2pk.exe -q tngani 1650 ttf2pk failed.
Finally I try hbf2gf. hbf2gf.exe -q -p tngani 1650
All trials failed.
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 2+450/600 --dpi 1650 tngani
The command name is C:\texlive\2011\bin\win32\mktexpk
kpathsea: Appending font creation commands to missfont.log.
Process exited with error(s)
Here is the code:
\documentclass{minimal}
\usepackage[annataritalic]{tengwarscript}
\begin{document}
\tengwarannataritalic[2.5]
\tengwa{254}
\Textendedcalma\TTthreedots\Tnuumen\Tessenuquerna\TTthreedots\Tungwe\Tando\Toore\TTrightcurl\Tumbar\Ttinco\TTthreedots\Tlambealt\TTrightcurl\Tquesse\TTdoublerightcurl
\Tromanperiod\Ts
\Textendedcalma\TTthreedots\Tnuumen\Tessenuquerna\TTthreedots\Tungwe\Tungwe\Tumbar\TTnasalizer\TTdot\Ttinco\TTthreedots\Tlambe\TTrightcurl
\tengwa{255}\\
\Textendedcalma\TTthreedots\Tnuumen\Tessenuquerna\TTthreedots\Tungwe\Tthuule\Troomen\Tquesse\TTthreedots\Ttinco\TTthreedots\Tlambealt\TTrightcurl\Tquesse\TTdoublerightcurl
\Tromanperiod\Ts
\Textendedungwe\TTthreedots\Tumbar\Toore\TTrightcurl\Tesse\Tkern{-0.2}\Tmalta\TTrightcurl\Textendedcalma\TTdot\Ttelco\TTdot\Tquesse\Troomen\Tparma\TTnasalizer\TTdot\Ttinco\TTthreedots\Tlambe\TTrightcurl
\end{document}
Best Answer
The
tengwarscript
package provides only the metric files for the fonts, but not the fonts themselves which must be downloaded from the sites shown in the documentation.You can, for instance, download the "Annatar" fonts from here and unpack the ZIP file; then move the
.ttf
files inwhich should be
for a Unix system (create the necessary directories). Then a run of
mktexlsr
will make the font available. Add the declarationjust after the
\documentclass
line and the document should compile.For other font families, look around on the net, for instance here. Unfortunately, a link where several font families were available for download has disappeared.