2010-05-14 16:16:41 |
HAMANO Kiyoto |
description |
Binary package hint: xdvik-ja
The DVI file including Japanese characters(kanji, hiragana and katakana) is garbled.
I tried a following commands.
$ sudo apt-get install vim # for edit a latex file.
$ sudo apt-get install nkf # for convert a character code.
$ sudo apt-get install texlive "^ptex-*" xdvik-ja dvipdfmx gv gs-cjk-resources "^cmap-adobe-*" okumura-clsfiles
$ sudo jisftconfig add
$ vim hello.tex # edit a tex file.
$ nkf --overwirte -e hello.tex # convert a character code to EUC-JP
$ platex -kanji=euc hello.tex # compile a tex file.
$ xdvi hello.dvi
hello.tex contents are as follows.
<pre>
\documentclass[a4paper]{jsarticle}
\begin{document}
Hello, World ハローワールド 日本語のテスト
\end{document}
</pre>
I attach a screenshot of xdvi.
My environment:
Kubuntu 10.04 (i686)
Language: Japanese
VirtualBox 3.1.8 |
Binary package hint: xdvik-ja
The DVI file including Japanese characters(kanji, hiragana and katakana) is garbled.
I tried a following commands.
$ sudo apt-get install vim # for edit a latex file.
$ sudo apt-get install nkf # for convert a character code.
$ sudo apt-get install texlive "^ptex-*" xdvik-ja dvipdfmx gv gs-cjk-resources "^cmap-adobe-*" okumura-clsfiles
$ sudo jisftconfig add
$ vim hello.tex # edit a tex file.
$ nkf --overwirte -e hello.tex # convert a character code to EUC-JP
$ platex -kanji=euc hello.tex # compile a tex file.
$ xdvi hello.dvi
hello.tex contents are as follows.
<pre>
\documentclass[a4paper]{jsarticle}
\begin{document}
Hello, World ハローワールド 日本語のテスト
\end{document}
</pre>
I attach a screenshot of xdvi.
My environment:
Kubuntu 10.04 (i686)
Language: Japanese
VirtualBox 3.1.8
xdvik-ja: 22.84.13-j1.34-2.1
|
|