diff --git a/README.md b/README.md index e67b04c..be006a6 100644 --- a/README.md +++ b/README.md @@ -1,112 +1,17 @@ -# IndieVisualLab執筆環境 +# Unity Graphics Programming vol.1 -## 利用ツール - -### Re:View - -Re:View使います - -達人出版会の中の人が開発してるそう - -#### インストール - -https://github.com/kmuto/review - -ここ見ればOK - -### md2review - -MarkDownを.reファイルに変換してくれるぞい - -Gemfileに追加してるので -```bash -bundle install -``` - -で入るはず - -### TeX - -Re:View動かすのにTeXがいるのでインストール - -#### Macの場合 - -http://www2.kumagaku.ac.jp/teacher/herogw/ - -ここからpTeXをDownloadしてくる(Sierra 10.12.5でいけた) - -pTexを/Applications以下に移動して, -/Applications/pTeX.app/teTeX/binにPATHを通す. +![Cover](https://raw.githubusercontent.com/IndieVisualLab/UnityGraphicsProgrammingBook1/master/images/cover.png) -.bashrcとかに -```bash -export PATH=$PATH:/Applications/pTeX.app/teTeX/bin -``` -とか書けばOK - -#### Macの場合 その2 -上記の方法で出来なかった場合は -http://qiita.com/hideaki_polisci/items/3afd204449c6cdd995c9 - -ここを参考にMacTexをインストールする。 - -.bashrcとかに -```bash -export PATH=$PATH:/Library/TeX/texbin -``` -と書いてパスを通す - -#### Windowsの場合 - -Mr.Yata「Bash on Windows使えばいける」 - -bash on windowsのインストールの仕方は下記参照 -http://qiita.com/Aruneko/items/c79810b0b015bebf30bb - -bash on Windowsインストール後、bash上でRE:VIEWとTexをインストールする -```bash -sudo gem install review -sudo apt install texlive-full -sudo apt install build-essential -sudo apt-get install ruby-dev -sudo gem install md2review -``` - -## Re:Viewでの執筆フロー - -### pdf化 - -```bash -review-pdfmaker config.yml -``` -もしくは、 - -```bash -rake pdf -``` - -でPDF生成 - -### 章ごとのファイル追加 - -catalog.yml内に -```yaml -CHAPS: - - Preface.re - - Chapter1.re - - Chapter2.re -``` -という風に記述すると章ごとに使いたいファイルを指定できる. - -### MarkDownからRe:Viewフォーマットに変換 - -```bash -md2review hoge.md > hoge.re -``` -ってやるだけ +![Chapters](https://raw.githubusercontent.com/IndieVisualLab/UnityGraphicsProgrammingBook1/master/images/chapters.png) +## サンプルコードリポジトリ +https://github.com/IndieVisualLab/UnityGraphicsProgramming +## 利用ツール +- Re:View +- md2review -# サンプルコードリポジトリ -https://github.com/IndieVisualLab/UnityGraphicsProgramming \ No newline at end of file +## ライセンス +CC BY 4.0 +Creative Commons Licence diff --git a/images/chapters.png b/images/chapters.png new file mode 100644 index 0000000..e56c9b5 Binary files /dev/null and b/images/chapters.png differ diff --git a/images/cover.png b/images/cover.png new file mode 100644 index 0000000..e3eed58 Binary files /dev/null and b/images/cover.png differ