!pdfTeX error: pdflatex (file ../latex/lthuni.enc): cannot open encoding file f or reading

Bug #1077343 reported by iPAS
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
thailatex (Ubuntu)
New
Undecided
Unassigned

Bug Description

Using 'thailatex package version 0.4.6-3' of Ubuntu 12.04.1 LTS (Release:12.04),
I got an error when trying to build a PDF document from a Tex file.

> pdflatex test.tex

test.tex:
\documentclass{article}
\usepackage[thai]{babel}
\usepackage[utf8x]{inputenc}
\title{ทดสอบภาษาไทย}
\author{นาย Dubber}
\begin{document}
\maketitle
\section{สวัสดีชาวโลก}
อืม ใช้ได้ ไม่มีปัญหา
\end{document}

The error shown as following:
...
!pdfTeX error: pdflatex (file ../latex/lthuni.enc): cannot open encoding file f
or reading
 ==> Fatal error occurred, no output PDF file produced!

Revision history for this message
iPAS (ipas) wrote :
Revision history for this message
iPAS (ipas) wrote :

After I track this problem for while, found that three mapping files of 'thailatex' package,
in /usr/share/texmf/fonts/map/dvips/tlwg,
were wrong refer to the 'lthuni.enc' file.

To solve the problem, just revise those files.
Let they point to new destination of 'lthuni.enc', /usr/share/texmf/fonts/enc/dvips/thai/lthuni.enc.
Then, command
> sudo updmap-sys
That's all.

ps. the revised *.map were attached.

Revision history for this message
Theppitak Karoonboonyanan (thep) wrote :

The bug should belong to latex-fonts-thai-tlwg.

And I don't think putting absolute path in the map file is neccessary. 'kpathsea' can do the file search for you, given that the target file is properly installed in one of its search paths.

I guess latex-fonts-thai-tlwg in 12.04 is 1:0.4.17-1ubuntu1, right? Let's check if the Ubuntu-specific patch has done the job correctly. (I am the Debian maintainer, not Ubuntu. That's all I can comment.)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.