Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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}

enter image description here

share|improve this question
add comment

1 Answer

up vote 8 down vote accepted

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 http://home.student.uu.se/j/jowi4905/fonts/annatar.html and unpack the ZIP file; then move the .ttf files in

C:\texlive\texmf-local\fonts\truetype\annatar

which should be

/usr/local/texlive/texmf-local/fonts/truetype/annatar

for a Unix system (create the necessary directories). Then a run of mktexlsr will make the font available. Add the declaration

\pdfmapfile{=tengwarscript.map}

just after the \documentclass line and the document should compile.

share|improve this answer
    
I downloaded the font that you linked, and I put the ttf file here C:\texlive\texmf-local\fonts\truetype\Annatar I have created this directory: "truetype\Annatar" because did not exist. I use windows 8, I tried to compile the code I added in question but always the same error –  FormlessCloud May 19 '12 at 22:40
    
@FormlessCloud Did you run mktexlsr? This should be done as Administrator, if you installed TeX Live in that way. I believe it can be done from tlmgr. –  egreg May 19 '12 at 22:42
    
i have found mktexlsr.exe here C:\texlive\2011\bin\win32 i have run it as administrator but say error –  FormlessCloud May 19 '12 at 23:52
    
I also want to ask you how i can translate in Italian the writing that I put in the question as imagine –  FormlessCloud May 19 '12 at 23:59
    
"i have found mktexlsr.exe here C:\texlive\2011\bin\win32 i have run it as administrator but latex say the same error" –  FormlessCloud May 20 '12 at 0:00
show 1 more comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.