--- On Sat, 7/1/12, Werner LEMBERG <[email protected]> wrote:

> From: Werner LEMBERG <[email protected]>
> Subject: Re: Patch to fix \today Re: thaicjk overrides \today?
> To: [email protected]
> Cc: [email protected]
> Date: Saturday, 7 January, 2012, 7:37
> 
> >> Thanks, but I strongly prefer the solution which
> Theppitak has
> >> implemented (and which is used for other Babel
> packages also), and
> >> which you should be able to copy verbatim from
> file `thai.dtx'.
> > 
> > I am not entirely sure why it does not work, but it
> does not.
> > Copying from thailatex's thai.ldf does not work -
> resulting in some
> > error messages about "\thai{something} is not
> available in T1/OT1
> > encoding".  Granted I have a few other packages
> loaded (I am loading
> > the ae fonts with inputenc also...) - but the
> cjk-encoded form of
> > thaicjk.ldf works, and copying from thailatex does
> not.  So it is no
> > go, at least on a causal try.
> 
> Use this in the preamble:
> 
>   \addto\extrasthaicjk{%
>     \fontencoding{C90}\selectfont
>     \def\encodingdefault{C90}}
> 
> Contrary to TIS encoding, the \thaiFooBar commands need a
> proper
> \encodingdefault setup.

does not work well...
==========================
(/usr/share/texlive/texmf-dist/tex/latex/ae/t1aer.fd))))
(./mydoc.aux

LaTeX Font Warning: Font shape `C90/aer/m/n' undefined
(Font)              using `C90/nrsr/m/n' instead on input line 17.

(/usr/share/texlive/texmf-dist/tex/latex/cjk/texinput/thai/c90nrsr.fd))
\openout1 = `mydoc.aux'.

(/usr/share/texlive/texmf-dist/tex/latex/base/ts1cmr.fd)
*geometry* driver: auto-detecting
*geometry* detected driver: pdftex
! Corrupted NFSS tables.
wrong@fontshape ...message {Corrupted NFSS tables}
                                                  error@fontshape else let f...
l.52 \begin{document}
================================

Argh, it is this other package which I needs to use, which loads the ae fonts, 
which does this:
  \RequirePackage[T1]{fontenc}  
  \RequirePackage{ae}

If I get rid of those, then it works, but that's not ideal...

Any idea how to get thaicjk to play nice with those?

Hin-Tak


_______________________________________________
Cjk maillist  -  [email protected]
https://lists.ffii.org/mailman/listinfo/cjk

Reply via email to