# Mailinglist Archive: opensuse-m17n (39 mails)

 < Previous Next >
##### Re: [m17n] cjk-latex, bibtex and utf-8
• From: Jan Hefti <j.hefti@xxxxxxxxxx>
• Date: Thu, 9 Jan 2003 13:15:45 +0000 (UTC)
• Message-id: <3E1D76AC.5010505@xxxxxxxxxx>
I don't know about jurabib, but I had a similar problem using other bibstyles (apalike, plain and dinat). If you use only Japanese, you might try the following:

1. Do not use the begin{CJK[*]}, end{CJK[*]} tags in the bibtex
entry, but place your \bibliography{somebibfile} command inside a
CJK[*] environment.
2. If you still have trouble (depends on the bibstyle), try using
Romaji for the author entry. You can eventually work around this
by using a combination of a romanized key entry and/or replacing
certain Kanji with the \Unicode{###}{###} command. (Only certain
characters [in traditional Chinese] need to be replaced in my
experience, but you might as well replace all of them.)
3. If you still have trouble, it may be caused by bibtex's formatting
the author, title, etc. I have no idea why, but small capitals
don't seem to work with certain fonts, even though they have been
defined in the .fd file. (Maybe my setup is screwed?) In that
case, you can either modify the bibstyle, try another one, or
write a script to be called between the bibtex and latex commands

In case you need Japanese as well as Chinese or Korean, you can place the \CJKfamily{somefont} commands in the first item of each entry of the .bib file.

Hope this helps a little (BTW, I would really appreciate any easier solutions to 2+3),
Good luck and best regards,

Jan Hefti

Gerhard Schuck schrieb:

I am using cjk-latex with the "Unicode support for LaTeX" extension (on SuSE 8.0) in order to use german umlauts together with Japanese in one text which works fine. But I don't know how to use Japanese in a bibtex file. I tried it the same way as in the main tex file: using the cjk-latex starting and ending codes for japanese text inside of the bibtex entry (In fact I just entered one word in Japanese into a title field), but the first latex run after the bibtex run stops at the text in Japanese.

My bibtex file of course is encoded in utf-8 (like the tex file). And -- in case that it matters -- I'm using the jurabib package.

I have no idea whether it is a question of usage, a general issue with bibtex or a problem of jurabib. Or are there any special rules to use cjk-latex, bibtex and utf-8 encoding together?

Best regards

Gerhard Schuck

 < Previous Next >