TeXShop ã®æ¥æ¬èªãã«ããã¡ã€ã«ã®ã¢ãŒã«ã€ã (v1-1) ã§ãã
äœæ¥åœæã®æ¥è±å¯Ÿèš³ããã¹ããã¢ããããŠããŸãã
#Basic HelpïŒåºæ¬çãªãã«ãïŒïŒãã®1ïŒ
##PreliminariesïŒãŸãããïŒ
âTeXShop is a Mac OS X program which can typeset TeX and LaTeX files and preview the output on the screen. The program usually typesets using pdftex or pdflatex instead of tex or latex. These programs output pdf files rather than dvi files. Since pdf is the native graphics format of Mac OS X, it is easy to display the output on the screen. Pdftex and pdflatex were written by Han The Thanh, Petr Sojka, and Jiri Zlatuska.
ãâ ãTeXShop 㯠Mac OS çšã®ããã°ã©ã ã§ãââ TeX ããã³ LaTeX ãã¡ã€ã«ãã¿ã€ãã»ããïŒçµçïŒããåºåçµæãç»é¢äžã§ãã¬ãã¥ãŒããããšãã§ããŸãã TeXShop ã¯éåžžãTeX ã LaTeX ã®ä»£ããã« pdftex ããã㯠pdflatex ã䜿ã£ãŠã¿ã€ãã»ãããè¡ãªããŸãããããã®ããã°ã©ã 㯠dvi ãã¡ã€ã«ã§ã¯ãªã pdf ãã¡ã€ã«ãåºåããŸãããšããã®ã pdf 㯠Mac OS ã®ãã€ãã£ããªã°ã©ãã£ãã¯ã»ãã©ãŒããããªã®ã§ãç»é¢äžã«åºåã衚瀺ããã®ã容æãªã®ã§ãã pdftex ãš pdflatex 㯠Han The Thanh ãããPetr Sojka ãããš Jiri Zlatuska ããã«ãã£ãŠäœæãããŸããã
âThe pdf files created by TeXShop are standard pdf files which can be given to other people and displayed on a variety of computer systems. For example, they can be displayed by Adobe Acrobat.
ãâ ãTeXShop ã«ãã£ãŠçæããã pdf ãã¡ã€ã«ã¯ãæšæºç㪠pdf ãã¡ã€ã«ãªã®ã§ãä»ã®äººã ã«æž¡ãããããããããªã³ã³ãã¥ãŒã¿ã»ã·ã¹ãã ã§è¡šç€ºããããã§ããŸããããšãã° Adobe Acrobat ã§è¡šç€ºãããããšãã§ããŸãã
âTeXShop does not include TeX. Instead it uses the standard TeX distribution teTeX, a wonderful collection of the entire suite of TeX programs, files, and utilities created by Thomas Esser. This collection (the standard version of TeX on Linux systems) has been compiled for Mac OS X by Gerben Wierda. Instructions for obtaining it are given below.
ãâ ãTeXShop ã« TeX ã¯å«ãŸããŠããŸããããã®ä»£ãã TeX ã®æšæºçãªãã£ã¹ããªãã¥ãŒã·ã§ã³ã§ãã teTeXãçšããŸãââ teTeX 㯠TeX ããã°ã©ã ããã¡ã€ã«ããŠãŒãã£ãªãã£ãªã©ãäžåŒåãæããçŽ æŽãããã³ã¬ã¯ã·ã§ã³ã§ã Thomas Esser ããã«ãã£ãŠäœæããããã®ã§ãããã®ã³ã¬ã¯ã·ã§ã³ïŒ Linux ã·ã¹ãã ã«ããã TeX ã®æšæºçïŒãã Gerben Wierda ããã«ãã£ãŠ Mac OS  çšã«ç§»æ€ãããŸããã teTeX ãæã«å ¥ããããã®æåŒãã次ã«ç€ºããŸãã
ãâ ããã®åã«ãæ¥æ¬èªãŠãŒã¶çšã« pTeX ã®å°å ¥ã«ã€ããŠã次é ãpTeX ãš TeXShop ã§æ¥æ¬èªç°å¢ãæ§ç¯ãããã§ç°¡åã«è¿°ã¹ãŠãããŸãã
##pTeX ãš TeXShop ã§æ¥æ¬èªç°å¢ãæ§ç¯ããïŒ Getting started with pTeX and TeXShop ïŒ
ããããããŸãããTeXShop ã« TeX ã¯å«ãŸããŠããŸãããã§ããã TeXShop ãšã¯å¥ã« TeX ããã±ãŒãžãã€ã³ã¹ããŒã«ããŠããå¿ èŠããããŸããè±èªç°å¢ã§ã¯ Gerben Wierda ããã«ãã i-Installer ã§ã®ã€ã³ã¹ããŒã«ãæšå¥šãããŠããŸãããæ¥æ¬èªã«ãã TeX ææžã®äœæããæã¿ãªããpTeX ãå«ãããã±ãŒãžãçšããã¹ãã§ããããpTeXïŒ Publishing TeX ïŒã¯ã暪çµã¿ã ãã§ãªã瞊çµã¿ã®æ¥æ¬èªæ©èœãè¿œå ããæ¥æ¬èªTeX ã§ãã¢ã¹ããŒã«ããäœæãããŸããã詳现㯠http://www.ascii.co.jp/pb/ptex/index.html ãåç §ããŠãã ããã
äžèšã®ãŠã§ããµã€ãã§ããœãŒã¹ãã¡ã€ã«ãé åžããŠããŸããã pTeX 以å€ã«ã dvipdfmx ã Ghostscript ãšãã£ãé¢é£ããã°ã©ã ãã€ã³ã¹ããŒã«ããå¿ èŠããããŸãã幞ããªããšã« Mac OS X çšã«ã³ã³ãã€ã«æžã¿ã®ãã€ããªã»ããã±ãŒãžãããã€ãé åžãããŠããããããã䜿ãããšã§ã容æã«ã€ã³ã¹ããŒã«ã§ããããã«ãªã£ãŠããŸãã2006幎12ææç¹ã§ãå ¥æå¯èœãªããã±ãŒãžã«ã€ããŠä»¥äžã«ç€ºããŸãã
-
pTeX(sjis) + JMacros package for Mac OS XïŒå°å·çïŒ
- http://www2.kumagaku.ac.jp/teacher/herogw/
- Big ãš Small ïŒã€ã® pTeXããã±ãŒãžãçšæãããŠããŸãããBig180MBã®éžæããå§ãããŸãïŒã³ã³ããŒãã³ãã®èŠäžèŠã®å€å¥ãã€ããªãåå¿è ã®æ¹ã pdftex ãå¿ èŠãšããç工系ã®æ¹ãïŒãããã«å ã㊠Ghostscript ãããŠã³ããŒãããŠã€ã³ã¹ããŒã«ããŸããæŽæ°ããã°ä¿®æ£ãæ©ãããšã«å ãã ãæ系瞊çµçšãã«äŸ¿å©ãªããŒã«é¡ãå«ãŸããŠããŸããçæ¬åŠå倧åŠã®å°å·åŒåå çã«ããé åžãããŠããŸãã
-
æ¹èšç¬¬ïŒçLaTeX2eçŸææžäœæå ¥é
- http://oku.edu.mie-u.ac.jp/~okumura/bibun4/
- äžé倧åŠã®å¥¥ææŽåœŠå çãæžãããæ¬ã§ãåœå ã® TeX ã®å ¥éïŒåèæžãšããŠã¯å®çªã®ãã®ã§ããä»é² CD-ROM ã« pTeX ãš ghostscript ã®ã³ã³ãã€ã«æžã¿ãã€ããªã»ããã±ãŒãžãåé²ãããŠããŸãã
ãŸãããã®ä»ã«ããFink ã MacPorts ãªã©ã® UNIX ããã±ãŒãžéã䜿ã£ãŠ pTeX ãã€ã³ã¹ããŒã«ããããšãã§ããŸããpTeX ã®ã€ã³ã¹ããŒã«æ¹æ³ã«ã€ããŠã¯ã以äžã®ãµã€ããèµ·ç¹ã«ããŠæ å ±ãåéããŠäžããã
-
MacWiki
- http://macwiki.sourceforge.jp/cgi-bin/wiki.cgi
- http://macwiki.sourceforge.jp/cgi-bin/wiki.cgi?TeXShop
- Mac OS Xäžã®åŠè¡ç³»ããŒã«ããªãŒãã³ãœãŒã¹ãœãããŠã§ã¢æ å ±ãæ±ã Wiki ãµã€ãã§ããæ¥æ¬èªã® TeXShop æ å ±ããã¡ãã«éãŸã£ãŠããŸãã
-
TeXWiki
- http://oku.edu.mie-u.ac.jp/~okumura/texwiki/
- æ¥æ¬èª TeX é¢é£ã®æ å ±ãæ±ãç·å Wiki ãµã€ãã§ããäžã§çŽ¹ä»ããæžç±ãçŸææžäœæå ¥éãã®èè ã奥æå çã管çãªãã£ãŠããŸãã
pTeX + TeXShop ã§æ¥æ¬èªTeXææžãäœæããéã®æ³šæç¹ã«ã€ããŠè¿°ã¹ãŠãããã°ãªããŸããã TeXShop ã«ã¯ãpdfTeXã ãTeX + Ghostscriptã ãããŒãœãã«ã¹ã¯ãªãããã®ïŒçš®é¡ã®ã¢ãŒãããããããããã«ã¿ã€ãã»ããã®æ¹åŒãç°ãªã£ãŠããŸããæ¥æ¬èªç°å¢ã§ã¯ãTeXïŒGhostscriptãã䜿ããšããã§ãããã TeX ãã¡ã€ã«ã¯ pTeX ã«ãã£ãŠ dvi ãã¡ã€ã«ã«å€æãããããã« dvipdfmx ã«ãã£ãŠ pdf ãã¡ã€ã«ã«å€æãããŸãã ãTeXïŒGhostscriptãã¢ãŒãã§å©çšã§ããç»å圢åŒã¯ãåºæ¬çã«ã¯ eps ãš ps ã§ããã dvipdfmx èªäœã¯ pdf ã» jpg ã» png ã» mps ãæ±ãããšãå¯èœã§ãïŒ jpg ã» png ã» pdf ç»åã®æ±ãã«ã€ããŠã¯ããã«ãé ç®ãç»åãå ¥ããããåç §ããŠãã ããïŒã
ãTeX + GhostscriptããïŒèšå·ã§çµã°ããŠããããšã«è§ŠããŠããã¹ããããããŸããââããã¯ã·ã§ã«ã¹ã¯ãªããã«ãã platex -> dvipdfmx ãšããåäœãå®è¡ãããŠããã«ãããªãããšãæå³ããŠããŸããã€ãŸããããšãã°ç®æ¬¡ã®äœæãªã©ã®ããã«è€æ°åã®ã¿ã€ãã»ãããå¿ èŠãªå Žåã«ã¯ãããã¶ãç¡é§ãçããããšããããšã§ããããããç¡é§ãçããããŠãŒã¶ã¯ã platex -> platex -> dvipdfmx ãšããããã«åäœãããã¯ãã»ã¹ã¯ãªãããå©çšããããšãã§ããŸãããã¯ãã«ã€ããŠè©³ããç¥ãããå Žåã¯ããã¯ãã»ãã«ãããã調ã¹ãã ããã
ãpdfTeXãã¢ãŒãã¯ã pdftex ããã°ã©ã ãå©çšã㊠tex ãã¡ã€ã«ãçŽæ¥ pdf ãã¡ã€ã«ã«å€æããŸãã ãTeXïŒGhostscriptãã¢ãŒããããé«éã«ã¿ã€ãã»ãããè¡ãªãããšãã§ããŸãããããæ®å¿µãªããšã«æ¥æ¬èªã«ã¯å¯Ÿå¿ããŠããŸããââç§åŠç³»ã®åŠè¡è«æãªã©ãè±æã ããæ±ãå Žåã«äœ¿ããšäŸ¿å©ã§ãããã ãpdfTeXãã¢ãŒãã§ã¯ pdf ã» jpg ã» png ã» mps 圢åŒã®ç»åãã¡ã€ã«ã貌ã蟌ãããšãã§ããŸãã eps ã tif ãšãã£ã圢åŒã®ãã¡ã€ã«ã¯ãçŽæ¥ã¯æ±ããŸããããã¿ã€ãã»ããæã«èªåçã« pdf ãªãã㯠png 圢åŒã«å€æããä»çµã¿ãçšæãããŠããŸãïŒè©³çŽ°ã¯ãã«ãé ç®ã®ãç»åãå ¥ããã ãç»å圢åŒãèªåçã«å€æããããåç §ããŠãã ããïŒã
ã¿ã€ãã»ããã¢ãŒã㯠ã¡ãã¥ãŒããŒã®ãã¿ã€ãã»ãããã¡ãã¥ãŒã§æžé¡ããšã«èšå®ããããšãã§ããŸãããŸããç°å¢èšå®ããã«ã®ãã¿ã€ãã»ãã > ããã©ã«ãã®ã¹ã¯ãªããã㧠ããã©ã«ãã®ã¿ã€ãã»ããã¢ãŒããå€æŽããããšãã§ããŸãã
以äžã«ããããã®éãããŸãšããŠãããŸãã
ã¿ã€ãã»ããã¢ãŒã | pdfTeX | TeX + Ghostscript |
---|---|---|
ã¿ã€ãã»ãã | é«é | ããé ã |
æ¥æ¬èª | äžå¯ | å¯ |
ç»ååœ¢åŒ | pdfãjpgãpngãmps (â») | epsãps |
â» mps ã»ã»ã» MetaPost åºåã® eps 圢åŒ
TeXShop ã®ã€ã³ã¹ããŒã«ãã®ãã®ã¯ãé£ããããšã§ã¯ãããŸããââãTeXShop ã®å ¥æãšã€ã³ã¹ããŒã«ãã«è©³ããããšãæžãããŠããŸãããèŠããã«ã¢ããªã±ãŒã·ã§ã³æ¬äœããéåžžã¯ã¢ããªã±ãŒã·ã§ã³ã»ãã©ã«ãã«ã³ããŒããã ãã§ãã TeXShop ãš pTeX ã®ã€ã³ã¹ããŒã«ã¯ãã©ã¡ããå ã§ãããŸããŸããã
ãããã®ããã±ãŒãžã䜿ã£ãŠ pTeX ãã€ã³ã¹ããŒã«ããå Žåã次ã®ãteTeX ã®å ¥æãšã€ã³ã¹ããŒã«ãã¯èªã¿é£ã°ããŠããŸããŸããââ TeX ã¯ããæ¢ã«ã€ã³ã¹ããŒã«ãããŠããŸãããã
##Getting and Installing teTeXïŒ teTeX ã®å ¥æãšã€ã³ã¹ããŒã«ïŒ
âThe MacTeX working group of the TeX Users Group (TUG) has produced an Apple install package containing everything needed to run TeX on Mac OS X. The package installs in a couple of minutes with almost no user intervention. It contains a very complete version of Gerben Wierda's TeX redistribution, TeXShop, BibDesk, the Excalibur spell checker, and Gerben's i-Installer. For up to date links to the package, see
ãâ ãTeX ãŠãŒã¶ã°ã«ãŒãïŒTUGïŒå ã® MacTeX äœæ¥ã°ã«ãŒãã«ãããã€ã³ã¹ããŒã©åœ¢åŒã®ããã±ãŒãžãäœæãããŠããŸãããããã«ã¯ Mac OS X äžã§ TeX ãå®è¡ããã®ã«å¿ èŠãªãã®ããã¹ãŠå ¥ã£ãŠããŸãããã®ããã±ãŒãžã«ãããã»ãšãã©äœã®æéããªãæ°åã§ã€ã³ã¹ããŒã«ãæžã¿ãŸããåé²ãããŠããã®ã¯ââ Gerben Wierda ããã«ãã TeX ã®ãªãã£ã¹ããªãã¥ãŒã·ã§ã³ïŒåé åžç©ïŒã®å®å šçãTeXShopãBibDeskãExcaliburïŒã¹ãã«ãã§ãã«ãŒïŒããããšåãã Gerben ããã® i-Installer ã§ãããã®ããã±ãŒãžã«ã€ããŠã®ææ°ã®ãªã³ã¯ã¯äžèšãåç §ããŠäžããã
âYou can also obtain Gerben Wierda's TeX redistribution separately (this is the distribution contained in the above package). The latest version of this distribution is compiled for both Intel and PowerPC processors and requires system 10.3 or higher. It is based on the latest teTeX for MacOSX and includes updated programs from the TeX User's Group's distribution TeXLive. To obtain these files and programs, go to Wierda's site
ãâ ãGerben Wierda ããã® TeX ã®ãªãã£ã¹ããªãã¥ãŒã·ã§ã³ïŒåé åžç©ïŒã¯åç¬ã§ãå ¥æããããšãã§ããŸãââããã¯äžè¿°ã®ããã±ãŒãžã«å«ãŸããŠãããã£ã¹ããªãã¥ãŒã·ã§ã³ã§ãã ãã®ãã£ã¹ããªãã¥ãŒã·ã§ã³ã®ææ°çã¯ã€ã³ãã³ã«ããã³ PowerPC ããã»ããµäž¡çšã«ã³ã³ãã€ã«ãããŠãããMacOSX 10.3 以äžãå¿ èŠã§ããMacOSX åãã®ææ°ã® teTeX ã«åºã¥ããŠãããTeXLiveïŒ TeX Users Group ã«ãããã£ã¹ããªãã¥ãŒã·ã§ã³ïŒãæäŸããã¢ããããŒããããããã°ã©ã ãå«ãŸããŠããŸãããããã®ãã¡ã€ã«ãããã°ã©ã ãæã«å ¥ããã«ã¯ã Wierda ããã®ãµã€ããåç §ããŠäžããã
âand obtain i-Installer, the TeX installer. You'll find it in the downloadable package II2.dmg. Run the installer and install the following packages in the following order:
ãâ ããã㊠i-Installer ïŒTeX ã®ã€ã³ã¹ããŒã©ïŒãååŸããŠãã ãããII2.dmgãšããããŠã³ããŒãå¯èœãªããã±ãŒãžã«åããããŠããŸããã€ã³ã¹ããŒã©ãå®è¡ãã以äžã®ããã±ãŒãžãé åºéãã€ã³ã¹ããŒã«ããŸãïŒ
- FreeType 2
- libwmf
- PNG Library
- Ghostscript 8
- ImageMagick
- FontForge
- Fondu Mac Font cli Tools
- TeX
âThe MacTeX package installs some other optional packages which you can also obtain with i-Installer:
ãâ ãMacTeX ããã±ãŒãžã«ãããä»ã«ãããã€ãã®ããã±ãŒãžããªãã·ã§ã³ã§ã€ã³ã¹ããŒã«ãããŸããããããã i-Installer ã䜿ã£ãŠå ¥æã§ãããã®ã§ãã
- CM-Super
- CB Greek
- MusixTeX
- ConTeXt updated
- XeTeX (this is in Jonathan Kew's directory)
âMore detailed installation instructions can be found on Wierda's site, and on the TeXShop web site listed later.
ãâ ãããã«è©³ããã€ã³ã¹ããŒã«ã«ã€ããŠã®è§£èª¬ã¯ Wierda ããã®ãµã€ãã«ãããŸããã TeXShop ã®ãŠã§ããµã€ãã«ãæ²èŒããŸããã
##Getting and Installing TeXShop ïŒ TeXShop ã®å ¥æãšã€ã³ã¹ããŒã«ïŒ
âLog onto the web site
ãâ ããŠã§ããµã€ããžãã°ãªã³ããŸãââ
âand click the TeXShop link to download the file TeXShop.dmg. Double click on this file; a folder will appear containing TeXShop and other files which can be read or discarded. Drag TeXShop to the Applications folder. If you intend to use it often, drag its icon to the Dock.
ãâ ããã㊠TeXShop ã®ãªã³ã¯ãã¯ãªãã¯ã㊠TeXShop.dmg ãšãããã¡ã€ã«ãããŠã³ããŒãããŠãã ããããã®ãã¡ã€ã«ãããã«ã¯ãªãã¯ããŸã ïŒ ãã©ã«ããïŒã€çŸãããŸããããã®äžã« TeXShop ãšãã®ä»ã®èªãã ãåŠåãããã§ãããã¡ã€ã«ãå ¥ã£ãŠããŸãã TeXShop ãã¢ããªã±ãŒã·ã§ã³ã»ãã©ã«ãã«ãã©ãã°ããŠãã ãããããé »ç¹ã«äœ¿ãããã§ããã°ãã¢ã€ã³ã³ãããã¯ã«ãã©ãã°ããŠãããŸãã
âTeXShop has a feature called pdfsync: clicking on a spot in the preview window activates the corresponding source window with the appropriate source line selected. This feature requires that files named "pdfsync.sty", "pdfsync.tex", and "pdfsync4context.tex" be installed in teTeX. these files in the TeXShop distribution and drag them to ~/Library/texmf/tex/latex, ~/Library/texmf/tex/plain, and ~/Library/texmf/tex/context. Here ~/Library is the Library folder in your home directory. You may have to create some or all of the folders texmf, tex, latex, and plain.
ãâ ãTeXShop ã«ã¯ pdfsync ãšããæ©èœããããŸãïŒãã¬ãã¥ãŒãŠã€ã³ããŠäžã®äžç¹ãã¯ãªãã¯ãããšããã®ç®æã«å¿ããŠãœãŒã¹ãŠã€ã³ããŠãã¢ã¯ãã£ãã«ãããšãšãã«ãœãŒã¹ã³ãŒãã®çžåœããè¡ãéžæããŸãããã®æ©èœã䜿ãã«ã¯ ãpdfsync.styã ãpdfsync.texã ãpdfsync4context.texã ãšãã£ããã¡ã€ã«ã teTeX ã«ã€ã³ã¹ããŒã«ããŠããå¿ èŠããããŸãã TeXShop ã®ãã£ã¹ããªãã¥ãŒã·ã§ã³å ã«ãããã¡ã€ã«ã ~/Library/texmf/tex/latex ã» ~/Library/texmf/tex/plain ããã³ ~/Library/texmf/tex/context ã«ãããããã©ãã°ããŠãã ããã ~/Library ã¯ããŒã ã»ãã£ã¬ã¯ããªã®ã©ã€ãã©ãªã»ãã©ã«ãã®ããšã§ãã texmf ã» tex ã» latex ã» plain ã» context ãšãã£ããã©ã«ããäœããã°ãªããªããããããŸããã
- è£è¶³ïŒãã®æ©èœã«é¢ããŠã¯ã ãcommandïŒã¯ãªãã¯ãã«ãããã¬ãã¥ãŒãšãœãŒã¹éã§çžäºã«ç §å¿ã§ããŸããã pdflatex ã§ã¿ã€ãã»ããããå¿ èŠãããã ãTeXïŒghostscriptãã§ã¯äœ¿ããŸããã
âTeXShop 1.35 came with additional applescripts by Will Robertson and Claus Gerhardt. You will have these automatically if you installed a later version of TeXShop for the first time. But if you upgraded from a version earlier than 1.35, you will not automatically see those new scripts.
ãâ ãTeXShop 1.35ã«ã¯ Will Robertson ãããš Claus Gerhardt ããã«ãã è¿œå ã® AppleScript ãä»å±ããŠããŸããã æ°ããããŒãžã§ã³ã® TeXShop ãåããŠã€ã³ã¹ããŒã«ããã®ã§ããã°ã è¿œå ã®ã¹ã¯ãªããã¯èªåçã«çµã¿èŸŒãŸããŠããŸãã ããã©ã 1.35 以åã®ããŒãžã§ã³ããã¢ããã°ã¬ãŒãããå Žåã¯ã ãããã®æ°ããã¹ã¯ãªããã¯èªåã§ã¯çŸãããŸããã
âIf you never edited the default macro set, you can obtain the new macros by going to the folder ~/Library/TeXShop and removing the entire Macros folder inside. The next time TeXShop starts, it will recreate this folder with the latest macros. It is not enough to remove the contents of the Macros folder; the entire folder must be removed.
ãâ ãããã©ã«ãã®ãã¯ãã»ã»ãããå°ããããã£ãŠããªãã®ã§ããã°ã ~/Library/TeXShop å ã® Macros ãã©ã«ããäžžããšåãé€ãããšã§ãæ°ãããã¯ããå°å ¥ã§ããŸãã TeXShop ãç«ã¡äžãããšãææ°ã®ãã¯ããšãã£ããã«ãã®ãã©ã«ããäœãçŽããŸãã Macros ãã©ã«ãã®å 容ç©ãåãé€ãã ãã§ã¯äžååã§ã ïŒ ãã©ã«ãèªäœãåãé€ããã°ãªããŸããã
âIf you have edited the default macros and want to add the new macro set, remove the Macros folder temporarily and let TeXShop create a new macro set. Then add your old macros using the Macro Editor.
ãâ ãããããã©ã«ãã®ãã¯ããç·šéããŠããããã®ããã§æ°ãããã¯ãã»ãããè¿œå ãããã®ã§ããã°ããã£ãã Macros ãã©ã«ããåãé€ãã TeXShop ã«æ°ãããã¯ãã»ã»ãããäœæãããŸãããã®åŸã§å€ããã¯ãããã¯ããšãã£ã¿ã䜿ã£ãŠè¿œå ããŠãã ããã
âTeXShop 1.35 came with new templates by Will Robertson. These templates will not automatically be installed. You can obtain them by going to the folder ~/Library/TeXShop and moving the entire Templates folder inside to the Desktop. The next time TeXShop starts, it will recreate this folder with the latest Templates. You can then move old Templates you have edited from the folder on the desktop to the newly created folder ~/Library/TeXShop/Templates.
ãâ ãTeXShop 1.35ã«ã¯ Will Robertson ã«ããæ°ãããã³ãã¬ãŒãéãä»å±ããŠããŸããã ãã®ãã³ãã¬ãŒãã¯èªåã§ã¯ã€ã³ã¹ããŒã«ãããŸããã ~/Library/TeXShop å ã®ãã³ãã¬ãŒãã»ãã©ã«ããäžžããšãã¹ã¯ãããã«ç§»åãããããšã§æã«å ¥ããŸãã次å TeXShop ãèµ·åããéã«ãææ°ã®ãã³ãã¬ãŒããå«ãã ãã³ãã¬ãŒãã»ãã©ã«ããäœãçŽãããŸãããã®åŸãèªåã§ç·šéããå€ããã³ãã¬ãŒããããã¹ã¯ãããã«çœ®ãããã©ã«ãããæ°ããäœããããã©ã«ã ~/Library/TeXShop/Templates ãžç§»ããŸãã
##Typesetting DocumentsïŒããã¥ã¡ã³ããã¿ã€ãã»ããããïŒ
âTo use TeXShop, type your LaTeX input in the editing window it provides. Then push the "Typeset" button at the top of the window. The input will be saved and pdflatex will run. A second window will open displaying messages from tex. If there are errors, pdflatex will halt; type "return" to skip the errors one by one, or one of the standard TeX inputs to quit, run continuously, etc. After the document has been typeset, a new window will appear showing the resulting pdf file. You can switch between the two windows by typing command-1.
ãâ ãTeXShop ã䜿ãã«ã¯ãåãä»ãã®ç·šéãŠã€ã³ããŠã« LaTeX ã®ãœãŒã¹ã³ãŒããæã¡èŸŒã¿ãŸãããããŠãŠã€ã³ããŠäžéšã«ãããã¿ã€ãã»ããããã¿ã³ãæŒããŸããå ¥åãããã®ãä¿åããã pdflatex ãå®è¡ãããŸããããã²ãšã€ãŠã€ã³ããŠãéãã TeX ããã®ã¡ãã»ãŒãžã衚瀺ããŸãããããšã©ãŒãããã° pdflatex ã¯æ¢ãŸããŸã ïŒ ãšã©ãŒãã²ãšã€ãã€ã¹ãããããã«ã¯ããªã¿ãŒã³ããã¿ã€ãããŸãããçµäºãããããå®è¡ãç¶ç¶ããããããªã©ãšãã£ãããšãããããã«ãTeX ã®åœä»€ãæã¡èŸŒãããšãã§ããŸããææžãã¿ã€ãã»ããããããšãåºåçµæã® pdf ãã¡ã€ã«ã衚瀺ããæ°ãããŠã€ã³ããŠãéããŸããïŒã€ã®ãŠã€ã³ããŠã¯ command + 1 ã§åãæ¿ããããšãã§ããŸãã
âPress the mouse on a section of the pdf output display to magnify the region near the cursor. Double click to magnify a larger region; triple click to magnify a still larger region. Notice that the default region size can be selected using an element of the toolbar at the top of the page.
ãâ ãpdf ã®åºåçµæã®ç»é¢ã§ããŠã¹ããã¬ã¹ãããšã«ãŒãœã«ã®ä»è¿äžåž¯ãæ¡å€§ãããŸããããã«ã¯ãªãã¯ãããšããåºãç¯å²ãæ¡å€§ãããŸã ïŒ ããªãã«ã¯ãªãã¯ã§ã¯ããã«åºãç¯å²ãæ¡å€§ãããŸããããŒãžäžéšã®ããŒã«ããŒã®ãã¿ã³ã§ããã©ã«ãã®ïŒãã¬ã¹ãããšãã®ïŒæ¡å€§ç¯å²ãµã€ãºãéžæããããšãã§ããŸãã
âTo typeset a TeX document, push the button labeled LaTeX and select TeX instead of LaTeX. If you usually use TeX, choose it as your default program in the Preferences Dialog.
ãâ ãTeX ææžã®ã¿ã€ãã»ãããè¡ãªãã«ã¯ã LaTeX ãšè¡šç€ºãããŠãããã¿ã³ãæŒã㊠LaTeX ã®ä»£ããã« TeX ãéžæããŸããããæ®æ®µãã TeX ãçšããã®ã§ããã°ãç°å¢èšå®ãã€ã¢ãã°ã§ããã©ã«ãã®ããã°ã©ã ã TeX ã«ããŠãã ããã
âIf you notice an error, you can immediately fix it in the editing window and push the "Typeset" button again without halting the first invocation of pdflatex. The program will kill that invocation and run another.
ãâ ããšã©ãŒã«æ°ä»ããå Žåãããã«ç·šéãŠã€ã³ããŠã§ãšã©ãŒãä¿®æ£ããå床ãã¿ã€ãã»ããããã¿ã³ãæŒãããšãã§ããŸãââåããŠãã pdflatex ãæ¢ããå¿ èŠã¯ãããŸãããããã°ã©ã ã¯åãã®ãã®ãäžæããŠæ¬¡ãå®è¡ãå§ããŸãã
âTeXShop remembers the source lines of the first twenty errors. To cycle through these lines in the source file, choose "Go To Error" in the Edit menu or type the keyboard shortcut for this menu item.
ãâ ãTeXShop ã¯åãã®20åã®ãšã©ãŒã®ãœãŒã¹è¡ãããŒããŠããŸãããœãŒã¹ãã¡ã€ã«ã§ãããã®è¡ãç¹°ãè¿ã衚瀺ãããã«ã¯ãç·šéã¡ãã¥ãŒããããšã©ãŒç®æãžç§»åããéžæãããããã®ã¡ãã¥ãŒã¢ã€ãã ã®ã·ã§ãŒãã«ããããŒãã¿ã€ãããŸãã
âWhen you fix errors and typeset again, the viewer will remember the page you were previously viewing.
ãâ ããšã©ãŒãçŽããŠå床ã¿ã€ãã»ãããè¡ãªã£ãå Žåãããã¥ãŒã¯ã¯ãããŸã§èŠãŠããããŒãžãããŒããŠããŸãã
âIf a line in the source begins with the characters "%:", TeXShop interprets the remaining word or words on the line as a "tag" and adds these words to the Tag pulldown menu. Choosing a tag entry in this menu will scroll to the appropriate line in the source file. Lines which begin with the words \section, \subsection, \subsubsection, or \chapter are automatically added to the Tag menu. However, this behavior can be changed by typing the following command in Apple's Terminal program:
ãâ ããããœãŒã¹è¡ãã %: ããšããæååã§å§ãŸã£ãŠãããšã TeXShop ã¯ãã®è¡ã«ããåèªãããã¯æããã¿ã°ããšããŠè§£éãããã«ããŠã³ã¡ãã¥ãŒãã¿ã°ãã«è¿œå ããŸãããã«ããŠã³ã¡ãã¥ãŒã§ã¿ã°é ç®ãéžæããã°ããœãŒã¹ãã¡ã€ã«å ã®è©²åœããè¡ãžãšã¹ã¯ããŒã«ããŸãããŸã \section ã» \subsection ã» \subsubsection ããã㯠\chapter ã§å§ãŸãè¡ãèªåã§ã¿ã°ã¡ãã¥ãŒã«è¿œå ãããŸãããããã®åäœã¯ã Apple ã® Terminal ããã°ã©ã ã§æ¬¡ã®ã³ãã³ããã¿ã€ãããŠå€æŽããããšãã§ããŸãïŒ
defaults write TeXShop TagSections NO
âTeXShop can show multiple documents. If you choose "New" or "Open," your original document will remain and additional windows for the new document will open. If you open a TeX file in a folder which contains a pdf file with the same name, this pdf will also appear.
ãâ ãTeXShop ã¯è€æ°ã®ææžã衚瀺ãããããšãã§ããŸãã ãæ°èŠããªããã¯ãéã...ããéžæãããšãããšããšã®ææžã¯ãã®ãŸãŸã«ããŠãæ°ããææžçšã«è¿œå ã®ãŠã€ã³ããŠãéããŸãããã©ã«ãå ã«åãååã® pdf ãã¡ã€ã«ããã TeX ãã¡ã€ã«ãéãã°ã pdf ã衚瀺ãããŸãã
âSome users like to divide their source into multiple files controlled by a master file using an \input command. TeXShop always saves the source file before typesetting. If the preference item "During File Save, Save Related Files" is checked, the master file will be searched before typesetting and any input file open in TeXShop will also be saved. This feature is due to John Nairn.
ãâ ããœãŒã¹ãè€æ°ã®ãã¡ã€ã«ã«åå²ãã\input ã³ãã³ãã䜿ã£ãŠãã¹ã¿ãŒãã¡ã€ã«ã§ç®¡çããã®ã奜ããŠãŒã¶ãããŸãã TeXShop ã¯åžžã«ã¿ã€ãã»ããåã«ã¯ãœãŒã¹ãã¡ã€ã«ãä¿åããŸããç°å¢èšå®ã§ããã¡ã€ã«ä¿åæã«é¢é£ãã¡ã€ã«ãä¿åãããã®é ç®ããã§ãã¯ãããŠããã°ãã¿ã€ãã»ããåã«ãã¹ã¿ãŒãã¡ã€ã«ãæ¢ãã TeXShop ã§éãã©ã®å ¥åãã¡ã€ã«ã«ã€ããŠãåãããã«ä¿åãããŸãããã®æ©èœã¯ John Nairn ã®ãããã§ãã
âYou can start TeXShop by double clicking on a document with extension ".tex". The program will open that input document and (if it exists) the associated pdf document.
ãâ ãæ¡åŒµåãã.texãã®ææžãããã«ã¯ãªãã¯ããããšã§ TeXShop ãç«ã¡äžããããšãã§ããŸããããã°ã©ã ã¯ãã®å ¥åææžãšïŒãããããååšããã°ïŒé¢é£ãã pdf ææžãšãéããŸãã
âYou can close the pdf window at any time. It will reappear when the document is typeset again. If you close the input window then both the input and output windows will close (windows from other TeX documents will remain open). Therefore, if an input source window is cluttering the screen, hide it instead of closing it.
ãâ ãpdf ãŠã€ã³ããŠã¯ãã€ã§ãéããããšãã§ããŸããææžãå床ã¿ã€ãã»ããããã°æ¹ããŠè¡šç€ºãããŸããå ¥åãŠã€ã³ããŠãéããå Žåã«ã¯ãå ¥åã»åºåã®äž¡æ¹ã®ãŠã€ã³ããŠãéããããŸãïŒä»ã® TeX ææžã®ãŠã€ã³ããŠã¯éãããŸãŸã§ãïŒããªã®ã§ããããœãŒã¹å ¥åã®ãŠã€ã³ããŠãç»é¢äžã«æ£ä¹±ããŠããã®ã§ããã°ãéããã«é ããŠãããŸãã
âpdftex and pdflatex are unix programs derived from Knuth's TeX program. The syntax of TeX does not allow spaces in filenames, so source files created with TeXShop should be given names without spaces. TeXShop itself has no problem with spaces in filenames.
ãâ ãpdftex ãš pdflatex 㯠Knuth ã® TeX ããã°ã©ã ãã掟çãã UNIX ããã°ã©ã ã§ãã TeX ã®æ§æã¯ãã¡ã€ã«åã§ã®ã¹ããŒã¹ã容èªããŸããââãªã®ã§TeXShop ã§äœæãããœãŒã¹ãã¡ã€ã«ãã¹ããŒã¹ãªãã§åœåããŸãã TeXShop èªäœã¯ãã¡ã€ã«åã«ã¹ããŒã¹ããã£ãŠãåé¡ã¯ãããŸããã
âThe preview window's behavior can be changed using the "Magnification" and "Display Format" items in the Preview menu. For example, you can configure the scroller to scroll through all of the document pages; the preview window can show two pages at a time; resizing the window can be made to change the preview magnification. Experiment until you find the mode you prefer, and then select this mode in preferences to make it permanent.
ãâ ããã¬ãã¥ãŒãŠã€ã³ããŠã®æåã¯ããã¬ãã¥ãŒãã¡ãã¥ãŒã®ããºãŒã åçããšãããŒãžã¬ã€ã¢ãŠããé ç®ã§å€æŽã§ããŸããããšãã°ãã¹ã¯ããŒã«æ¹æ³ã調æŽããŠãæç« ã®ãã¹ãŠã®ããŒãžãã¹ã¯ããŒã«ãããããã«ã§ããŸã ïŒ ãã¬ãã¥ãŒãŠã€ã³ããŠã¯èŠéãïŒããŒãžãåæã«è¡šç€ºã§ããŸã ïŒ ãŠã€ã³ããŠããªãµã€ãºããããšã§æ¡å€§è¡šç€ºã®åçãå€æŽãããããŸããæ°ã«å ¥ã衚瀺æ¹åŒãèŠã€ãããŸã§è©ŠããŠã¿ãŠããããã®æ¹åŒãç°å¢èšå®ã§éžæãåºå®ãããŠãã ããã
âUse the magnification tools in the Preview window's toolbar to magnify portions of text. By double or triple clicking before holding down the mouse, a larger portion of the text will be magnified. The magnified region can be changed during magnification by pushing the apple, option, control, and shift keys.
ãâ ãããã¹ãéšåãæ¡å€§ããã«ã¯ã ãã¬ãã¥ãŒãŠã€ã³ããŠã®ããŒã«ããŒã«ããæ¡å€§ããŒã«ã䜿ããŸãã ããŠã¹ããã¬ã¹ããåã«ããã«ã¯ãªãã¯ãããã¯ããªãã«ã¯ãªãã¯ããããšã§ã ããåºãç¯å²ãæ¡å€§ããããšãã§ããŸãã æ¡å€§äžã«ã³ãã³ãããŒããªãã·ã§ã³ããŒãã³ã³ãããŒã«ããŒãªããã¯ã·ããããŒãæŒãããšã§ã æ¡å€§ãããéšåããããããšå€åãããããšãã§ããŸãã
âUse the pdf selection tool to select a portion of the preview window and drag it to the desktop or another program's window. The selection can also be copied and then pasted into another document. By default, this selected region contains only foreground text in pdf format. This is useful, for example, when dragging text to Keynote; the slide's background will show behind the text and the text can be resized without losing clarity.
ãâ ããã¬ãã¥ãŒãŠã€ã³ããŠã®äžéšåãéžæããŠããã¹ã¯ããããä»ã®ããã°ã©ã ã®ãŠã€ã³ããŠã«ãã©ãã°ããã«ã¯ãpdf éžæããŒã«ã䜿ããŸããéžæéšåã¯ã³ããŒããŠä»ã®ææžã«ããŒã¹ãããããšãã§ããŸãã ããã©ã«ãã§ã¯ããã®éžæéšåã«ã¯åé¢ã®ããã¹ãã®ã¿ã pdf 圢åŒã§å«ãŸããŠããŸããããã¯ããšãã°ãããã¹ãã Keynote ã«ãã©ãã°ãããšãã«äŸ¿å©ã§ãïŒ ã¹ã©ã€ãã®èæ¯ãããã¹ãã®èé¢ã«è¡šç€ºãããŸããããã¯ãã«ããŒã¿ãªã®ã§ããã¹ãããªãµã€ãºããŠã綺éºã«èŠããŸãã
âUse the text selection tool to select text in the preview window. This text can be copied and then pasted to a word processor. If the preview contains links, these links can be activated by clicking with the text selection tool. Use the Back/Forward commands to return to the original page. Use the Find command in the window's drawer to search for text in the pdf document.
ãâ ã ããã¹ãéžæããŒã«ãçšãããšããã¬ãã¥ãŒãŠã€ã³ããŠå ã®ããã¹ããéžæããããšãã§ããŸãããã®ããã¹ãã¯ã³ããŒããŠã¯ãŒããã«ããŒã¹ãããããšãã§ããŸãããã¬ãã¥ãŒã«ãªã³ã¯ãå«ãŸããŠããå Žåãããã¹ãéžæããŒã«ã§ã¯ãªãã¯ããã°ãªã³ã¯ãäœåããŸããå ã®ããŒãžã«æ»ãã«ã¯ãâæ»ãïŒé²ãâã³ãã³ãã䜿ããŸãããã¬ãã¥ãŒãŠã€ã³ããŠã®ããã¯ãŒå ã§æ€çŽ¢ã³ãã³ãã䜿ãã°ã pdf ææžå ã®ããã¹ããæ€çŽ¢ã§ããŸãã
âYou can jump between the source and preview windows by holding down the Apple command key while clicking on a word or phrase. If the phrase is in the source window, the preview window will scroll to the appropriate spot and the typeset phrase will be circled in red. If the phrase is in the preview window, the source window will open (if necessary) and scroll to the appropriate spot, and the source phrase will be highlighted in yellow.
ãâ ããœãŒã¹ãŠã€ã³ããŠãšãã¬ãã¥ãŒãŠã€ã³ããŠéãè¡ãæ¥ããã«ã¯ãâããŒãæŒããªããèªå¥ãã¯ãªãã¯ããŸãããœãŒã¹ãŠã€ã³ããŠå ã®èªå¥ãã¯ãªãã¯ããå Žåã¯ããã¬ãã¥ãŒãŠã€ã³ããŠã®æ¹ããããã¹ãäœçœ®ãŸã§ã¹ã¯ããŒã«ããçµçæžã¿ã®èªå¥ã«èµ€ã§äžžå°ãä»ããŸãããã¬ãã¥ãŒãŠã€ã³ããŠå ã®èªå¥ãã¯ãªãã¯ããã®ã§ããã°ããœãŒã¹ãŠã€ã³ããŠãéãïŒãŸã éãããŠããªããã°ã§ããïŒãé©åãªäœçœ®ãŸã§ã¹ã¯ããŒã«ããäžã§ããœãŒã¹äžã®èªå¥ãé»è²ã§ãã€ã©ã€ã衚瀺ããŸãã
##Alternate Typesetting ModeïŒããã²ãšã€ã®ã¿ã€ãã»ããæ¹åŒïŒ
âThere is another way to typeset with TeXShop; in this alternate mode, eps illustrations can be input directly without conversion. To use the alternate method, choose "TeX and Ghostscript" in the Typeset menu. Then TeXShop will typeset by calling tex or latex to produce a ".dvi" file, calling dvips to convert it to a postscript file, and calling ps2pdf to convert the postscript file to pdf. The method chosen in the typeset menu will only affect the topmost file; other documents will continue to be typeset with pdftex or pdflatex. The primary method used when a document is first opened can be selected in the preference dialog.
ãâ ãTeXShop ã§ã¿ã€ãã»ãããè¡ãªãæ¹æ³ãä»ã«ããããŸã ïŒ ãã®æ¹æ³ã§ã¯ eps 圢åŒã®ã€ã©ã¹ããå€æãªãã§ããã«å ¥åã§ããŸãããã®ããã²ãšã€ã®æ¹åŒã䜿ãã«ã¯ãã¿ã€ãã»ããã»ã¡ãã¥ãŒãããTeX+Ghostscriptããéžã³ãŸãããããš TeXShop 㯠TeX ãªãã㯠LaTeX ãåŒã³åºããŠã¿ã€ãã»ãããè¡ãªããdviããã¡ã€ã«ãçæãã dvips ãåŒã³åºããŠãã¹ãã¹ã¯ãªããã»ãã¡ã€ã«ã«å€æãããã®ãã㧠ps2pdf ãåŒã³åºããŠãã¹ãã¹ã¯ãªããã»ãã¡ã€ã«ã pdf ã«å€æããŸããã¿ã€ãã»ããã»ã¡ãã¥ãŒã§éžæããæ¹åŒã¯ãæåé¢ã®ãã¡ã€ã«ã«ã®ã¿äœçšããŸã ïŒ ãã®ä»ã®æžé¡ã¯ã²ãã€ã¥ã pdftex ããã㯠pdflatex ã§ã¿ã€ãã»ãããããŸããæžé¡ãéããæç¹ã§æåã«çšããããæ¹åŒã¯ç°å¢èšå®ãã€ã¢ãã°ã§éžæã§ããŸãã
âThe "TeX and Ghostscript" method should be used for old projects with many eps illustrations, and for TeX files with postscript special commands, and for TeX files that include bitmapped fonts which do not display correctly when typeset with pdflatex. Experimentation will show which is the preferable typesetting engine.
ãâ ããTeXïŒGhostscriptãæ¹åŒã¯ãå€æ°ã® eps 圢åŒã®ã€ã©ã¹ããããæã®ãããžã§ã¯ãããããã¯ãã¹ãã¹ã¯ãªããã»ã¹ãã·ã£ã«ã»ã³ãã³ãã䜿ã£ã TeX ãã¡ã€ã«ããªãã㯠pdflatex ã§ã¿ã€ãã»ãããããšæ£ãã衚瀺ãããªãããããããã»ãã©ã³ããå«ã TeX ãã¡ã€ã«ã«å¯ŸããŠçšããããã¹ãã§ããå®éšããŠã¿ãã°ãããã®ã¿ã€ãã»ããã»ãšã³ãžã³ãæãŸããããããããšã§ãããã
âThere is a way to permanently set the typesetting method of a document regardless of preference choices. If one of the first twenty lines of the source file is %!TEX TS-program = tex then tex + ghostscript will be used. If one of the first twenty lines is %!TEX TS-program = latex, then latex + ghostscript will be used. If one of the lines is %!TEX TS-program = pdftex, or %!TEX TS-program = pdflatex, then pdftex or pdflatex will be used. If one of the lines is %!TEX TS-program = personaltex or %!TEX TS-program = personallatex, then the personal script will be used as set in the preference dialog.
ãâ ãç°å¢èšå®ã«ãããéžæã®åŠäœã«ãããã ããææžã®ã¿ã€ãã»ããæ¹åŒãåžžã«åºå®ããæ¹æ³ããããŸãã ãœãŒã¹ãã¡ã€ã«ã®åé 20è¡ä»¥å ã®ãã¡ã®ïŒè¡ã %!TEX TS-program = tex ãšãªã£ãŠããã°ã TeXïŒGhostscript ã䜿ãããŸãã åé 20è¡ä»¥å ã®ãã¡ã®ïŒè¡ã %!TEX TS-program = latex ãšãªã£ãŠããã°ã LaTeXïŒGhostscript ãšãªããŸãã ãã®ïŒè¡ã %!TEX TS-program = pdftex ããã㯠%!TEX TS-program = pdflatex ã§ããã°ã pdftex ããã㯠pdflatex ã䜿ãããŸãã ãããŠããåé 20è¡ä»¥å ã«ã %!TEX TS-program = personaltex ãªãã㯠%!TEX TS-program = personallatex ãšããïŒè¡ãããã°ã ç°å¢èšå®ãã€ã¢ãã°ã§ã®èšå®ã«ãããã£ãŠããŒãœãã«ã¹ã¯ãªãããçšããããŸãã
##Checking SpellingïŒã¹ãã«ããã§ãã¯ããïŒ
âCocoa programs automatically inherit spell checking technology by Apple. The spell checker in Mac OS X 10.4 and higher does a better job dealing with LaTeX commands, but the Apple spell checker does not understand LaTeX commands and marks many of them as misspelled. However, other spelling services can be added to the Apple technology; they then become available in all Cocoa programs.
ãâ ãCocoa ããã°ã©ã ã«ã¯ Apple ã®æäŸããã¹ãã«ãã§ãã¯æ©èœãæåããåãã£ãŠããŸããMac OS X 10.4 以äžã®ã¹ãã«ãã§ãã«ãŒã§ã¯ã LaTeX ã®ã³ãã³ãã«ãããããã¯å¯Ÿå¿ããŠããŸãããApple ã®ã¹ãã«ãã§ãã«ãŒã¯ LaTeX ã®ã³ãã³ããç解ãããå€ãã®ã³ãã³ãã«ã¹ãã«ãã¹ã®å°ãä»ããŠããŸããŸãã ããããªãããä»ã®ã¹ãã«ãµãŒãã¹ã Apple ã®æè¡ã«ä»ãå ããããšãã§ããŸã ïŒ ãããããšãã¹ãŠã® Cocoa ããã°ã©ã ã§å©çšã§ããããã«ãªããŸãã
âTeXShop supports continuous spell checking, which can be toggled on or off with a menu command. A preference item selects the initial position of this toggle.
ãâ ãTeXShop ã¯èªåã¹ãã«ãã§ãã¯ããµããŒãããŠããŸãââã¡ãã¥ãŒã³ãã³ãã§å ¥ã»åãã§ããŸããç°å¢èšå®ã§ããã©ã«ãã®ïŒå ¥ã»åïŒç¶æ ãèšå®ããããšãã§ããŸãã
âAspell is "a more intelligent Ispell" for Unix machines written by Kevin Adkinson. His program has been ported to Mac OS X and made into a spelling service by Anton Leuski. The new speller supports LaTeX. To obtain it, go to
ãâ ãAspell 㯠Unix ãã·ã³çšã« Kevin Adkinson ãããäœæãããããè³¢ã Ispellãã§ããããã Anton Leuski ããã«ãã£ãŠ Mac OS X ã«ç§»æ€ãããã¹ãã«ãµãŒãã¹åãããŸããããã®æ°ããã¹ãã«ãã§ãã«ãŒã¯ LaTeX ããµããŒãããŠããŸãããããå ¥æããã«ã¯ä»¥äžã®ãµã€ãã蚪ããŸãââ
âAn alternate LaTeX spell checker named Excalibur is often used. This spell checker was written by Rick Zaccone; it can open TeXShop files. To obtain it, go to
ãâ ãä»ã«ã¯ãRick Zaccone ããã® Excalibur ãšãã LaTeX ã¹ãã«ãã§ãã«ãŒããã䜿ãããŠããŸãããã®ã¹ãã«ãã§ãã«ãŒã¯ TeXShop ãã¡ã€ã«ãéãããšãã§ããŸããå ¥æããã«ã¯ã以äžã®ãµã€ãã蚪ããŸãââ
##Latex PanelïŒ LaTeX ããã«ïŒ
âUnder the Windows menu, there is an item named "Latex Panel..." Choosing this item will open a panel containing a large number of mathematical symbols, Greek letters, international characters, and typesetting environments. Clicking on a symbol will insert the corresponding text into your LaTeX source file. This wonderful panel is the work of Geoffroy Lenglin, who can be reached at geoffroy.lenglin@m4x.org.
ãâ ãããŠã€ã³ããŠãã¡ãã¥ãŒäžã«ã¯ãLaTeX ããã«...ããšããé ç®ããããŸãããã®é ç®ãéžæãããšæ°å€ãã®æ°åŠèšå·ãã®ãªã·ã¢æåãåœéæåãããã«ã¿ã€ãã»ããç°å¢ãªã©ãå«ãããã«ãéããŸããã·ã³ãã«ãã¯ãªãã¯ãããšãããã«å¿ããããã¹ãã LaTeX ã®ãœãŒã¹ãã¡ã€ã«ã«æ¿å ¥ãããŸãããã®çŽ æŽãããããã«ã¯ Geoffroy LenglinïŒ geoffroy.lenglin@m4x.org ïŒããã«ãã£ãŠäœãããŸããã
âSome symbols in the panel require the line
ãâ ãLaTeX ããã«ã«ããã·ã³ãã«ã®äžã«ã¯ããœãŒã¹ãã¡ã€ã«ã®åé ã«ã次ã®ïŒè¡ãå¿ èŠãšãªããã®ããããŸãã
\usepackage{amssymb}
âat the top of the source file.
ãâ ãââ
âIt is possible to customize the behavior of the panel. When TeXShop first runs, it creates a file ~/Library/TeXShop/LatexPanel/completion.plist inside your personal Library folder. This file is an ordinary text file which can be opened and edited by TeXShop. The file contains all strings inserted into the source code when a Palette item is chosen. If such a string contains #SEL#, then the current selection will replace this expression in the inserted string. If a string contains #INS#, then the cursor will be set to this position when the string is inserted. To customize panel behavior, edit completion.plist.
ãâ ãããã«ã®åäœã¯ã«ã¹ã¿ãã€ãºããããšãã§ããŸããåããŠèµ·åãããšãã« TeXShop ã¯ã ~/Library/TeXShop/LatexPanel/completion.plist ãšãããã¡ã€ã«ããŠãŒã¶å人ã®ã©ã€ãã©ãªã»ãã©ã«ãå ã«äœæããŸãããã®ãã¡ã€ã«ã¯ããæ®éã®ããã¹ããã¡ã€ã«ãªã®ã§ TeXShop ã§éãããç·šéãããã§ããŸãããã¡ã€ã«ã«ã¯ããã¬ããã®é ç®ãéžæãããéã«ãœãŒã¹ã³ãŒãã«æ¿å ¥ãããæååããã¹ãŠæžãããŠããŸããæååã« #SEL# ãå«ãŸããŠãããšãã¯ããããçŸåšã®éžæéšåãšå·®ãæ¿ããæååãæ¿å ¥ãããŸããæååã #INS# ãå«ãã§ããã°ãæååãæ¿å ¥ãããåŸã«ãŒãœã«ããã®äœçœ®ã«æ¥ãŸããããã«ã®åäœãå€æŽããã«ã¯ã completion.plist ãç·šéããŠãã ããã
âEditing plist files is slightly tricky; see the item about them at the end of this help file. Be sure to edit and save in UTF-8 format if you use Unicode characters.
ãâ ãplist ãã¡ã€ã«ãç·šéããã®ã¯ããã¶ãè£æçãªããšã§ã ïŒ ãã®ããšã«ã€ããŠã¯ãã®ãã«ããã¡ã€ã«ã®çµããã«ããäºé ãåç §ããŠãã ããããŠãã³ãŒãæåã䜿çšããã®ã§ããã°ãããªãã UTF-8 圢åŒã§ç·šéãä¿åããããã«ããŸãã
âUsers can add up to sixteen additional items to the Latex Panel by editing completion.plist. These are displayed on the "Custom" subpanel of the Latex Panel. See comments in completion.plist for details about adding such items.
ãâ ããŠãŒã¶ã¯ completion.plist ãç·šéããããšã§æ倧16åãŸã§ã®é ç®ã LaTeX ããã«ã«ä»ãå ããããšãã§ããŸããããã㯠LaTeX ããã«ã®ãã«ã¹ã¿ã ããšãããµãããã«ã«è¡šç€ºãããŸããé ç®è¿œå ã«é¢ããŠã®è©³çŽ°ã¯ completion.plist å ã®ã³ã¡ã³ããåç §ããŠãã ããã
##Matrix PanelïŒè¡åããã«ïŒ
âThe Windows menu contains an item "Matrix Panel...". Choosing this item will open a panel allowing easy creation of matrices. Only a small space is provided for each matrix entry, but larger items can be edited elsewhere and pasted into the matrix. This wonderful panel is the work of Jonas Zimmermann, who can be reached at zimmerleut@gmx.de.
ãâ ãããŠã€ã³ããŠãã¡ãã¥ãŒã«ãè¡åããã«ããšããé ç®ããããŸãããããéžæãããšãè¡åãç°¡åã«äœæã§ããããã«ãéããŸããè¡åã®åå ¥åéšåã¯å°ããªãã®ã§ãããã©ããå¥ã®å Žæã§ç·šéããé·ãããã¹ããããŒã¹ãããããšãã§ããŸãããã®çŽ æŽãããããã«ã¯ Jonas Zimmermann ïŒ zimmerleut@gmx.de ïŒããã«ãã£ãŠäœãããŸããã
âIn TeXShop 1.35, the Matrix Panel can also create tables. This panel can be configured using the file "matrixpanel_1.plist" in ~/Library/TeXShop/MatrixPanel. The structure of this file was revised in 1.35; an old "matrixpanel.plist" file may remain from TeXShop 1.34.
ãâ ãTeXShop 1.35 ã§ã¯ãè¡åããã«ã§è¡šïŒããŒãã«ïŒãäœæããããšãã§ããŸãããã®ããã«ã¯ ~/Library/TeXShop/MatrixPanel ã«ãããmatrixpanel_1.plistããšãããã¡ã€ã«ã䜿ã£ãŠèšå®ã§ããŸãããã®ãã¡ã€ã«ã®æ§æ㯠1.35 ã§èŠçŽãããŸãã ïŒ å€ããmatrixpanel.plistããã¡ã€ã«ã¯ TeXShop 1.34 ããã®ãŸãŸæ®ã£ãŠããŠãå·®ãæ¯ããããŸããã
âThere is a hidden preference item to set the default size of matrices created by the panel. To change the default
ãâ ãããã«ã§äœæããããã©ã«ãã®è¡åã®ãµã€ãºãèšå®ããé ããç°å¢èšå®ããããŸããããã©ã«ããå€ããã«ã¯ââ
defaults write TeXShop matrixsize 12
##MacrosïŒãã¯ãïŒ
âThere is an alternate mechanism to insert commonly used TeX commands in your source document. Find the command in the Macro menu or the Macro button on the toolbar and choose it. In addition, some macros run AppleScript commands. A Macro Editor is provided which allows you to examine current macros, modify them, and add your own macros. For details, see the "About Macros" document in the Help menu. The TeXShop Macro commands and the Macro Editor were created by Mitsuhiro Shishikura. Default macros were created by Mitsuhiro Shishikura and Hirokazu Ogawa.
ãâ ããã䜿ã TeX ã³ãã³ãããœãŒã¹ã»ããã¥ã¡ã³ãã«æ¿å ¥ããä»çµã¿ãä»ã«ããããŸãããã¯ãã¡ãã¥ãŒãŸãã¯ããŒã«ããŒã®ãã¯ãã»ãã¿ã³ããèŠã€ããŠã³ãã³ããéžã³åã£ãŠãã ããããªãã AppleScript ã³ãã³ããå®è¡ãããã¯ãããããŸãããã¯ããšãã£ã¿ãåãä»ããŠãããŸããããçŸè¡ã®ãã¯ãã調ã¹ãããä¿®æ£ããããç¬èªã®ãã¯ããè¿œå ããããšãå¯èœã§ãã詳现ã«ã€ããŠã¯ããã«ãã¡ãã¥ãŒã«ããããã¯ãã»ãã«ãããåç §ããŠãã ããã TeXShop ã®ãã¯ãã»ã³ãã³ããšãã¯ããšãã£ã¿ã¯å®åå åºããã«ãã£ãŠäœæãããŸãããããã©ã«ãã»ãã¯ãã¯å®åå åºãããšå°å·åŒåããã«ãã£ãŠäœæããããã®ã§ãã
âMacros are stored in the file ~/Library/TeXShop/Macros/Macros.plist. This is an ordinary text file which can be copied and sent to others; thus you can distribute macros you have created. The Macro Editor has a command to read a plist file and add macros in it to existing macros.
ãâ ããã¯ã㯠~/Library/TeXShop/Macros/Macros.plist ãšãããã¡ã€ã«ã«æ ŒçŽãããŠããŸããããã¯ããæ®éã®ããã¹ããã¡ã€ã«ã§ããããã³ããŒãããä»ã®äººã«éã£ããã§ããŸã ïŒ ãããã£ãŠããŠãŒã¶ã®äœæãããã¯ããé åžããããšãå¯èœã§ãããã¯ããšãã£ã¿ã«ã¯ plist ãã¡ã€ã«ãèªã¿èŸŒãã§ãã¯ããè¿œå ããããã®ã³ãã³ãããããŸãã
##Toolbar and AppleScriptïŒããŒã«ããŒãš AppleScript ïŒ
âThe selection and location of tools at the top of the TeX Source and PDF Preview windows can be modified using the menu item "Customize Toolbar." This toolbar support is entirely the work of Anton Leuski. Thanks!
ãâ ãTeX ãœãŒã¹ãŠã€ã³ããŠã PDF ãã¬ãã¥ãŒãŠã€ã³ããŠã®äžéšã«ããããŒã«ã®éžå®ãé 眮ã¯ãããŒã«ããŒãã«ã¹ã¿ãã€ãº...ããšããã¡ãã¥ãŒé ç®ã§å€æŽã§ããŸãããã®ããŒã«ããŒã®ã³ãŒãã¯ãå šãŠã Anton Leuski ãããæžããŠäžãããŸãããããããšãïŒ
âTeXShop supports Applescript. This is also the work of Anton Leuski.
ãâ ãTeXShop 㯠AppleScript ããµããŒãããŠããŸãããããåãã Anton Leuski ããã®ãããã§ãã
##Including GraphicsïŒç»åãå ¥ããïŒ
ãTeXïŒGhostscriptãã¢ãŒã㧠jpg ã» png ããã³ pdf 圢åŒã®ç»åãæ¿å ¥ããã«ã¯ã dvipdfmx ã䜿çšããŸããããªã¢ã³ãã«ã«æ¬¡ã®ïŒè¡ãè¿œå ããŠãããŠãã ããã
\usepackage[dvipdfm]{graphicx}
dvipdfmx ã䜿çšããéããããã±ãŒãžã®ãªãã·ã§ã³éšå㯠[dvipdfm] ãšããŠããããšã«æ³šæããŸãã
ãã®ããã§ç»åãå ¥ãããç®æã«ãããšãã°æ¬¡ã®ããã«æžããŸãããã®äŸã§ã¯ filename.jpg ãšããã®ãç»åãã¡ã€ã«ã§ãïŒ png ã» pdf ãã¡ã€ã«ã«ã€ããŠãåæ§ã§ãïŒã
\includegraphics[width=3cm, bb=0 0 640 480]{filename.jpg}
width ã«ããçŽé¢äžã®ç»åã®æšªå¹ ãïŒcmãšæå®ããŠãããŸãããæå®ããªãå Žåã¯äžèŠã§ãã 640ãš480ã¯ç»åãã¡ã€ã«ã®æšªãšçžŠã®ãã¯ã»ã«æ°ã§ããæååãbb=0 0 640 480ã㯠.bbãã¡ã€ã«ïŒ BoundingBoxãã¡ã€ã«ïŒããåŸãããæ å ±ã§ãã filename.jpg ã«å¯Ÿãã .bbãã¡ã€ã«ãååŸããã«ã¯ã Terminal ãèµ·åããç»åãã¡ã€ã«ã®ãããã£ã¬ã¯ããªã«ç§»ååŸã以äžã®ã³ãã³ããæã¡èŸŒã¿ãŸãã
ebb filename.jpg
ãã㧠filename.bb ãçæãããŸãïŒ ebb: Command not found.ãšãªãå Žåã¯/usr/local/bin/ebb filename.jpg ãšããŠã¿ãŠãã ããïŒã.bbãã¡ã€ã«ã¯çãããã¹ããã¡ã€ã«ã§ããããšãã°ãã®ãããªââ
%%Title: ./filename.jpg
%%Creator: ebb Version 0.5.2 (+ArtBox)
%%BoundingBox: 0 0 640 480
%%CreationDate: Fri Jul 16 11:11:11 2004
BoundingBox ã®æ å ±ãããããã³ããŒããŠäœ¿çšããããšãã§ããŸãããã®å Žåã filename.bb ã¯äžèŠã«ãªããŸããããã㯠.bbãã¡ã€ã«ãä¿æãããŸãŸãã³ãŒããçž®ããããšãã§ããŸãããããªãµãã«ââ
\includegraphics[width=3cm]{filename}
çŽé¢äžã®æšªå¹ ãæå®ãããªãã·ã§ã³ãäžèŠãªããããã«ç°¡æœã«ã§ããã§ãããã
\includegraphics{filename}
ç»åã®å¯žæ³ã«ã€ããŠã¯ã[scale=0.8] ãšãããããªæå®ãå¯èœã§ãã
âThe programs pdftex and pdflatex can use graphic files produced in pdf, jpg, png, or mps format. If you are using the default latex template and installed the graphic conversion packages from Gerben Wierda's distribution, you can also use graphic files produced in eps or tif format; they will automatically be converted to pdf or png formats during typesetting. One peculiarity is that tiff files must have extension ".tif" rather than ".tiff". The native graphics format of Mac OS X is pdf (portable document format) and such files print well at any size. It is likely that most future Mac graphics programs will output pdf.
ãâ ãããã°ã©ã pdftex ãš pdflatex ã§ã¯ã pdf ã» jpg ã» png ãªãã㯠mps 圢åŒã®ç»åãã¡ã€ã«ã䜿çšã§ããŸããããã©ã«ãã® LaTeX ãã³ãã¬ãŒãã䜿ã£ãŠããã Gerben Wierda ã®ãã£ã¹ããªãã¥ãŒã·ã§ã³ããç»åå€æããã±ãŒãžãã€ã³ã¹ããŒã«ããŠããã®ã§ããã°ã eps ããã㯠tif 圢åŒã®ç»åãã¡ã€ã«ãåãããã«äœ¿çšã§ããŸã ïŒ ã¿ã€ãã»ããæã«ãããã¯èªåçã« pdf ãŸã㯠png 圢åŒã«å€æãããŸããã²ãšã€å€ãã£ãŠããç¹ã¯ã tiff ãã¡ã€ã«ã¯æ¡åŒµåãã.tiffãã§ã¯ãªãã.tifãã§ãªããŠã¯ãªããªãããšã§ãã Mac OS X ã®ãã€ãã£ããªã°ã©ãã£ãã¯ã»ãã©ãŒããã㯠pdf ïŒ portable document format ïŒãªã®ã§ããã®åœ¢åŒã®ãã¡ã€ã«ãªãã©ããªãµã€ãºã§ãå°å·ãããŸããããŸãããããããã®å ã Mac ã®ã°ã©ãã£ãã¯ã¹ã»ããã°ã©ã ã®ã»ãšãã©ã pdf ãåºåããããã«ãªãããã§ãã
âIf you used TeX in the past, your illustrations may be in eps format. These files must be converted to pdf format before being typeset with pdftex and pdflatex. As explained above, this will happen automatically if you use the default latex template. You can also convert an eps illustration by opening it in TeXShop. The illustration will appear in a graphic window and TeXShop will simultaneously write the corresponding pdf file to disk. Ghostscript also contains a command line program to convert; indeed TeXShop calls this program. To convert myfile.eps to myfile.pdf within Terminal, type
ãâ ãéå»ã« TeX ã䜿ã£ãããšãããå Žåãã€ã©ã¹ãã eps 圢åŒã«ãªã£ãŠãããããããŸããããã®åœ¢åŒã®ãã¡ã€ã«ã¯ã pdftex ã pdflatex ã§ã¿ã€ãã»ããããåã«ã pdf 圢åŒã«å€æãããã°ãªããŸãããäžã§èª¬æããããã«ãããã©ã«ãã® LaTeX ãã³ãã¬ãŒãã䜿ã£ãŠããã°ãããã¯èªåã§è¡ãªãããŸãã TeXShop ã§éãããšã«ãã£ãŠããŸãã eps 圢åŒã®ã€ã©ã¹ããå€æããããšãã§ããŸããã€ã©ã¹ããã°ã©ãã£ãã¯ãŠã€ã³ããŠã«è¡šç€ºãããã®ãšåæã«ãåœè©²ãã pdf ãã¡ã€ã«ã TeXShop ããã£ã¹ã¯ã«æžã蟌ã¿ãŸãã Ghostscript ã«ãå€æçšã®ã³ãã³ãã©ã€ã³ã»ããã°ã©ã ããããŸã ïŒ å®éã« TeXShop ã§ããã®ããã°ã©ã ãåŒã³åºããŸãã myfile.eps ã myfile.pdf ã«å€æããã«ã¯ã Terminal ã§æ¬¡ã®ããã«æã¡èŸŒã¿ãŸãââ
epstopdf myfile.eps
âThe authors of pdflatex and the authors of the graphics package graphicx have made it easy to include graphic files in a LaTeX document typeset with pdflatex, even if the document will later be typeset by standard latex and converted to a dvi file for distribution to other people. At the top of such a LaTeX input file, include the line:
ãâ ãpdflatex ã®äœè ãšã°ã©ãã£ãã¯ã¹ã»ããã±ãŒãž graphicx ã®äœè ã¯ã pdflatex ã§ã¿ã€ãã»ãããã LaTeX ææžã®äžã«ç»åãã¡ã€ã«ãå«ããã®ã容æã«ããŸããââããšããã®æžé¡ãåŸã«ãæšæºç㪠LaTeX ã§ã¿ã€ãã»ãããããä»ã®äººãã¡ã«é åžããããã® dvi ãã¡ã€ã«ã«æžãåºããããšããŠããã§ãããããã LaTeX å ¥åãã¡ã€ã«ã®åé ã«ã¯ã次ã®ïŒè¡ãå«ããŠãããŸãââ
\usepackage{graphicx}
âWhen you wish to include a graphic file, say "f1.pdf ", use the command
ãâ ãããšãã°ãf1.pdfããšããç»åãã¡ã€ã«ãå«ããããšãã¯ã次ã®ãããªã³ãã³ããçšããŸãââ
\includegraphics[width=2in]{f1}
âThis command will cause tex to input the graphic file "f1.pdf" when the text is typeset with pdflatex, but input the file "f1.eps" when the text is typeset with latex.
ãâ ããã®ã³ãã³ã㯠TeX ã«å¯Ÿãã pdflatex ã§ããã¹ããã¿ã€ãã»ãããããšãã«ã¯ç»åãã¡ã€ã«ãf1.pdfããå ¥åãããŸããã LaTeX ã§ã¿ã€ãã»ããããéã«ã¯ç»åãã¡ã€ã«ãf1.epsããå ¥åãããŸãã
âIf you upgraded from a previous version of TeXShop and want to use automatic conversion of eps and tif files during typesetting, make certain that
ãâ ããã以åã®ããŒãžã§ã³ã® TeXShop ããã¢ããã°ã¬ãŒãããŠãããã¿ã€ãã»ããæã« eps ããã³ tif ãã¡ã€ã«ã®èªåå€æããæã¿ãªãã次ã®ç¹ã確èªããŠãã ããââ
-
âa. You have installed Ghostscript 8, Freetype 2, wmf and iconv conversion support, and ImageMagick with Gerben Wierda's installer
-
ãâ ãa. Gerben Wierda ã®ã€ã³ã¹ããŒã©ã§ Ghostscript 8 ã» Freetype 2 ã» wmf ã» iconv conversion support ãããã ImageMagick ãã€ã³ã¹ããŒã«ããŠããã
-
âb. The pdflatex program preference is "pdflatex --shell-escape"
-
ãâ ãb. pdflatex ããã°ã©ã ã®èšå®ããpdflatex --shell-escapeãã«ãªã£ãŠããã
-
âc. The Latex header contains the following lines
-
ãâ ãc. LaTeX ãããã«ä»¥äžã®è¡ãå«ãŸããŠããââ
\usepackage{graphicx} \usepackage{epstopdf} \DeclareGraphicsRule{.tif}{png}{.png}{
convert #1
basename #1 .tif`.png}
##PrintingïŒå°å·ïŒ
âTo print a TeX output file, select the "Print" menu item. To print TeX source, select the "Print Source" menu item.
ãâ ãTeX ã«ããåºåçµæãå°å·ããã«ã¯ãã¡ãã¥ãŒé ç®ã®ãããªã³ã...ããéžã³ãŸãã TeX ãœãŒã¹ãå°å·ããã«ã¯ããœãŒã¹ãããªã³ã...ããéžæããŠãã ããã
##Setting PreferencesïŒç°å¢èšå®ïŒ
âSeveral items can be changed using the Preference menu: the default font for the input window, the default magnification for the output window, and the default position of these windows when they first appear. You can configure the console so it always appears when typesetting, or only appears when there is an error. You can configure the source window so an initial click in the window only activates the window, or this initial click also sets the text insertion point.
ãâ ãããã€ãã®é ç®ã¯ãç°å¢èšå®...ãã¡ãã¥ãŒã䜿ã£ãŠå€æŽã§ããŸãïŒãœãŒã¹ãŠã€ã³ããŠã®ããã©ã«ãã»ãã©ã³ãããã¬ãã¥ãŒãŠã€ã³ããŠã®åçãããã«ãã®ïŒã€ã®ãŠã€ã³ããŠãæåã«è¡šç€ºãããããã©ã«ãã®äœçœ®ãªã©ã§ããã³ã³ãœãŒã«ãé 眮ã§ããŸãââã¿ã€ãã»ããæã«åžžã«è¡šç€ºãããããããã¯ãšã©ãŒããã£ããšãã«ã ã衚瀺ãããã ãœãŒã¹ãŠã€ã³ããŠã®èšå®ãã§ããã®ã§ã æåã®ã¯ãªãã¯ã§ã¯ãŠã€ã³ããŠãã¢ã¯ãã£ãã«ããã ãã«ãšã©ããããšãã§ããã°ã ã¯ã³ã¯ãªãã¯ã§ããã¹ãã®æ¿å ¥äœçœ®ãå®ããŠããŸãããšãã§ããŸã ïŒæ°ããç°å¢èšå®é ç®ãéžææã«ã«ãŒãœã«ã移åãã«ãã§ãã¯ãå ¥ããŸãïŒã
âThe preference dialog can also be used to change the commands executed when the "TeX" and "LaTeX" buttons are pushed. This is useful because some users prefer a version of TeX called etex, and there are pdf versions of etex called pdfetex and pdfelatex. Obviously the substituted command must produce a pdf output file. If the new programs are in the teTeX binary directory, it is enough to name them in the preference dialog; the dialog will also accept fully qualified path names for files which live elsewhere.
ãâ ãç°å¢èšå®ãã€ã¢ãã°ã§ã¯ãTeXããšãLaTeXããã¿ã³ãæŒããããšãã«å®è¡ããã³ãã³ããå€æŽããããšãã§ããŸããããã圹ã«ç«ã€ã®ã¯ã eTeX ãšåŒã°ããããŒãžã§ã³ã® TeX ã奜ããŠãŒã¶ãããããã§ããã eTeX ã«ã¯ã pdfetex ãš pdfelatex ãšãã pdf çããããŸãããã®ä»£æ¿ã³ãã³ãã¯èšããŸã§ããªã pdf åºåãã¡ã€ã«ãçæããŸããæ°ããããã°ã©ã ã teTeX ãã€ããªã®ãã£ã¬ã¯ããªã«ããã®ã§ããã°ãç°å¢èšå®ãã€ã¢ãã°ã§ååãæžã蟌ãã§ããã ãã§ååã§ã ïŒ ãã€ã¢ãã°ã§ã¯ãã®ä»ã®ãšããã«ãããã¡ã€ã«ã®ãã«ãã¹åã«ã察å¿ããŸãã
âTeXShop editing is done with Apple's Cocoa editing class, which uses Unicode for internal work. When TeXShop files are written to disk, they are usually converted to 8-bit ascii because TeX expects to receive such a file. There are several ways to do the conversion: Mac OS Roman, Iso Latin 1, Iso Latin 2, and others. A preference item selects the method used. For many users, the choice will make no difference. Some TeX packages allow users to type accented European characters directly on the keyboard; these packages require the Iso Latin conversion. Thanks to Martin Heusse for providing the original code for this preference. The conversion method can also be selected directly from the Open and Save panels.
ãâ ãTeXShop ã§ã®ããã¹ãç·šéã«ã¯ Apple ã® Cocoa ã®ç·šéã¯ã©ã¹ãçšããããŠãããå éšåŠç㯠Unicode ã§è¡ãªãããŠããŸãã TeXShop æžé¡ããã£ã¹ã¯ã«æžã蟌ãŸãããšãã«ã¯ãéåžžïŒãããã® ASCII ã³ãŒãã«ãšã³ã³ãŒãã£ã³ã°ãããŸãââãšããã®ã TeX ã®ã»ãã§ãããããã¡ã€ã«ãåãåãããšãæ³å®ããŠããããã§ãããšã³ã³ãŒãã£ã³ã°ã«ã¯æ¹åŒãããã€ããããŸã ïŒ Mac OS Roman ã» Iso Latin 1 ã» Iso Latin 2 ã» ãã®ä»ã§ããç°å¢èšå®é ç®ã§äœ¿çšãããšã³ã³ãŒãã£ã³ã°æ¹åŒãéžæããŸããå€ãã®ãŠãŒã¶ã«ãšã£ãŠã¯ãã©ããéžæããŠãéãã¯ãªãã§ããããã¢ã¯ã»ã³ãèšå·ã®ã€ãããšãŒãããæåãããŒããŒãããããã«å ¥åã§ãã TeX ããã±ãŒãžããããŸã ïŒ ããããããã±ãŒãžã«ã¯ Iso Latin ãšã³ã³ãŒãã£ã³ã°ãå¿ èŠãšãªããŸãããã®ç°å¢èšå®ã®ãªãªãžãã«ã³ãŒã㯠Martin Heusse ã«æäŸããŠããã ããŸããããšã³ã³ãŒãã£ã³ã°æ¹åŒã¯ãéã...ããšãä¿åãã®ããã«ã§çŽæ¥éžæããããšãã§ããŸãã
âUsers in Japan and Korea will use other conversion preferences, also provided.
ãâ ãæ¥æ¬ãéåœã®ãŠãŒã¶ã¯ä»ã®ãšã³ã³ãŒãæ¹åŒã䜿ãã§ãããããããããå ¥ã£ãŠããŸãã
âIt is possible to reset the background color of the source window. The preference dialog does not have an interface to make this change. To set the background to (r, g, b) = (.42, .39, .77), issue the following commands in Terminal:
ãâ ããœãŒã¹ãŠã€ã³ããŠã®èæ¯è²ã¯å€ããããšãã§ããŸããç°å¢èšå®ãã€ã¢ãã°ã«ã¯ãã®å€æŽãè¡ãªãããã®ã€ã³ã¿ãŒãã§ã€ã¹ã¯ãããŸãããèæ¯è²ã (r, g, b) = (.42, .39, .77) ã«ããã«ã¯ã次ã®ã³ãã³ãã Terminal ããéããŸãïŒ
defaults write TeXShop background_R 0.42
defaults write TeXShop background_G 0.39
defaults write TeXShop background_B 0.77
âIt is also possible to set the text color in the source window. This preference will only be recognized if syntax coloring is on. To set the forground color to (r, g, b) = (.42, .39, .77), issue the following commands in Terminal:
ãâ ããŸããœãŒã¹ãŠã€ã³ããŠã®æåè²ãå€ããããšãã§ããŸãããã®èšå®ã¯ããœãŒã¹ã®ã«ã©ãŒè¡šç€ºãããªã³ã«ãªã£ãŠãããšãã«ã®ã¿æå¹ã§ããåæ¯è²ã (r, g, b) = (.42, .39, .77) ã«ããã«ã¯ã次ã®ã³ãã³ãã Terminal ããéããŸãïŒ
defaults write TeXShop foreground_R 0.42
defaults write TeXShop foreground_G 0.39
defaults write TeXShop foreground_B 0.77
âThe color of the insertion point in the source window can be changed. For example, to set this insertion point color to (r, g, b) = (.42, .39, .77), issue the following commands in Terminal:
ãâ ãããã«ã¯ã ãœãŒã¹ãŠã€ã³ããŠå ã®æ¿å ¥ãã€ã³ãã®è²ãå€ããããšãã§ããŸãã ããšãã°ãæ¿å ¥ãã€ã³ãã®è²ã (r, g, b) = (.42, .39, .77) ã«ããã«ã¯ã 次ã®ã³ãã³ãã Terminal ããéããŸãïŒ
defaults write TeXShop insertionpoint_R 0.42
defaults write TeXShop insertionpoint_G 0.39
defaults write TeXShop insertionpoint_B 0.77
âBy using the previous three sets of commands in combination, the source window can be made to display white text on a black background or other coloring schemes as desired.
ãâ ãäžèšïŒçµã®ã³ãã³ããçµã¿åãããŠäœ¿ãããšã§ã é»å°ã«çœãæåãã ãã®ä»ã®ãæã¿ã®è²æ§æã§ãœãŒã¹ãŠã€ã³ããŠã衚瀺ãããããšãã§ããŸãã
âThere are hidden preferences to set the transparency of the source, preview, and console windows:
ãâ ããœãŒã¹ããã¬ãã¥ãŒãã³ã³ãœãŒã«ã®åãŠã€ã³ããŠã®éæ床ãèšå®ããé ããç°å¢èšå®ããããŸãã
defaults write TeXShop ConsoleWindowAlpha 0.75
defaults write TeXShop SourceWindowAlpha 0.75
defaults write TeXShop PreviewWindowAlpha 0.75
âHere an alpha value of 0.00 is completely transparent and an alpha value of 1.00 is completely opaque. Use these commands cautiously!
ãâ ãããã§ã¢ã«ãã¡å€ã 0.00 ãªãå®å šã«éæãšãªããã¢ã«ãã¡å€ã 1.00 ãªãå®å šã«äžéæãšãªããŸããçšå¿ããŠã䜿ããã ããïŒ
âA pulldown menu at the bottom of the Preferences Panel can be used to reset preferences to their default values. This is mainly useful in Japan, since different defaults are available for users of various pTeX distributions.
ãâ ãç°å¢èšå®ããã«ã®å·Šäžã«ãããèšå®ãããã¡ã€ã«ãã¡ãã¥ãŒã䜿ããšãèšå®ãããã©ã«ãå€ã«ãªã»ããããããšãã§ããŸããããã¯äž»ã«æ¥æ¬ã§æçšã§ãââãšããã®ããå皮㮠pTeX ãã£ã¹ããªãã¥ãŒã·ã§ã³ã®ãŠãŒã¶çšã«ç°ãªãããã©ã«ããå©çšå¯èœã ããã§ãã
TeXShop ããŒãžã§ã³ 1.35 ã§ã¯ãäžã®ãããªèšå®ãããã¡ã€ã«ãæèŒãããŠãããæ¥æ¬èª pTeX ãã£ã¹ããªãã¥ãŒã·ã§ã³ã§ãã®ãŸãŸäœ¿ãããšãã§ããŸãã
èšå®ç®æ | Shift JIS | EUC |
---|---|---|
æžé¡ > ãšã³ã³ãŒãã£ã³ã° | Japanese (Shift JIS ) | Japanese (EUC) |
ãã¬ãã¥ãŒ > èŠéãããŒãž | å·Šããã¹ã¿ãŒãïŒäž¡é¢ïŒ | == |
å éšèšå® > ãã¹èšå® > (pdf)TeX | /usr/local/bin | == |
å éšèšå® > distiller > TeX ããã°ã©ã | ~/Library/TeXShop/bin/ptex2pdf-sjis | ~/Library/TeXShop/bin/ptex2pdf-euc |
å éšèšå® > distiller > LaTeX ããã°ã©ã | ~/Library/TeXShop/bin/platex2pdf-sjis | ~/Library/TeXShop/bin/platex2pdf-euc |
詳现 > BibTeX | jbibtex | == |
ã¿ã€ãã»ãã > ããã©ã«ãã®ã¹ã¯ãªãã | TeX + Ghostscript | == |
â»ïŒãããã®èšå®ã¯ 1.34 ãŸã§ã®ãã®ããå€æŽãããŠããŸãã®ã§ã泚æãã ããã
##æ¥æ¬èªãšã³ã³ãŒãã£ã³ã°ãš \ Â¥ æåã®æ±ã
TeXShop ã¯äžã®ïŒçš®é¡ã®æ¥æ¬èªãšã³ã³ãŒãã£ã³ã°ã«å¯Ÿå¿ããŠããŸãããããã¯ç°å¢èšå®ããã«ã®ãæžé¡ > ãšã³ã³ãŒãã£ã³ã°ãã§èšå®ã§ããŸãã
- Japanese (JIS)
- Japanese (EUC)
- Japanese (ShiftJIS )
- Japanese (ShiftJIS ¥)
- Japanese (ShiftJIS X0213)
ãã®ãã¡ãJapanese (ShiftJIS Â¥)ããšãJapanese (ShiftJIS X0213)ãã§ã¯ TeX èšå·ã Â¥ ã§è¡šç€ºãããŸãã äžæ¹ãä»ã®ãšã³ã³ãŒãã£ã³ã°ã§ã¯ãTeX èšå·ã \ ã§è¡šç€ºãããŸãã ïŒãJapanese (ShiftJIS )ããšãJapanese (ShiftJIS Â¥)ã㯠TeX èšå·ã®è¡šç€ºãéãã ãã§ãïŒ
TeX èšå·ã® \ ãå ¥åãããšããæå ã« \ ããŒããªãã㰠代ãã㫠¥ ããŒãæŒããŠäžãããç·šéç»é¢ã«ã¯ \ ãå ¥åãããã§ãããã éã«ãTeX èšå·ã Â¥ ãšè¡šç€ºãããŠããŠãæå 㫠¥ ããŒããªããšãã¯ïŒUS ããŒããŒãïŒ \ ããŒãæŒããŠäžãããã€ãŸãã\ã»Â¥ ã®ã©ã¡ãã®ããŒãæŒããŠãã ãã®ãšãã® TeX èšå·ã« TeXShop ãèªåå€æããŠãããŸãã ãŸããä»ã®ã¢ããªã±ãŒã·ã§ã³ããã³ããŒïŒããŒã¹ãããæååã« \ ã Â¥ ãå«ãŸããŠããå Žåããé©å㪠TeX èšå·ã«å€æãããŸãã
ãŸããTeXShop ããä»ã®ã¢ããªã±ãŒã·ã§ã³ã«ããã¹ããããŒã¹ãããéã«ã \ ã Â¥ ãèªåå€æããããšãã§ããŸãã ãç·šéãã¡ãã¥ãŒã®äžçªäžã«æ¬¡ã®ãªãã·ã§ã³é ç®ããã£ãŠã ã¯ãªããããŒãäžã® \ Â¥ æåã調æŽããããšãã§ããŸãã ã䜿ãã®ç°å¢ã«ããããŠèª¿æŽããŠäžããã
ãšã³ã³ãŒãã£ã³ã° | ã¡ãã¥ãŒé ç®å | ããã©ã«ã |
---|---|---|
Japanese (ShiftJIS \ EUC JIS) | ã¯ãªããããŒã㧠\ ã Â¥ ã«å€æ | ON |
Japanese (ShiftJIS Â¥ ShiftJIS X0213) | ã¯ãªããããŒã㧠¥ ã \ ã«å€æ | OFF |
ãããã \ â Â¥ ã®èªåå€ææ©èœã¯ãå®åå åŒããã«ãã£ãŠå®è£ ãããŸããã ãªãããããã®æ©èœã¯ TeXShop 㧠æ¥æ¬èªãšã³ã³ãŒãã£ã³ã°ïŒäžèšïŒã€ïŒãèšå®ããŠããå Žåã«ã®ã¿åäœããŸãã