TeXããã¿ã¯ãã¾ãè¯ãã¤ã¡ã¼ã¸ããªããç°å¢ã¨ãã§å¾®å¦ã«ä½ãã足ããªãã¿ãããªç¾è±¡ãããããReVIEWããã£ã¨ä½¿ãã使ããã¨æã£ã¦ããã®ã ãã©ãã¾ããããä»ã¾ã§æ¾ç½®ãã¦ããããããã®ãã³ReVIEWã使ããã¨ã«ãªã£ãã®ã§ããæ°ãåºãã¦æ§ç¯ããããããªã«é£ããã¯ãªãã£ãã
ã¨ããã§ãMacã¯MacTeXã¨ãããã°ãããããã±ã¼ã¸ããã£ã¦ãããããã¦ã³ãã¼ããã¦ã¤ã³ã¹ãã¼ã«ããã ãã§ããããã®ç°å¢ã¯æ´ããããããããã±ã¼ã¸ã®å®¹éãã¨ã«ãã大ãããã ããã¼ãã¯BasicTeXã使ããã¨ã«ããã
ç°å¢
- MacOSX
- Homebrew
- Git
- Bundler
BasicTeXã®ã¤ã³ã¹ãã¼ã«
ãã§ã«ã¤ã³ã¹ãã¼ã«ãã¦ããå ´åã¯ä»¥ä¸ãå¿ è¦ãããããªã(å¤ããã¼ã¸ã§ã³ä½¿ã£ã¦ãã¨ãã¾ãåããªã)ã
$ brew cask uninstall basictex $ sudo rm /Library/Caches/Homebrew/basictex-latest.pkg
basictex-latest.pkg
æ¶ããªãã¨éå»ã®ããã±ã¼ã¸ãã¤ã³ã¹ãã¼ã«ãããã
ããã®ã¤ã³ã¹ãã¼ã«ã
$ brew cask install basictex
ãã¹éãããæ¥æ¬èªä½¿ããããã«ãã
ãã¹éãã¦ä¾åããããããã®ã¤ã³ã¹ãã¼ã«ã
$ export PATH=/usr/texbin:$PATH $ sudo tlmgr update --self --all $ sudo tlmgr install ptex ptex2pdf jfontmaps jsclasses japanese-otf
ãã¹ã¯export
ãã¦ããã©.*shrc
ã«æ¸ãã¦source
ãããã
ãã©ã®ã使ãããã«è¨å®ããã
$ sudo mkdir -p /usr/local/texlive/2014basic/texmf-local/fonts/opentype/local/hiragino/ $ cd /usr/local/texlive/2014basic/texmf-local/fonts/opentype/local/hiragino/ $ sudo ln -fs "/Library/Fonts/ãã©ã®ãææ Pro W3.otf" ./HiraMinPro-W3.otf $ sudo ln -fs "/Library/Fonts/ãã©ã®ãææ Pro W6.otf" ./HiraMinPro-W6.otf $ sudo ln -fs "/Library/Fonts/ãã©ã®ã丸㴠Pro W4.otf" ./HiraMaruPro-W4.otf $ sudo ln -fs "/Library/Fonts/ãã©ã®ãè§ã´ Pro W3.otf" ./HiraKakuPro-W3.otf $ sudo ln -fs "/Library/Fonts/ãã©ã®ãè§ã´ Pro W6.otf" ./HiraKakuPro-W6.otf $ sudo ln -fs "/Library/Fonts/ãã©ã®ãè§ã´ Std W8.otf" ./HiraKakuStd-W8.otf $ sudo mktexlsr $ sudo updmap-sys --setoption kanjiEmbed hiragino
ReVIEWã§pdfã³ã³ãã¤ã«ããã®ã«å¿ è¦ãªãã®ã¤ã³ã¹ãã¼ã«
$ sudo tlmgr install framed wrapfig upquote collection-fontsrecommended $ cd && wget http://ftp.kddilabs.jp/TeX/ptex-win32/current/otfbeta.tar.xz $ tar xvf otfbeta.tar.xz $ cd share/texmf-dist/ $ sudo cp -Rv * /usr/local/texlive/2014basic/texmf-local/ $ sudo mktexlsr $ rm -rf share otfbeta.tar.xz
ããã§å¤å大ä¸å¤«ã
試ãã¦ã¿ã
$ cd && git clone [email protected]:TechBooster/FirstStepReVIEW.git $ cd FirstStepReVIEW/article $ bundle install --path vendor/bundle $ rake $ open book.pdf
ã¯ããã¦ã®ReVIEWãçæã§ããã¨æãã