Okay, but does that work for mixed text documents? I rarely if ever
have to write full documents in CJK...

On 4/25/07, Marc Flerackers <[EMAIL PROTECTED]> wrote:
Stacia Hartleben wrote:
> Hi, I installed the IPAM font as referenced on that site, and now it
> works fine in LyX, no crashes or exporting to latex necessary! With
> the newest LyX beta at least. Attaching a test file to prove it...
>
> Now that I've gotten that fixed, time to run over to bugzilla to ask
> for a feature to make the \begin{CJK} thing (or the equiv in Devnag)
> to be more transparent..
If you add the following preamble, you don't need to add the \begin{CJK}

\def\CJKhook{\CJKenc{UTF8}}\ifx\CJKpreproc\undefined\def\CJKpreproc{cjk-enc}\RequirePackage[global]{CJK}\AtBeginDocument{\begin{CJK*}{UTF8}{ipam}\CJKspace}\AtEndDocument{\end{CJK*}}\else\CJKhook\fi


\usepackage[overlap, CJK]{ruby}

\CJKencfamily{UTF8}{ipam}

\renewcommand{\rubysep}{-0.3ex}

--
Marc Flerackers ([EMAIL PROTECTED])
Software Engineer
ANDROME NV
WetenschapsPark 4
B-3590 Diepenbeek - Belgium
Phone:+32(0)11-301330 Fax:+32(0)11-301331


Reply via email to