On Tue, Feb 06, 2001 at 11:24:41PM +1100, Chanop Silpa-Anan wrote:
> I have it like Encoding tis620-0 blah_blah_blah before. I'll try
> with tisenc plus patch the Form.C file with tisenc entry.
A second look reveals that tisenc.enc is a font encoding file, and not an
input encoding file. It seems there is no font encoding file for Thai.
So you shouldn't edit Form.C, and the Thai entry in lib/encodings should be
Encoding tis620-0 unknown
> > 2. The readme of the Thai latex says:
> > In LaTeX2e, you can tell LaTeX that the document would be written in
> > Thai by adding 2 lines in the preamble as follows:
> > \usepackage[thai]{babel}
> > \usepackage{thswitch}
>
> For Thai document, we definitely needs \usepackage{thswitch}. For the line
> \usepackage[thai]{babel}, I cannot make lyx to generate that line
> automatically (without explicitely set it in lyxrc)
When you select the Thai language in the document dialog, LyX generates the
following code:
\documentclass[thai]{article}
\usepackage{babel}
The 'thai' option will be passed to the babel package.
> BTW, does your Thai latex comes with babel? or did you get it from
> nectec.or.th.
I got it from nectec.or.th.