-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
11 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.