0.01
No commit activity in last 3 years
No release in over 3 years
Aozora Bunko converter for Sony Reader
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.3
>= 0
 Project Readme

aozora4reader¶ ↑

aozora4reader is a tool to parse and convert documents in Aozora Bunko (www.aozora.gr.jp/).

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

Usage¶ ↑

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

Sources¶ ↑

You can get source codes in GitHub.

github.com/takahashim/aozora4reader

Special Thanks¶ ↑

aozora4readerのコアの部分と、LaTeX用スタイルシートは、齋藤修三郎さんが作成した青空文庫パッケージが元になっています。

また、そもそも開発の発端は、高山恭介さんが公開されている「青空キンドル」を参考にソニーリーダーに対応させたい、というものでした。高山さんが公開されているaz2tex.rb、aozorakindle.styも参考にしています。

この場を借りて斉藤さん、高山さんに御礼申し上げます。

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.

Author¶ ↑

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.