macOS High Sierra ã® TeXç°å¢ã texlive2018 ã«æ´æ°ããã®ã§æé ãã¾ã¨ãã¾ãï¼
2019å¹´7æ5æ¥è¿½è¨ï¼ Tex Live 2019çã®è¨äºãç¨æãã¾ããï¼
pyopyopyo.hatenablog.com
ãã®è¨äºã¯ä»¥ä¸ã®ã¨ã³ããªã macOS High Sierra 㨠Tex Live 2018 ã«åããã¦æ´æ°ã»å çãããã®ã§ãï¼
- http://d.hatena.ne.jp/pyopyopyo/20170801
- http://d.hatena.ne.jp/pyopyopyo/20161106
- http://d.hatena.ne.jp/pyopyopyo/20150710
- http://d.hatena.ne.jp/pyopyopyo/20140815
BasicTeX
ããã±ã¼ã¸ã¯MacTeXã®ãµãã»ããçã§ãã BasicTeX ã使ãã¾ããï¼
MacTeXã¯å ¨ããã±ã¼ã¸ãã¤ã³ã¹ãã¼ã«ãã¾ãï¼ãã®ãã 2.4GB ãã®ãã£ã¹ã¯å®¹éãæ¶è²»ãã¾ã (Tex live 2014ã®å ´å)ï¼
ä¸æ¹ãµãã»ããçã§ãã BasicTeX ã¯æä½éã®ããã±ã¼ã¸ããã¤ã³ã¹ãã¼ã«ãã¾ããï¼å¿ è¦ãªå®¹é㯠230MBç¨åº¦ã§ãï¼ä¸è¶³ããã±ã¼ã¸ã¯å¾ããç°¡åã«ã¤ã³ã¹ãã¼ã«ã§ããã®ã§å®ç¨ä¸ã®åé¡ãããã¾ãã
ãã¦ã³ãã¼ã&ã¤ã³ã¹ãã¼ã«
https://tug.org/mactex/morepackages.html ãã mactex-basic.pkg ããã¦ã³ãã¼ãï¼ã¤ã³ã¹ãã¼ã«ãã¾ã
ãªãMacTeXã¯
- 2018 é常ç /usr/local/texlive/2018
- 2018 BasicTeX /usr/local/texlive/2018basic
- 2017 BasicTeX /usr/local/texlive/2017basic
ã¨ããæãã§ãã£ã¬ã¯ããªãåãã¦ãã¡ã¤ã«ãé ç½®ãã¾ã
ããã©ã«ãã®TeXç°å¢ã®é¸æã¯ï¼"TeX Distribution"ã¨ããã¢ããªã§è¡ãã¾ãï¼
ï¼ã¡ãã¥ã¼ã®âã·ã¹ãã ç°å¢è¨å®"ã«ã¢ã¤ã³ã³ãããã¾ãï¼Spotlightæ¤ç´¢ã§ TeX Distribution ã§ãèµ·åã§ãã¾ãï¼
ãã®ã¢ããªã¯
ã¨ããã·ã³ããªãã¯ãªã³ã¯ã管çãã¦ãã¦ï¼ããããªã³ã¯ã§ããã©ã«ãã®texç°å¢ãé¸æããä»çµã¿ã«ãªã£ã¦ãã¾ãï¼
ãã¨ãã° mactex-basic.pkg ãã¤ã³ã¹ãã¼ã«ããã¨ï¼/Library/TeX/texbin ã®ãªã³ã¯å ã¯
$ readlink -f /Library/TeX/texbin /usr/local/texlive/2018basic/bin/x86_64-darwin
ã¨ããæãã§ï¼/usr/local/texlive/2018basic/bin/x86_64-darwin ã«ãªãã¾ã
åæè¨å®
basictexããã¤ã³ã¹ãã¼ã«ãããï¼å¿ è¦ãªããã±ã¼ã¸ã追å ã¤ã³ã¹ãã¼ã«ãã¾ã
æ¹æ³ã¯äºã¤
ããã¾ãï¼
ããã§ã¯ï¼èª¬æãç°¡åï¼ã¨ããçç±ã§CUIã使ãã¾ãï¼
ã¿ã¼ããã«ãèµ·åãï¼ã¾ã㯠tlmgr èªèº«ãæ´æ°ãã¾ã
$ sudo tlmgr update --self
次ã«å°å ¥æ¸ã¿ããã±ã¼ã¸ã®æ´æ°
$ sudo tlmgr update --all
å人çã«è¯ã使ãããã±ã¼ã¸ãã¤ã³ã¹ãã¼ã«
$ sudo tlmgr install type1cm subfigure dvipdfmx multirow xstring logreq biblatex latexmk
æ¥æ¬èªç°å¢ã®è¨å®
Tex live 2018 ã§å°ãæé ã«å¤æ´ãããã¾ãï¼
TLContirb ãªãã¸ããªã®è¿½å ç»é²
ã©ã¤ã»ã³ã¹ã®é¢ä¿ã§ Tex live 2018 ã§ã¯ããã±ã¼ã¸æ§æã«å¤æ´ãããã¾ããï¼
macOS å梱ã®ãã©ã³ãã使ãããã®ããã±ã¼ã¸éã¯å¥ãªãã¸ããªï¼ TLContrib ï¼ã¸åé¢ãããã®ã§ï¼
ã¾ãã¯ãã®ãªãã¸ããªãç»é²ãã¾ãï¼
$ sudo tlmgr repository add http://contrib.texlive.info/current tlcontrib $ sudo tlmgr pinning add tlcontrib '*'
ãã©ã³ãå¨ãã§éè¦ãªããã±ã¼ã¸ã¯
- cjk-gs-integrate-macos (cjk-gs-integrateã®macOSç)
- adobemapping (adobemapping ãå ¥ãã¦ãããªãã¨dvipdfmxã§ã¨ã©ã¼ãåºã¾ã)
- ptex-fontmaps
ã§ã
ãªãã¸ããªã®ç»é²ãæ¸ãã ãï¼æ¥æ¬èªé¢é£ã®ããã±ã¼ã¸ãã¾ã¨ãã¦ã¤ã³ã¹ãã¼ã«ãã¾ã
$ sudo tlmgr install ptex-fontmaps-macos cjk-gs-integrate-macos japanese-otf-nonfree ptex platex jsclasses japanese-otf cjk-gs-integrate adobemapping ptex-fontmaps
ãã©ã³ãã®ç»é²
cjk-gs-integrate-macos ã¨ããã¹ã¯ãªãã(cjk-gs-integrate ã®mac os ç)ãã¤ã³ã¹ãã¼ã«ãããã®ã§ï¼ããã使ã£ã¦ mac OS ã®ãã©ã³ããç»é²ãã¾ã
$ sudo cjk-gs-integrate-macos --link-texmf --force $ sudo mktexlsr
ç»é²ãã¿ãã©ã³ãã®ç¢ºèª
ãã©ã³ãã®è¨å®ç¨ã« kanji-config-updmap-sys ã¨ããã¹ã¯ãªãããã¤ã³ã¹ãã¼ã«ããã¾ãï¼
ãã®ã¹ã¯ãªããã§ç¾å¨ã®è¨å®ã確èªãã¾ãï¼
$ sudo kanji-config-updmap-sys status
以ä¸ã®åºåãå¾ããã¾ã
CURRENT family for ja: noEmbed Standby family : hiragino-highsierra Standby family : hiragino-highsierra-pron Standby family : ipa Standby family : ipaex Standby family : kozuka Standby family : ms Standby family : toppanbunkyu-highsierra Standby family : yu-win
å
é è¡ã¯ç¾å¨ã®è¨å®ã§ï¼æ¥æ¬èªãã©ã³ãã¯åãè¾¼ã¾ãªãï¼ã¨ããæå³ã§ã
æ®ãã¯å©ç¨å¯è½ãªãã©ã³ãã®ä¸è¦§ã§ã
ãã©ã³ãã®å¤æ´
ãã©ã³ããç»é²ã§ãããï¼pdfã«åãè¾¼ããã©ã³ããæå®ãã¾ã
$ sudo kanji-config-updmap-sys hiragino-highsierra-pron
èªå㧠extractbb ãå®è¡ãããããã«ãã
以ä¸ã®å 容㧠/usr/local/texlive/texmf-local/web2c/texmf.cnf ãç¨æãã¾ã
shell_escape_commands = \ bibtex,bibtex8,bibtexu,upbibtex,biber,\ kpsewhich,\ makeindex,mendex,texindy,xindy,\ mpost,upmpost,\ repstopdf,epspdf,extractbb
å¤ã TeXç°å¢ã®åé¤
uninstallã¯ç°¡åã§ã
MacTex 2017 ãæ¶ãããå ´å㯠/usr/local/texlive/2017basic ããã£ã¬ã¯ããªæ¯åé¤ããã ãã§ã
$ sudo rm -rf /usr/local/texlive/2017basic
ãã©ãã«ã·ã¥ã¼ãã£ã³ã°
- pdfã«ç»åãè²¼ããªã/gsã³ãã³ããç¡ã
- ghostscript (gsã³ãã³ã) ãã¤ã³ã¹ãã¼ã«ããã¦ããªã㨠dvipdfmx çµç±ã§ä½æãã pdf ã«ç»åãè²¼ããªãå ´åãããã¾ãï¼ghostscript ãã¤ã³ã¹ãã¼ã«ããã«ã¯ https://tug.org/mactex/morepackages.html ã® mactex-additions.pkg ãã ghostscriptãé¸æãã¦ã¤ã³ã¹ãã¼ã«ããã®ã楽ããã§ãï¼
- LaTeX It ã使ããã
- gsã³ãã³ããå¿ è¦ãªã®ã§ï¼ãããããä¸è¨ã®æé ã§ghostscriptãã¤ã³ã¹ãã¼ã«ã㦠http://www.chachatelier.fr/latexit/ ããdmgããã¦ã³ãã¼ãï¼ã¤ã³ã¹ãã¼ã«ããï¼
- TeX Live Utility.app ã使ããã
- https://code.google.com/p/mactlmgr/
- dvipdfmx ãCould not find encoding file âHâ. ã¨ããã¨ã©ã¼ãåºã
- adobemapping ããã±ã¼ã¸ãã¤ã³ã¹ãã¼ã«ããã¨ç´ãã¾ã
- æ¥æ¬èªãã©ã³ãã使ããªããªã£ã
- Tex live 2018 ã§ãã©ã³ãå¨ã(ããã±ã¼ã¸æ§æãã³ãã³ãå)ã«å°ãå¤æ´ãå ¥ã£ã¦ããããã§ãï¼ä¸è¨æé ãåèã«ãã©ã³ãå¨ãã®è¨å®ãè¦ç´ãã¦ãã ãã
ã¾ã¨ã
ã¤ã³ã¹ãã¼ã«å¾ã® /usr/local/texlive/2018basicã®ãµã¤ãºã¯ 546MB ã§ããï¼2014basicã®é ãã220MBã»ã©å°ãããªã£ãããã§ãï¼
Tex live 2014ã¯å ¨é¨ã¤ã³ã¹ãã¼ã«ãã㨠2.4GBç¨åº¦ãªã®ã§ï¼ããã«æ¯ã¹ãã¨ããªããã£ã¹ã¯å®¹éãç¯ç´ã§ããããã§ãï¼
ãã¬ã¢ãã¹åºç
売ãä¸ãã©ã³ãã³ã°: 233,232