March 1, 2008

Funny Japan

so sleepy

You can see such things when you are walking in the shopping mall at nearly 9pm. Seems he was very tired.

February 10, 2008

High tech water faucets

Last time when I was walking around in a shop here in Japan I found these fancy faucets.

These seem to be filters for the water to be able to drink it, but looks quite fancy anyway.

December 16, 2007

Using Platex For Writing Japanese In Ubuntu

The task was to make it possible to write a document in Japanese Language and compile it with platex.

First there are some packages you need to install. I don’t really know if you need anthy to be setup at this point, but it was already setup on my machine.

Get:

% sudo apt-get install ptex-bin ptex-base okumura-clsfiles
% sudo apt-get install ptex-base ptex-bin ptex-jisfonts
% sudo apt-get install xdvik-ja dvipsk-ja dvi2ps gv gnome-gv
% sudo apt-get install jbibtex-bin jmpost mendexk
% sudo apt-get install okumura-clsfiles vfdata-morisawa5 dvi2ps-fontdesc-morisawa5
% sudo jisftconfig add

After that you can fire up emacs. Go to Options->MULE and set Language Environment to Japanese.
Now you can just start writing the document. To start withI suggest using jarticle as the documentclass.

When you are done with it run platex yourfile.tex and if you are not getting any missing font errors your are nearly done with everything. The next step is to view the *.dvi file. For that use xdvi-ja yourfile.dvi and everything should show up correctly.

Leave me a comment if problems occur.