reviewを用いたpdfとepubへの変換について
DESCRIPTION
TRANSCRIPT
![Page 1: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/1.jpg)
ReVIEWを用いたPDFとEPUBへの変換について
TeXユーザの集い20112011/10/22
(株)達人出版会 高橋征義
![Page 2: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/2.jpg)
■ 本日の言いたいこと● PDFとEPUBを生成するReVIEWというツールを使って電子出版してます● InDesign対応はまた今度
● 簡易記法は微妙だけど便利● 長生きする記述形式より変化させやすい記述形式
![Page 3: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/3.jpg)
自己紹介
![Page 4: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/4.jpg)
●高橋征義高橋征義http://www.flickr.com/photos/recompile_net/4932459606/
![Page 5: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/5.jpg)
● ・・WebWebアプリケーション開発者アプリケーション開発者● ・・((株株))達人出版会代表取締役達人出版会代表取締役● ・一般社団法人日本・一般社団法人日本RubyRubyの会の会 代表理事 代表理事
● ・『たのしい・『たのしいRubyRuby第第33版』 版』 『『Rails3Rails3レシピブック』共著レシピブック』共著
● ・高橋メソッドのひと・高橋メソッドのひとhttp://www.flickr.com/photos/recompile_net/4932459606/
![Page 6: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/6.jpg)
■ 要するに何者なのか● もともと出版畑の人ではない
●Webアプリ開発者● 読むのは好き● 書くこともある
![Page 7: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/7.jpg)
■ なんで電子出版を始めたのか● Pragmatic Bookshelf
● コンピュータ書を電子と紙で提供–『Programming Ruby』など
● ユーザとして活用していた● 日本でもこういうのが欲しい
–→自分でやって見ることに
![Page 8: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/8.jpg)
■ 達人出版会について● 主にITエンジニア向け技術書を制作・販売する電子書籍専門の出版社(社員1人)
● 昨年6月設立、11月発売開始● もうすぐ一周年
● 11ヶ月で9冊発行● 価格は1,000円が中心
–600円や1,600円のものも
![Page 9: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/9.jpg)
http://tatsu-zine.com/
![Page 10: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/10.jpg)
対応しているフォーマット
![Page 11: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/11.jpg)
![Page 12: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/12.jpg)
PragmticBookshelf
の真似
![Page 13: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/13.jpg)
同じソースからPDFとEPUB
を生成
![Page 14: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/14.jpg)
そのためのツール
![Page 15: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/15.jpg)
ReVIEWReVIEW
![Page 16: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/16.jpg)
手軽に使える手軽に使える電子出版電子出版システムシステム
![Page 17: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/17.jpg)
プログラマがプログラマが手軽に使える手軽に使える
電子出版電子出版システムシステム
![Page 18: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/18.jpg)
青木峰郎さん青木峰郎さんが開発、が開発、
武藤健志さん武藤健志さんが保守 が保守
![Page 19: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/19.jpg)
githubgithubでで絶賛公開中絶賛公開中
http://github.com/kmuto/reviewhttp://github.com/kmuto/review
![Page 20: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/20.jpg)
ReVIEWの問題点
![Page 21: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/21.jpg)
検索しづらい
![Page 22: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/22.jpg)
「kmuto review」で検索
![Page 23: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/23.jpg)
組版について
![Page 24: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/24.jpg)
EPUBEPUBはは自力で生成自力で生成
![Page 25: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/25.jpg)
PDFPDFのの組版組版
![Page 26: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/26.jpg)
![Page 27: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/27.jpg)
ReVIEW本体ソース
LaTeXdvipdfmx
EPUB
![Page 28: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/28.jpg)
ReVIEW本体ソース
LaTeXdvipdfmx
EPUB
![Page 29: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/29.jpg)
ソースの記述形式
![Page 30: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/30.jpg)
Wiki記法に似た独自簡易記法
![Page 31: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/31.jpg)
== 環境を作る
ここでは@<kw>{/var/tmp}ディレクトリを使うことにします。@<kw>{/var/tmp}ディレクトリに移動します。
//cmd{$ cd /var/tmp//}
現在のディレクトリを確認します。
//cmd{$ pwd/var/tmp//}
![Page 32: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/32.jpg)
著者さんに覚えてもらう
のも大変
![Page 33: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/33.jpg)
PandocPandoc
![Page 34: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/34.jpg)
フォーマット変換器
![Page 35: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/35.jpg)
対応入力形式:・markdown・reST(一部)・textile・HTML・LaTeX
![Page 36: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/36.jpg)
対応出力形式:
markdown, reST, HTML, LaTeX, ConTeXt, PDF, RTF, DocBook, OpenDocument, ODT, Texinfo, MediaWiki, textile, grof, org-mode, EPUB, S5, Slidy
![Page 37: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/37.jpg)
対応出力形式:
markdown, reST, HTML, LaTeX, ConTeXt, PDF, RTF, DocBook, OpenDocument, ODT, Texinfo, MediaWiki, textile, grof, org-mode, EPUB, S5, Slidy, ReVIEW
![Page 38: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/38.jpg)
非公式バージョン
http://github.com/takahashim/pandoc/
![Page 39: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/39.jpg)
ReVIEW本体
LaTeXdvipdfmx
EPUB
PDFPandoc
ReVIEWソース
LaTeX
HTML
MediaWiki
![Page 40: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/40.jpg)
ReVIEW本体
LaTeXdvipdfmx
EPUB
PDFPandoc
ReVIEWソース
LaTeX
HTML
MediaWiki
![Page 41: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/41.jpg)
独自の中間簡易記法
![Page 42: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/42.jpg)
正直微妙なところも
![Page 43: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/43.jpg)
LaTeXとEPUBの性格の違い
![Page 44: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/44.jpg)
PDFとEPUBの性格の違い
![Page 45: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/45.jpg)
最大公約数的な仕様
![Page 46: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/46.jpg)
細かい組版制御は無理
![Page 47: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/47.jpg)
メリットもある
![Page 48: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/48.jpg)
■電子書籍を取り巻く構図
紙書籍 電子書籍
Web
![Page 49: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/49.jpg)
電子書籍にはWebの技術が使われている
電子書籍のヒントはWeb技術に(も)ある
![Page 50: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/50.jpg)
■Web制作の二極化●デザイン重視
●デザイナーが個々のページを作り込む(DreamWeaver等)
●効率重視●ベースデザインのみをデザイナーが作り、コンテンツは後で流し込む(CMS利用)
![Page 51: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/51.jpg)
■Web制作の二極化●デザイン重視
●デザイナーが個々のページを作り込む(DreamWeaver利用)
●効率重視●ベースデザインのみをデザイナーが作り、コンテンツはあとで流し込む(CMS利用)
ボリュームが多い場合こちらにならざるを
えない(電子書籍も)
![Page 52: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/52.jpg)
作り込んでしまった場合
![Page 53: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/53.jpg)
HTMLのバージョン
![Page 54: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/54.jpg)
サイトデザインの
見直し
![Page 55: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/55.jpg)
どこかで大きく変更しないといけない
![Page 56: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/56.jpg)
長生きするコンテンツとフォーマット
![Page 57: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/57.jpg)
手を入れないのは現実的ではない
![Page 58: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/58.jpg)
変化に適応しやすく
するべき
![Page 59: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/59.jpg)
物足りないフォーマットで記述する
![Page 60: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/60.jpg)
Web(CMS)の場合
![Page 61: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/61.jpg)
タグではなく独自記法
![Page 62: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/62.jpg)
限られた意味のみを記述させる
![Page 63: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/63.jpg)
差分の問題
![Page 64: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/64.jpg)
フラットなソースの方が
人に優しい差分を作りやすい
![Page 65: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/65.jpg)
今後の課題
![Page 66: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/66.jpg)
・EPUB3対応・1.0リリース・日々の改良・ドキュメント
![Page 67: ReVIEWを用いたPDFとEPUBへの変換について](https://reader034.vdocuments.pub/reader034/viewer/2022042713/5465e572b4af9f493f8b50d4/html5/thumbnails/67.jpg)
ご清聴ありがとう ございました【広告】 ただいま原稿絶賛募集中です。何か電子書籍の形で出したい技術系文書があればぜひご相談ください。 http://tatsu-zine.com/