Hi, After another careful reading, I found some grammatical errors. The attachment is the patch against the original post. Chanop -- ,-----------------------------------------------------------------------------. | Chanop Silpa-Anan <[EMAIL PROTECTED]> | | Australian National University | | Tel. +61 2 6279 8826, +61 2 6279 8837 (office hour) | | +61 2 6249 5240 (home +voice mail) | | Debian GNU/BSD GPG key on request | `-----------------------------------------------------------------------------'
--- LyX-Thai-microHOWTO.lyx.orig Tue Feb 20 18:11:00 2001 +++ LyX-Thai-microHOWTO.lyx Tue Feb 20 22:10:27 2001 @@ -38,7 +38,7 @@ Introduction \layout Standard -This article is a short introduction about +This article is a short introduction on \begin_inset Quotes eld \end_inset @@ -77,7 +77,7 @@ Thai Font \layout Standard -LyX use system fonts from X window system +LyX use system fonts from the X window system \begin_float footnote \layout Standard @@ -85,7 +85,7 @@ \end_float , therefore, you need to install some Thai fonts for X in order to use them in LyX. - You may use native X font ( + You may use either native X font ( \family typewriter .bdf \family default @@ -93,7 +93,7 @@ \family typewriter .pcf \family default - format), Type 1 font, or True Type font. + formats), Type 1 font, or True Type font. Consult \begin_inset Quotes eld \end_inset @@ -118,7 +118,7 @@ \begin_inset Quotes erd \end_inset - for more details about installing font. + for more details about installing font and making font avaiable to X. You may wish to browse \family sans http://dynax.anu.edu.au/linux/ @@ -130,21 +130,22 @@ for more information on setting up Thai fonts. \layout Standard -Personally I use Thai True Type font with X and LyX. - If you have problem setting up Thai True Type font (which is not really - a straight forward task yet), you may drop me an email. +Personally, I use Thai True Type fonts with LyX because they are more eye + appealing. + If you have problem setting up Thai True Type font (which is not yet a + straight forward task), you may drop me an email. I am willing to help. \layout Standard There are several Thai X fonts around. - I have some Thai fonts packaged for -\emph on -Debian -\emph default -. - These packages starts to appear in Debian since Woody (not yet release - at the time of writing). + I have some Thai fonts packaged for Debian ( +\family typewriter +xfonts-thai-*.deb +\family default +). + These packages started to appear in Debian since Woody (scheduled to be + released around July 2001). Here is the URL that you may find some Thai fonts, \family sans ftp://opensource.thai.net/pub/linux-tle/SOURCES/ @@ -152,7 +153,7 @@ . \layout Standard -You have to tell LyX to use Thai font for displaying the document. +You have to tell LyX to use Thai fonts for displaying the document. In LyX 1.1.6, you can do that by selecting \family sans \bar under @@ -193,7 +194,7 @@ Typewriter \family default fonts. - + The \family sans Encoding \family default @@ -205,16 +206,12 @@ \emph default -tis620 -\emph on --0 -\emph default - +tis620-0 \begin_inset Quotes erd \end_inset according to the current standard. - You may set up these settings in + You may set these settings in \family typewriter ~/.lyx/lyxrc \family default @@ -248,13 +245,28 @@ \begin_float footnote \layout Standard -I choose to use Kedmanee instead of Kesmanee (which might be a proper translatio -n, however they have similar pronunciation) because my cousin name in English - is +I choose to use the name +\begin_inset Quotes eld +\end_inset + +Kedmanee +\begin_inset Quotes erd +\end_inset + + instead of +\begin_inset Quotes eld +\end_inset + +Kesmanee +\begin_inset Quotes erd +\end_inset + + (which might be a proper translation, however, they are similar in pronunciatio +n) because one of my cousin's name in English is \noun on Kedmanee \noun default - (beautiful actress). + (a beautiful actress). \end_float keymap ( \family typewriter @@ -269,7 +281,7 @@ . \layout Standard -You can set up Thai Kedmanee keymap by using +You can set up the Thai Kedmanee keymap by using \family sans \bar under E @@ -376,27 +388,28 @@ \layout Standard -In the above, I bind +In the above, I bind the key \family sans C--backslash \family default - for toggling Thai Kedmanee keyboard and native keyboard map. - This + for toggling between the Thai Kedmanee keyboard map and the native keyboard + map. + The key \family sans C--backslash \family default is similar to Emacs usual key binding for selecting input method. - You may use + You may use the key \family sans M--k\SpecialChar ~ 1 \family default - to select primary keymap, and + to select primary keymap, and the key \family sans M--k\SpecialChar ~ 2 \family default - to select secondary keymap according to current default LyX key binding. + to select secondary keymap according to the current default LyX key binding. \layout Section Setting Up LaTeX @@ -406,8 +419,8 @@ \emph on really \emph default - write a Thai document with LyX. - You can the Thai LaTeX at + write (typeset) a Thai document with LyX. + You can get the Thai LaTeX from \family sans ftp://opensource.thai.net/pub/linux-tle/SOURCES/ \family default @@ -415,7 +428,7 @@ \layout Standard -After downloading, it is just a matter of, +After downloading, it is just a matter of: \layout LyX-Code unpack the tarball && cd @@ -443,8 +456,8 @@ \family typewriter apt \family default - to download and install binary and source package from my site by putting - the following line in your + to download and install both binary and source packages from my site by + putting the following line in your \family typewriter /etc/apt/sources.list \family default @@ -457,7 +470,7 @@ deb-src http://dynax.anu.edu.au/debian sid thailatex \layout Standard -You can use ftp protocol instead of http if you like. +You can use ftp protocol instead of http protocol if you like. \layout Standard In order for LaTeX to break the sentence in Thai language properly, it needs @@ -466,16 +479,11 @@ \family sans http://www.nectec.or.th/ \family default -) -\layout Standard - -Thai LaTeX needs word separator program. - Nectec -\begin_inset LatexCommand \url{http://www.nectec.or.th/} - -\end_inset - -, distributes swath as binary rpm for linux i386 at +) distributes +\family typewriter +swath +\family default + as binary rpm for linux i386 at \family sans ftp://opensource.thai.net/pub/linux-tle/3.0/TLE/ \family default @@ -484,7 +492,11 @@ \family typewriter alien \family default - to convert swath from + to convert +\family typewriter +swath +\family default + from \family typewriter .rpm \family default @@ -493,7 +505,11 @@ .deb \family default . - I heard a rumor that swath will be released in source form very soon. + I heard a rumor that +\family typewriter +swath +\family default + will be released in source form very soon. \layout Standard The other word separator program that can be used is @@ -516,8 +532,16 @@ \family typewriter cttex \family default - in HTML mode works like swath. - What you need to do is to patch it such that it use + in HTML mode works similar to +\family typewriter +swath +\family default +. + What you need to do is to patch +\family typewriter +cttex +\family default + such that it use \family typewriter \begin_inset Quotes eld @@ -544,21 +568,21 @@ \family default - for breaking Thai words. + for breaking Thai words in the original HTML mode. I'm asking the author of \family typewriter cttex \family default - to put a proper license on the software so that I can redistributed the + to put a proper license on the software so that I can redistribute the patched code. \layout Section Writing Thai Documents with LyX \layout Standard -After you have set up Thai fonts and Thai LaTeX according to article previous - sections in this article, you may use LyX to write Thai documents according - to the following tips (procedure). +After you have set up Thai fonts and Thai LaTeX according to previous sections + in this article, you may use LyX to write Thai documents according to the + following tips (procedure). \layout Enumerate Set @@ -664,7 +688,7 @@ atex \family default . - And compile the + Then compile the \family typewriter .tex \family default @@ -682,7 +706,7 @@ latex exportdoc.ttex \layout Standard -or +or, \layout LyX-Code cttex -W < exportdoc.tex > exportdoc.ttex @@ -694,7 +718,7 @@ Conclusion \layout Standard -I have been happily writing Thai document with LyX for a while already. +I have been happily writing Thai documents with LyX for a while already. I wish you enjoy writing Thai document with LyX too. \layout LyX-Code
