Giter Club home page Giter Club logo

firststepreview's Introduction

「はじめてのReVIEW」のレポジトリにようこそ

これなに

TechBoosterによる『C85 ReVIEW』のメイン作業レポジトリです。 このたび書籍制作ツールRe:VIEWの普及のため、無償公開しました。

電子書籍版「はじめてのReVIEW」

https://techbooster.booth.pm/ にて販売中です(このレポジトリからPDFを作っても同等のPDFが仕上がりますが、再配布はご遠慮ください)。

公開後も著作権は保持します。個人利用は問題ありませんがライセンスについては検討中です。 商用利用は控えてください。「Re:VIEWを勉強するために読んで創作活動に活かす」ような使い方を意図しています。

ファイル構成

原稿は articles/ したに置きます。

たとえば mhidaka さんの場合は 本文を articles/mhidaka.re に、本文から参照している画像を articles/images/mhidaka-hoge.png のように置いてください。大切なことは、本文の .re の前と画像ファイルの先頭が一致することです。

article/CHAPS ファイルに書籍の章番号の順に 原稿ファイルのファイル名が列挙されています。新たに原稿ファイルを追加した際はこのファイルの末尾に追加した原稿のファイル名を追加してください。

コンパイルしたい

article ディレクトリでコンパイルのためのコマンドを実行します。

自分の原稿をhtml化

review-compile --target=html mhidaka.re > mhidaka.html

もしくは

rake clean html re=mhidaka.html

で mhidaka.html が生成されます。

全員の原稿を html 化

rake clean html_all

で *.re に対して *.html が生成されます。

全員の原稿を pdf 化

pdf を生成する場合は TeX のインストールが必須です。

rake clean 
rake

で book.pdf が出来ます(1行ですませたい場合は rake clean pdf)。

中では

rm -f book.pdf
rm -rf book/
review-pdfmaker config.yml

のようなことしているらしいです(rake が使えない場合はこっち?)。

Debian (wheezy) の場合の環境構築 (おまけ)

  • rake, gem, ptex-bin, texlive-fonts-recommended パッケージを入れてください
  • sudo gem install review してください
  • ほのぼの rake ** rake -T で利用可能なビルドが確認できるよ

Mac の場合

  • sudo gem install review で ReVIEW をインストール
  • http://tug.org/mactex/ から MacTeX.pkg をダウンロードしてインストール(pdf生成をしない場合は不要です)

firststepreview's People

Contributors

mhidaka avatar

Watchers

kenjis avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.