Skip to content

Commit

Permalink
Update README.
Browse files Browse the repository at this point in the history
  • Loading branch information
mattatz committed Apr 26, 2020
1 parent 59c4f72 commit 5e7ad67
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 106 deletions.
117 changes: 11 additions & 106 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
## ライセンス
CC BY 4.0
<a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons Licence" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/80x15.png" /></a>
Binary file added images/chapters.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/cover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5e7ad67

Please sign in to comment.