Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
61 lines (34 sloc) 1.99 KB


aozora4reader is a tool to parse and convert documents in Aozora Bunko (

aozora4readerは青空文庫に蓄積された書籍を解析し、ソニーリーダー用のPDFを生成するためのツールです。 現状はPRS-650 Touch Editionをターゲットとしています。 また、PDFの生成にはLaTeX(platex)とdvipdfmxを利用しています。


You can use a4r command to convert into LaTeX file.

$ a4r <aozora bunko file>

  ex. 'a4r kokoro.txt'

You can get PDF file with platex and dvipdfmx.

$ platex foo.tex
$ dvipdfmx foo.dvi


You can get source codes in GitHub.

Special Thanks




Note on Patches/Pull Requests

  • Fork the project.

  • Make your feature addition or bug fix.

  • Add tests for it. This is important so I don't break it in a future version unintentionally.

  • Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)

  • Send me a pull request. Bonus points for topic branches.


Masayoshi Takahashi (@takahashim)

  • The core library and LaTeX style file are based on psitau's “aozora bunko package”.

  • The idea is based on takayama's “aozora kindle”.

See LICENSE for details.