Gentoo Forums
Gentoo Forums
Quick Search: in
CJK Support in Gentoo & TexLive...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Antimatter
Guru
Guru


Joined: 11 Aug 2003
Posts: 463

PostPosted: Tue Dec 02, 2008 3:48 am    Post subject: CJK Support in Gentoo & TexLive... Reply with quote

I'm wondering if the documentation that I've typed up on my blog at these two link are accurate and correct way of setting up a CJK Enabled Gentoo, I borrowed heavily from some of the resources here on this very forum and have provided links and credits when due. Also I am wondering if my fonts installation process is correct with the cyberbit fonts for the CJK TexLive support, because I could never get any CJK symbol/characters to show up until I installed cyberbit fonts....

Anyway here's the links
CJK-Latex
Japanese IMS in Gentoo
Back to top
View user's profile Send private message
zsitvaij
n00b
n00b


Joined: 11 Jan 2006
Posts: 54

PostPosted: Tue Dec 02, 2008 10:36 pm    Post subject: Reply with quote

A couple of notes:

You don't need uim or scim-bridge. I remember ditching scim-uim a while back for simply not working, and scim-bridge more recently for killing all text fields all too often. For things to work in all of GTK+/Qt3/Qt4, the only reliable configuration I've found was this:

1. unmask app-i18n/scim-anthy-1.3.1, anything older and input in Qt4 would not work
2. emerge scim-qtimm scim-skim-anthy
3. set these variables in .xinitrc (or .xprofile if you use a login manager), the others you listed don't seem to make a difference:
export XMODIFIERS=@im=SCIM
export GTK_IM_MODULE="scim"
export QT_IM_MODULE="scim"
(no need to specify scim -d or skim -d anywhere IME)
4. if exists, remove your ~/.scim directory, create it again, and put these lines in ~/.scim/global:
/DefaultConfigModule = kconfig
/DefaultPanelProgram = /usr/bin/scim-panel-kde
5. log out of your current X session and back in.

At this point, everything is working for me in all of GTK+/Qt3/Qt4. The first time, if it isn't skim that is started but scim, you might need to kill all of scim (check with ps ax|grep scim), launch skim -d manually, and log out and in again. It should start with skim from then on.

If you need to configure anthy inside scim, though, you need the gtk applet, since skim crashes whenever you open the config dialog and click anthy.

Also, compiling skim is something of a pain right now. You probably need to suspend the compilation when it has unpacked skim with CTRL-Z, enter the dir where it was unpacked and issue
Code:
ln -s libscim-kdeutils.so.0.1.0 utils/libscim-kdeutils.so
then issue
Code:
fg
to resume compiling. (bug #246223)

And for skim-scim-anthy, you need to
Code:
ln -s /usr/kde/3.5/bin/kconfig_compiler /bin/kconfig_compiler
before compiling it or it fails to build. (bug #238967)

EDIT: this post assumes you're running ~arch. If not, please ~ unmask app-i18n/anthy app-i18n/scim app-i18n/scim-anthy app-i18n/scim-qtimm app-i18n/skim app-i18n/skim-scim-anthy.
Back to top
View user's profile Send private message
nixnut
Administrator
Administrator


Joined: 09 Apr 2004
Posts: 10914
Location: the dutch mountains

PostPosted: Fri Dec 05, 2008 5:43 pm    Post subject: Reply with quote

Moved from Gentoo Chat to Desktop Environments.
Better off here I think
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum