pTeX adds features related to vertical writing, and deals with other problems in typesetting Japanese. A manual (in both Japanese and English) is distributed as package pTeX-manual.