Hi Werner,
I seems to have encountered two bugs with Thai support in CJK, while doing
making some auto-generated latex input files.
The first one is probably trivial: Thai between $$ revert back to using CMR.
Should that be the case? Bold works (with norasi_b, I think); I am just
expecting Thai between $$ to use norasi_i . I guess that's italic, not math
mode. Some massage of the font definition files might be needed?
The 2nd one is probably somewhere in cjk-enc.el - I found that a block of Thai
separated from another by two newlines, without a terminating ascii full-stop
in the middle, generates a *.cjk which is broken according to later processing.
Here is a small example made from the cjk-shipped one. While normally one would
probably finish a Thai paragraph with an ascii full-stop, before the next one,
so this bug is probably not seen at all, but as I said, I was playing with
auto-generated latex input, and forgot to put an full-stop in :-).
Happy new year.
Hin-Tak
% This is the file thai.tex of the CJK package
% for testing Thai (in TIS-620 encoding).
%
% written by Werner Lemberg <w...@gnu.org>
%
% Version 4.8.2 (29-Dec-2008)
% This file must be processed with cjk-enc.el to get
%
% . proper word breaks
% . font switching between Thai and non-Thai
% . intercharacter glue
%
% Please read cjk-enc.txt for usage instructions.
%
% To process without cjk-enc.el, comment out the line containing
% `\extrasthaicjk'. Note, however, that you get overlong lines, and you
% must manually insert proper Thai word breaks.
\documentclass[12pt]{article}
\usepackage[thaicjk]{babel}
% \addto\extrasthaicjk{\fontencoding{C90}\selectfont}
\begin{document}
ÃÒ¡Òà FAQ ¹ÕéÊÃéÒ§¢Öé¹à¾×èÍÊÃØ»¤Ó¶ÒÁ·Õè¶ÒÁ¡Ñ¹ºèͤÃÑé§áÅФӵͺ¤Ó¶ÒÁã¹ÃٻẺ·ÕÊдǡ.
â¤Ã§ÊÃéÒ§¢Í§ÃÒ¡Òà FAQ ¹Õéà»ÅÕè¹ä»ÁÒ¡µÑé§áµèÃØè¹·ÕèáÅéÇ.
\textbf{´ÙÃÒÂÅÐàÍÕ´ÊÓËÃѺâ¤Ã§ÊÃéÒ§ãËÁèä´é¨Ò¡ªèǧ ``â¤Ã§ÊÃéÒ§áÅÐÇÔ¸Õ¡ÒÃÍèÒ¹
FAQ.''}
ÃÒ¡Òà FAQ ¹ÕéÊÃéÒ§¢Öé¹à¾×èÍÊÃØ»¤Ó¶ÒÁ·Õè¶ÒÁ¡Ñ¹ºèͤÃÑé§áÅФӵͺ¤Ó¶ÒÁã¹ÃٻẺ·ÕÊдǡ
ÃÒ¡Òà FAQ ¹ÕéÊÃéÒ§¢Öé¹à¾×èÍÊÃØ»¤Ó¶ÒÁ·Õè¶ÒÁ¡Ñ¹ºèͤÃÑé§áÅФӵͺ¤Ó¶ÒÁã¹ÃٻẺ·ÕÊдǡ.
\end{document}
%%% Local Variables:
%%% coding: thai-tis620
%%% mode: latex
%%% TeX-master: t
%%% TeX-command-default: "CJKLaTeX"
%%% End:
_______________________________________________
Cjk maillist - Cjk@ffii.org
https://lists.ffii.org/mailman/listinfo/cjk