TeXShop ã®æ¥æ¬èªãã«ããã¡ã€ã«ã®ã¢ãŒã«ã€ã (v2-5) ã§ãã
äœæ¥åœæã®æ¥è±å¯Ÿèš³ããã¹ããã¢ããããŠããŸãã
#How do I configue TeXShop?ïŒ TeXShop ã®èšå®ã¯ã©ãããã°ãããïŒïŒ
##PreliminariesïŒãŸãããïŒ
âPlease read only the first two sections below if you are a new user installing TeXShop for the first time. If you are upgrading from a previous version, read these two and the next four sections. If you are familiar with TeXShop and want to customize it, read the remaining sections.
ãâ ãããããªãã TeXShop ãåããŠã€ã³ã¹ããŒã«ããæ°èŠã®ãŠãŒã¶ãªããæåã®ïŒã€ã®ã»ã¯ã·ã§ã³ã ãããèªã¿ãã ããã以åã®ããŒãžã§ã³ããã¢ããã°ã¬ãŒãããå Žåã¯ããã®ïŒã€ã«å ããŠãã®åŸã®ïŒã€ã®ã»ã¯ã·ã§ã³ãèªãã§ãã ããã TeXShop ã®ããšãããããã£ãŠããŠã«ã¹ã¿ãã€ãºãããã®ã§ããã°ãæ®ãã®ã»ã¯ã·ã§ã³ãèªãã§ãã ããã
âWhen TeXShop first runs, it places default preference items, macros, templates, and typesetting engines in the user's library folder. If the program is later updated, these preference items, macros, etc. are not modified because the user may have edited them. In a few cases, important changes were made in the default items; these changes are listed here so users of previous versions can modify preferences and templates appropriately.
ãâ ãTeXShop ãåããŠèµ·åãããšãããã©ã«ãã®èšå®é ç®ããã¯ãããã³ãã¬ãŒããã¿ã€ãã»ããã»ãšã³ãžã³ãªã©ãããŠãŒã¶ã®ã©ã€ãã©ãªã»ãã©ã«ãã®äžã«çœ®ãããŸããåŸã ã¢ããªã±ãŒã·ã§ã³ãã¢ããã°ã¬ãŒãããŠãããããã®èšå®é ç®ããã¯ããªã©ã¯æŽæ°ãããŸããââãšããã®ãããŠãŒã¶ãç·šéããŠããå¯èœæ§ãããããã§ããããã€ãã®ã±ãŒã¹ã«ãããŠã¯ãéèŠãªå€æŽãããã©ã«ãã®é ç®ã§è¡ãªãããŸããïŒããããå€æŽã¯ããã«æããŠããŸãã®ã§ã以åã®ããŒãžã§ã³ããã®ãŠãŒã¶ã¯åæèšå®ããã³ãã¬ãŒããé©åã«ä¿®æ£ã§ããŸãã
âTeXShop has a few hidden preferences for power users. Such users can also modify program behavior by installing various plist files. Details are provided below.
ãâ ãTeXShop ã«ã¯ããã€ãã®é ããç°å¢èšå®ãããã¯ãŒãŠãŒã¶çšã«ãããŸãããããããŠãŒã¶ã¯çš®ã ã® plist ãã¡ã€ã«ãèšå®ããŠããã°ã©ã ã®ãµããŸããä¿®æ£ããããšãã§ããŸãã詳现ã¯ä»¥äžã«ç€ºããŠãããŸãã
âNew versions of TeXShop sometimes require additional menu items and other interface components. These new items appear in English even when the rest of the interface has been localized for another language. If users write me with appropriate translations, I will immediately make the changes in the copy of TeXShop on my web site. Write koch@math.uoregon.edu.
ãâ ãTeXShop ã®æ°ããããŒãžã§ã³ã§ã¯ãè¿œå ã®ã¡ãã¥ãŒé ç®ããã®ä»ã®ã€ã³ã¿ãŒãã§ã€ã¹ã»ã³ã³ããŒãã³ããå¿ èŠã«ãªãããšããããŸããæ°ããé ç®ã«ã€ããŠã¯ããã®éšåãä»ã®èšèªã«ããŒã«ã©ã€ãºããããŸã§ã¯ãè±èªã§è¡šç€ºãããŸããé©åœãªç¿»èš³ãæžãéã£ãŠãããã°ãç§ã®ãŠã§ããµã€ãã«ãã TeXShop ã®ã³ããŒã«ããã«å€æŽãæœããŸããå®å 㯠koch@math.uoregon.edu ã§ãã
##Did You Install CorrectlyïŒãã¡ããšã€ã³ã¹ããŒã«ããŸãããïŒïŒ
âStarting with version 1.34 and continuing with version 1.35, 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 ~/Library/texmf/tex/latex, ~/Library/texmf/tex/plain, and ~/Library/texmf/tex/context, respectively. Remove the old "pdfsync.sty" from ~/Library/texmf/tex/latex if it exists. Then find these new files in the TeXShop distribution and drag them to the appropriate folders. Here ~/Library is the Library folder in your home directory. You may have to create some or all of the folders texmf, tex, latex, plain, context.
ãâ ãããŒãžã§ã³1.34以éã²ãã€ã¥ã1.35ã§ãã TeXShop ã«ã¯ pdfsync ãšããæ©èœããããŸãïŒãã¬ãã¥ãŒãŠã€ã³ããŠäžã®äžç¹ãã¯ãªãã¯ãããšããã®ç®æã«å¿ããŠãœãŒã¹ãŠã€ã³ããŠãã¢ã¯ãã£ãã«ãããšãšãã«ããœãŒã¹ã³ãŒãå ã®çžåœããè¡ãéžæããŸãããã®æ©èœã䜿ãã«ã¯ ãpdfsync.styã ãpdfsync.texã ãpdfsync4context.texããšãã£ããã¡ã€ã«ã ~/Library/texmf/tex/latex ã» ~/Library/texmf/tex/plain ããã³ ~/Library/texmf/tex/context ã«ããããã€ã³ã¹ããŒã«ããŠããå¿ èŠããããŸããããå€ããpdfsync.styãããããªãã ~/Library/texmf/tex/latex ããåãé€ããŠãããŠãã ããããã®ããã§ã TeXShop ã®ãã£ã¹ããªãã¥ãŒã·ã§ã³å ã«ããæ°ãããã¡ã€ã«ããããããé©åãªãã©ã«ãã«ãã©ãã°ããŠãã ããã ~/Library ã¯ãŠãŒã¶ã®ããŒã ã»ãã£ã¬ã¯ããªã«ããã©ã€ãã©ãªã»ãã©ã«ãã®ããšã§ãã texmf ã» tex ã» latex ã» plain ã» context ãšãã£ããã©ã«ããäœãå¿ èŠããããããããŸããã
ãè£è¶³ã
- äžèšä»¥å€ã«ãã
/texmf å ã®å¯Ÿå¿ããåãã©ã«ãïŒ/texmf/tex/latex ã» ~/texmf/tex/plain ã» ~/texmf/tex/contextïŒã«ã€ã³ã¹ããŒã«ããããšã§å©çšå¯èœã«ãªãããã§ãã - ãŸãææ°ã®å°å·çããã±ãŒãžã«ã¯ pdfsync.sty ãåé²ãããŠããŸãã®ã§ãæ¹ããŠã€ã³ã¹ããŒã«ããå¿ èŠã¯ãããŸããã
âTeXShop 1.35 comes with additional applescripts by Claus Gerhardt and Will Robertson. If you upgrade from a previous version, you will not automatically see those new scripts.
ãâ ãTeXShop 1.35 ã«ã¯ Claus Gerhardt ãããš Will Robertson ããã«ããè¿œå ã® AppleScript ãä»å±ããŠããŸãã以åã®ããŒãžã§ã³ããã¢ããã°ã¬ãŒãããå Žåããããã®ã¹ã¯ãªããã¯æåã§è¿œå ããŠããå¿ èŠããããŸãã
â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 ãã©ã«ããäžžããšåãé€ãããšã§ãæ°ãããã¯ããå°å ¥ã§ããŸãã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 comes 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 ãžãšç§»ããŸãã
##Recommended Preference ChangesïŒããããã®èšå®å€æŽïŒ
âUsers should consider changing a small number of default preferences provided by TeXShop. Some of these changes depend on characteristics of individual displays and cannot be set until you use the program.
ãâ ãTeXShop ãæäŸããããã©ã«ãã®ç°å¢èšå®ã®ããã€ãã¯å€æŽããã»ããããã§ããããããããå€æŽã®äžã«ã¯ãåã ã®ã¢ãã¿ã®ç¹è³ªã«äŸåããŠããŠãå®éã«äœ¿ã£ãŠã¿ããŸã§ã¯èšå®ãããããã®ããããŸãã
âBy default, TeXShop opens source and preview windows in the spot they last appeared. This only makes sense when you deal with one document at a time. It is usually better to open source and preview windows in a predetermined optimal position. To make that happen, typeset a simple document. Then arrange the position and size of the source and preview windows. Side by side is best if your screen is large enough. Open TeXShop preferences. In the "Document" tab, select "All Windows Start At Fixed Position" and click "Set With Current Position." Make the same change in the "Preview" tab.
ãâ ãããã©ã«ãã§ã¯ããœãŒã¹ãŠã€ã³ããŠãšãã¬ãã¥ãŒãŠã€ã³ããŠã¯ãæåŸã«éãããšãã®äœçœ®ã§éãããŸããïŒåºŠã«ïŒã€ã®ææžããæ±ããªããšãã¯ãããã§ãããã§ãããããããéåžžã¯ãåãã£ãŠæ±ºããŠãããæé©ãªäœçœ®ã§ãœãŒã¹ãŠã€ã³ããŠãšãã¬ãã¥ãŒãŠã€ã³ããŠãéãã®ãããã§ããããäœçœ®æ±ºãã®ããã«ãç°¡åãªææžãã¿ã€ãã»ããããŸãããããŠãœãŒã¹ãŠã€ã³ããŠãšãã¬ãã¥ãŒãŠã€ã³ããŠã®äœçœ®ãšãµã€ãºã調ç¯ããŠãã ããã䜿ã£ãŠããã¢ãã¿ãååã«å€§ãããã°ã暪ã«äžŠã¹ãŠé 眮ããã®ãæè¯ã§ãã TeXShop ã®ç°å¢èšå®ãéããŸãã ãæžé¡ãã¿ãã§ããã€ãåãäœçœ®ã§éãããéžã³ã ãçŸåšã®äœçœ®ã«èšå®ããã¯ãªãã¯ããŠãã ããã ããã¬ãã¥ãŒãã¿ãã§ãåãå€æŽãè¡ãªããŸãã
âThis is a good time to set the magnification in the preview window. Use the Scale button at the top of this window to select the optimal magnification. Under the "Preview" tab of Preferences, type the appropriate magnification and push the "Set" button and then the "OK" button.
ãâ ããã¬ãã¥ãŒãŠã€ã³ããŠã®åçãèšå®ããã®ã«ãããæ©äŒã§ãããã¬ãã¥ãŒãŠã€ã³ããŠã®äžéšã«ããã¹ã±ãŒã«ã»ãã¿ã³ã§æé©ãªåçãéžãã§ãã ããããããŠç°å¢èšå®ã®ããã¬ãã¥ãŒãã¿ãã§åçãå ¥åããŠãèšå®ããã¿ã³ãæŒããŸãââãã®ããã§ãããã¿ã³ãæŒããŠãã ããã
âFinally, you may wish to deal with a security issue. By default, TeXShop is configured to permit pdftex and pdflatex to call other programs during typesetting. When pdftex finds a graphic illustration in a format it cannot understand, it will automatically call a conversion program to convert the graphic to a useful format. For example, eps files will be converted to pdf and tif files will be converted to png.
ãâ ãæåŸã«ãã»ãã¥ãªãã£åé¡ã«è§Šããã¹ããããããŸãããããã©ã«ã㧠TeXShop ã¯ãã¿ã€ãã»ããæã«ä»ã®ããã°ã©ã ãåŒã³åºãããšã pdftex ãš pdflatex ã«èš±å¯ããŠããŸããåŠçã§ããªã圢åŒã®ã°ã©ãã£ãã¯ã»ã€ã©ã¹ãããããš pdftex ã¯ãèªåçã«å€æããã°ã©ã ãåŒã³åºããŠå©çšå¯èœãªåœ¢åŒã®ç»åãã¡ã€ã«ã«å€æããŸããããšãã°ã eps ãã¡ã€ã«ã¯ pdf ã«å€æããã tif ãã¡ã€ã«ã¯ png ãã¡ã€ã«ã«å€æãããŸãã
âHowever, the configuration allows pdftex to call ANY program. Conceivable, a user could mail you a tex source file which does unpleasant things to your system during typesetting. If this is a concern, go to the "Engine" tab in Preferences and check the box labeled "Shell Escape Warning." When this button is checked, a dialog will appear the first time a file is typeset during a TeXShop session, allowing you to turn off this feature for that file so pdftex cannot call other programs during typesetting. Thus you can use automatic conversion for your own files, but play it safe with source files from others.
ãâ ãããããªãããã®èšå®ã§ã¯ pdftex ã«ããããªãããã°ã©ã ãåŒã³åºãããšããèš±å¯ããŠããŸããŸãããããŠãŒã¶ãããªãã« TeX ã®ãœãŒã¹ãã¡ã€ã«ãã¡ãŒã«ã§éã£ãŠããŠãã¿ã€ãã»ããäžã«ããããããªãã®ã·ã¹ãã ã«å¯ŸããŠãããã¬ããšããã§ããââãšããã®ããããããããšã§ã¯ãããŸãããããå¿é ãªå Žåã«ã¯ãç°å¢èšå®ã®ãå éšèšå®ãã¿ãã§ãShell Escape ãèŠåããšæžããŠããããã¯ã¹ã«ãã§ãã¯ãå ¥ããŠãã ããããã®ãã§ãã¯ãå ¥ã£ãŠãããšããããã¡ã€ã«ã TeXShop ã§åããŠã¿ã€ãã»ãããããšãã«ããã®ãã¡ã€ã«ã«å¯ŸããŠãã®æ©èœããªãã«ã§ãããã€ã¢ãã°ããã¯ã¹ã衚瀺ãããŸãââãã®ãã pdftex ã¯ãã¿ã€ãã»ããæã«ä»ã®ããã°ã©ã ãåŒã³åºããªããªããŸãããããã£ãŠããªãèªèº«ã®ãã¡ã€ã«ã«ã€ããŠã¯èªåå€æã䜿ããŸãããä»äººããã®ãœãŒã¹ãã¡ã€ã«ã«å¯ŸããŠã¯å®å šãè¬ããããšãã§ããŸãã
##Converting Graphic Formats AutomaticallyïŒç»å圢åŒãèªåçã«å€æããïŒ
âSupport for tiff files has been removed from the latest versions of pdftex and pdflatex. However, it is possible to configure TeXShop so it will automatically convert graphics in tiff format to png format during typesetting. As a bonus, the program will convert graphics in eps format to pdf format during typesetting. In both cases the original graphic file is preserved and a new file with appropriate format is created. Tiff files must still have extension ".tif" rather than ".tiff".
ãâ ãpdftex ãš pdflatex ã®ææ°ããŒãžã§ã³ã§ã¯ tiff ãã¡ã€ã«ã®ãµããŒãããªããªããŸãããããããªãã TeXShop ã§ã¯èšå®å¯èœãªã®ã§ã tiff 圢åŒã®ç»åã¯ã¿ã€ãã»ããæã«èªåçã« png 圢åŒã«å€æãããŸããå ã㊠eps 圢åŒã®ã°ã©ãã£ãã¯ãã¿ã€ãã»ããæã«ã¯ pdf 圢åŒã«å€æãããŸããã©ã¡ãã®å Žåã«ããããšããšã®ç»åãã¡ã€ã«ã¯ãã®ãŸãŸã§ãæ°ãããã¡ã€ã«ãããããã®ãã©ãŒãããã§äœæãããŸãã tiff ãã¡ã€ã«ã¯ããŸã ã«æ¡åŒµåãã.tiffãã§ã¯ãªãã.tifãã§ãªããã°ãªããŸãããã
âNew installations of TeXShop are already configured appropriately. Users who are upgrading should make the changes listed in the next two sections. They should also use Gerben Wierda's i-Installer to install the following packages, if not already present:
ãâ ãæ°èŠã«ã€ã³ã¹ããŒã«ãã TeXShop ã§ã¯ããããããé©åãªèšå®ã«ãªã£ãŠããŸããã¢ããã°ã¬ãŒããããŠãŒã¶ã¯ã次ã®ïŒã€ã®ã»ã¯ã·ã§ã³ã§æããŠããå€æŽãè¡ãªã£ãŠãã ããããŸã Gerben Wierda ããã® i-Installer ã䜿ã£ãŠã以äžã®ããã±ãŒãžãã€ã³ã¹ããŒã«ããŠãããŸãââãŸã å ¥ããŠããªããã°ã§ããïŒ
- Ghostscript 8
- Freetype 2
- wmf and iconv conversion support
- ImageMagick
##Default Preference ItemsïŒåæèšå®ã«ã€ããŠïŒ
âTeXShop 1.35 comes with a new Find panel, which requires system 1.3 or later. Other users will still see the old panel. It is possible to revert to the old panel using TeXShop preferences, but most users will find that the new panel is more powerful; it supports regular expressions. At first this panel may not behave as you expect, but the panel remembers the various choices it presents, and you should be able to configure it to behave as you expect.
ãâ ãTeXShop 1.35 ã«ã¯æ°ããæ€çŽ¢ããã«ããããŸãââããã«ã¯ã·ã¹ãã 10.3以éãå¿ èŠãšãªããŸãããã以å€ã§ã¯äŸç¶ãšããŠåŸæ¥ã®ããã«ã衚瀺ãããŸãã TeXShop ã®ç°å¢èšå®ã§ãåŸæ¥ã® Apple æšæºã®ããã«ã«åãæ¿ããããšãã§ããŸãããæ°ããæ€çŽ¢ããã«ã®ã»ãããããã¯ãã«ãªã¯ãã§ã ïŒ æ£èŠè¡šçŸããµããŒãããŠããã®ã§ããæåã®ãã¡ã¯äºæããããã«åäœããªããããããŸããããããã«ã¯ããã«è¡šç€ºãããŠããåçš®ã®éžæãèšæ¶ããŠããŸãããæãã©ããã«åäœãããã調æŽã§ããããšã§ãããã
âThe remaining comments are for users with versions before 1.33, who may not have made these changes earlier. In the TeXShop preference panel with the Engine tab, the following changes should be made:
ãâ ãæ®ãã®è§£èª¬ã¯ã 1.33以åã®ããŒãžã§ã³ã®ãŠãŒã¶çšã®ãã®ã§ãââ以äžã®å€æŽãåãã£ãŠè¡ãªã£ãŠããªããããããªãã®ã§ã TeXShop ã®ç°å¢èšå®ããã«ã«ã¯ãå éšèšå®ãã¿ãããããŸããã次ã®ããã«å€æŽããŠãã ããïŒ
-
- The pdftex preference should be
-
- pdftex ã®èšå®ã¯ââ pdftex --shell-escape
-
- The pdflatex preference should be
-
- pdflatex ã®èšå®ã¯ââ pdflatex --shell-escape
-
- The altpdftex preference should be
-
- altpdftex ã®èšå®ã¯ââ altpdftex --maxpfb
-
- The altpdflatex preference should be
-
- altpdflatex ã®èšå®ã¯ââ altpdflatex --maxpfb
âJapanese users of TeXShop 1.26 or earlier should replace the file ~/Library/TeXShop/LatexPanel/completion.plist with the English version, because a modification for Japanese(ShiftJIS Â¥) is no longer necessary. To make this happen, remove the completion.plist file from the folder; a new file will be created the next time TeXShop starts.
ãâ ãTeXShop 1.26 以åããã®æ¥æ¬ã®ãŠãŒã¶ã¯ã ~/Library/TeXShop/LatexPanel/completion.plist ãšãããã¡ã€ã«ãè±èªçã®ãã®ãšå·®ãæ¿ããŠãã ããââ Japanese(ShiftJIS Â¥) çšã®ä¿®æ£ã¯ãã§ã«äžèŠãšãªããŸããããããã¯ãã® completion.plist ãã¡ã€ã«ããã©ã«ãããåãé€ããŠãåãããšã§ã ïŒ æ°ãããã¡ã€ã«ã¯ã次㫠TeXShop ãèµ·åãããšãã«äœãããŸãã
æ¥æ¬èªç°å¢ã§ TeXShop 1.35 ã«ã¢ããã°ã¬ãŒãããéã®æ³šæç¹
TeXShop 1.35 ã§ã¯ãæ¥æ¬èª pTeX çšã®èšå®ãããã¡ã€ã«ãå€æŽãããŸããã以åã®ããŒãžã§ã³ã䜿ã£ãŠããæ¹ã¯ã
~/Library/TeXShop/bin
ïŒã€ãŸãããŒã ã»ãã£ã¬ã¯ããªã®ãã©ã€ãã©ãªããã©ã«ãã®äžã®ãTeXShop ããã©ã«ãå ã«ãããbinããšãããã©ã«ãïŒ
ãäžåºŠåé€ããŠãã TeXShop ãèµ·åãçŽããŠäžããããã®ãã©ã«ããå€ããŸãŸã§ã¯ãæ°ããèšå®ãããã¡ã€ã«ãå©çšã§ããŸããããã¿ã€ãã»ãããè¡ãªããªãããšããããŸãã
##Default Latex TemplateïŒããã©ã«ãã® LaTeX ãã³ãã¬ãŒãïŒ
âThe file LatexTemplate.tex in ~/Library/TeXShop/Templates should contain the following lines if they are not already present:
ãâ ã~/Library/TeXShop/Templates ã«çœ®ãããŠãã LatexTemplate.tex ãšãããã¡ã€ã«ã«ã¯ã以äžã®æ°è¡ãå«ãŸããŠããªããã°ãªããŸããââããããªãå Žåã«ã¯ã§ããïŒ
\usepackage{graphicx}
\usepackage{epstopdf}
\DeclareGraphicsRule{.tif}{png}{.png}{`convert #1 `basename #1 .tif`.png}
##Hidden Preference ItemsïŒé ããç°å¢èšå®é ç®ïŒ
âTeXShop adds lines which begin with the words \section, \subsection, \subsubsection, or \chapter to the Tag menu. To turn this off, run Terminal and type the following command. Change the word NO to YES to turn the behavior back on.
ãâ ãTeXShop ã§ã¯ã\section ã» \subsection ã» \subsubsection ããã㯠\chapter ãšããèªã§å§ãŸã£ãŠããè¡ãã¿ã°ã»ã¡ãã¥ãŒã«è¿œå ããŸããããããªãã«ããã«ã¯ãã¿ãŒããã«ãèµ·åãã以äžã®ã³ãã³ããæã¡èŸŒã¿ãŸãã NO ã YES ã«å€ããã°ãåäœã¯ãŸãå ã«æ»ããŸãã
defaults write TeXShop TagSections NO
âConTeXt users may want additional words to be recognized and added to the Tag menu. The following preferences adds the words \subsubsubsection, \subsubsubsubsection, \part, \title, \subject, \subsubject, \subsubsubject, \subsubsubsubject, and \subsubsubsubsubject.
ãâ ãConTeXt ãŠãŒã¶ãŒã¯ããã£ãšå€ãã®èªå¥ãã¿ã°ã¡ãã¥ãŒã«è¿œå ãããããšããæã¿ã§ãããã以äžã®èšå®ããããšã\subsubsubsection, \subsubsubsubsection, \part, \title, \subject, \subsubject, \subsubsubject, \subsubsubsubject, ãã㊠\subsubsubsubsubject ãªã©ã®èªå¥ãèªèãããããã«ãªã£ãŠãã¿ã°ã¡ãã¥ãŒã«è¿œå ãããŸãã
defaults write TeXShop ConTeXtTags YES
âWhen syntax coloring is on, comments are colored red, commands are colored blue, and the symbols
ãâ ããœãŒã¹ãŠã€ã³ããŠã§ããœãŒã¹ã®ã«ã©ãŒè¡šç€ºãããªã³ã«ãªã£ãŠãããšãã³ã¡ã³ãã¯èµ€ãã³ãã³ãã¯éã ã $ ã ã { ã ã } ããšãã£ãèšå·ã¯æç·è²ã«ãªããŸãããããã®è²åãã¯å€æŽã§ããŸããè²ã¯ãèµ€ã»ç·ã»éïŒïŒ²ã»ïŒ§ã»ïŒ¢ïŒã®æåã§æ±ºå®ãããŠããŸã ïŒ åæå㯠0.0 ãã 1.0 ãŸã§ã®æ°ã§ãã ã $ ã ã { ã ã } ãã®è²ãæããç·è²ã«å€ããã«ã¯ã Terminal ãã次ã®ãããªã³ãã³ããéããŸãââ
defaults write TeXShop markerred 0.0
defaults write TeXShop markergreen 1.0
defaults write TeXShop markerblue 0.0
âTo change the comment color, replace "marker" with "comment"; to change the command color, replace "marker" with "command".
ãâ ãã³ã¡ã³ãã®è²ãå€æŽããã«ã¯ãmarkerãããcommentãã«çœ®ãæããŸã ïŒ ã³ãã³ãã®è²ãå€ããã«ã¯ãmarkerãããcommandãã«çœ®ãæããŸãã
âThe background color of the source window can be changed. For example, to set this 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
âThe text color of the source window can be changed. This change requires that syntax coloring be on. For example, to set this foreground color for text 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.
ãâ ãäžèšïŒçµã®ã³ãã³ããçµã¿åãããŠäœ¿ãããšã§ã é»å°ã«çœãæåãã ãã®ä»ã®ãæã¿ã®è²æ§æã§ãœãŒã¹ãŠã€ã³ããŠã衚瀺ãããããšãã§ããŸãã
âThe background color of the preview window can also be changed. For example, to set this background to (r, g, b) = (.42, .39, .77), issue the following commands in Terminal. Change these numbers to 1 to convert back to a white background. It may be easier to view colored TeX documents with a gray background. The background color will not affect printing.
ãâ ããã¬ãã¥ãŒãŠã€ã³ããŠã®èæ¯è²ãå€ããããšãã§ããŸããããšãã°ãèæ¯è²ã (r, g, b) = (.42, .39, .77) ã«ããã«ã¯ãäžèšã®ã³ãã³ãã Terminal ããéããŸãããããã®æ°åããã¹ãŠïŒã«ãããšãèæ¯ã¯çœã«æ»ããŸããã«ã©ãŒåãã TeX ææžãèŠãã«ã¯ãèæ¯ãç°è²ã«ãªã£ãŠããã»ããèŠãããã§ããããèæ¯è²ã¯å°å·ã«ã¯åœ±é¿ãäžããŸããã
defaults write TeXShop Pdfbackground_R 0.42
defaults write TeXShop Pdfbackground_G 0.39
defaults write TeXShop Pdfbackground_B 0.77
âThe transparency of the source, preview, and console windows can be changed. For example,
ãâ ããœãŒã¹ããã¬ãã¥ãŒãã³ã³ãœãŒã«ã®åãŠã€ã³ããŠã®éæ床ãå€æŽããããšãã§ããŸãã
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. Using these commands cautiously.
ãâ ãããã§ã¢ã«ãã¡å€ã 0.00 ãªãå®å šã«éæãšãªããã¢ã«ãã¡å€ã 1.00 ãªãå®å šã«äžéæãšãªããŸãããããã®ã³ãã³ãã¯çšå¿ããŠã䜿ããã ããã
âTeXShop can be configured to save a backup file whenever it saves or typesets a source file. To turn this on, run Terminal and type the following command. Change YES to NO to turn it off.
ãâ ããã¡ã€ã«ãä¿åãããã¿ã€ãã»ãããããããéã«ããªããããã¯ã¢ãããã¡ã€ã«ãäœæãããã TeXShop ãèšå®ããããšãã§ããŸããããããªã³ã«ããã«ã¯ã Terminal ãèµ·åãã以äžã®ã³ãã³ããæã¡èŸŒã¿ãŸãããªãã«ããã«ã¯ YES ã NO ã«å€ããŠãã ããã
defaults write TeXShop KeepBackup YES
âOccasionally during typesetting, the .aux files, .log files, and other files created automatically by TeX become corrupted and must be removed. TeXShop has a "Trash AUX Files" menu item and associated button in the console window. When either item is selected, TeXShop moves to the trash all files in the folder containing the source file with the same name as the source name, and extensions .aux, .bbl, .blg, .brf, .glo, .idx, .ilg, .ind, .ioa, .log, .log, .lot, .mtc, .mlf, .out, .pdfsync, and .toc. Other extensions can be added to this list, one by one. For instance, to add .dvi files to this list:
ãâ ãã¿ã€ãã»ããã®éã«æããŸã TeX ã«ãã£ãŠèªåçã«çæããã .aux ãã¡ã€ã«ã .log ãã¡ã€ã«ããã®ä»ã®ãã¡ã€ã«ããããããªã£ããããŠãåãé€ããã°ãªããªãããšããããŸãã TeXShop ã«ã¯ãäœæ¥ãã¡ã€ã«ãåé€ããšããã¡ãã¥ãŒé ç®ããããããã«ã³ã³ãœãŒã«ãŠã€ã³ããŠã«ããããšé£åããŠãããã¿ã³ããããŸãããã®ãããããéžæãããš TeXShop ã¯ããœãŒã¹ãã¡ã€ã«ãå«ããã©ã«ãå ã«ãã£ãŠããœãŒã¹ãšåãååã§ãæ¡åŒµåã aux ã» blg ã» brf ã» ccs ã» ent ã» fff ã» glo ã» idx ã» idv ã» ilg ã» ind ã» ioa ã» lg ã» log ã» lot ã» mtc ã» mlf ã» out ã» pdfsync ã» toc ã» ttt ã» wrm ã» xref ã» 4ct ã» 4tc ãšãªã£ãŠãããã¡ã€ã«ããã¹ãŠãŽãç®±ãžãšç§»åããŸãããã®ãªã¹ãã«ã¯ããã®ä»ã®æ¡åŒµåããã²ãšã€ãã€è¿œå ããããšãã§ããŸããäŸãšããŠã.dvi ãã¡ã€ã«ãå ããã«ã¯ïŒ
defaults write TeXShop OtherTrashExtensions -array-add "dvi"
âTo remove all added extensions and return to the original list:
ãâ ãè¿œå ããæ¡åŒµåãåãé€ããŠå ã ã®ãªã¹ãã«æ»ãã«ã¯ââ
defaults write TeXShop OtherTrashExtensions -array
âSometimes a more extensive cleanup is desirable. If the option key is held down while choosing "Trash AUX Files," TeXShop uses the %&SourceDoc and "Set Project Root" mechanisms to find the root file. It then moves all files in the folder of this file and any subfolders of this folder to the trash if they have appropriate extensions, regardless of the names of the files. This behavior can be made the default behavior for "Trash AUX Files" without using the option key; issue the command
ãâ ãæãšããŠãããã«åŸ¹åºããã¯ãªãŒã³ããããæãŸããããšããããŸãããªãã·ã§ã³ããŒãæŒããªãããäœæ¥ãã¡ã€ã«ãåé€ããéžæãããš TeXShop ã¯ã%&SourceDoc ããã³ããããžã§ã¯ãã«ãŒãã®èšå®ãæ©èœã䜿ã£ãŠã«ãŒããã¡ã€ã«ãæ¢ãåœãŠãŸãããããŠã«ãŒããã¡ã€ã«ã®ãããã©ã«ãå ãããã³ãã®ãã©ã«ãå ã®ãµããã©ã«ãã®äžã«ããã該åœããæ¡åŒµåã®ä»ãããã¹ãŠã®ãã¡ã€ã«ãããã®ãã¡ã€ã«åã®åŠäœã«é¢ãããããŽãç®±ã«ç§»ããŸãã ãäœæ¥ãã¡ã€ã«ãåé€ãã®åäœãããªãã·ã§ã³ããŒãæŒãããšãªãäžè¿°ã®ããã«ããããšãã§ããŸã ïŒ æ¬¡ã®ãããªã³ãã³ããå ¥ããŠãã ããââ
defaults write TeXShop AggressiveTrashAUX YES
âTeXShop can be configured to automatically refresh pdf views when the pdf file changes. To do this, once a second it examines the date and time when the pdf was last written to see if this information has changed. The time interval between these checks can be modified. To do this, run Terminal and type the following command. Change 1.00 to the number of seconds desired.
ãâ ãpdf ãã¡ã€ã«ãå€æŽããããšãã« pdf ç»é¢ãèªåçã«æŽæ°ãããã TeXShop ãèšå®ããããšãã§ããŸããèªåæŽæ°ã®ããã«TeXShop ã¯ãïŒç§ã«ïŒåºŠã pdf ãæåŸã«æžãå€ããããæ¥ä»ãšæå»ã«å€æŽããã£ããã©ãããã§ãã¯ããŸãããã®ãã§ãã¯ã®ééã¯å€æŽããããšãã§ããŸãã Terminal ãç«ã¡äžãã次ã®ã³ãã³ããæã¡èŸŒã¿ãŸãã 1.00 ãã奜ã¿ã®ç§æ°ã«å€ããŠãã ããã
defaults write TeXShop RefreshTime 1.00
âAutomatic refresh for pdf views is useful if TeXShop is configured to use an external editor, or if a tex file is opened by "Open For Preview...". In these cases, a .tex file is opened, but TeXShop only shows the associated pdf file. TeXShop also allows pdf files to be opened directly; this is useful for a brief glance at illustrations before embedding them in a TeX document. If you want pdf files opened for an external editor to be refreshed automatically, but pdf files opened for a brief glance to be left alone, run Terminal and type the following command. The default value of this preference is YES.
ãâ ãpdf ã®èªåæŽæ°ã¯ãå€éšãšãã£ã¿ã䜿ãããèšå®ããŠãããããããã¯ããã¬ãã¥ãŒãéã...ã㧠TeX ãã¡ã€ã«ãéãããšãã«äŸ¿å©ã§ãããããã®å Žåã«ã¯ã.tex ãã¡ã€ã«ã¯éãããŠããŸããã TeXShop ã§ã¯ãã é¢é£ã¥ãã®è¡ãªããã pdf ãã¡ã€ã«ã衚瀺ããŠããã«ãããŸããã TeXShop ã¯ãŸãã pdf ãã¡ã€ã«ãçŽæ¥éãããšãã§ããŸã ïŒ ããã¯ã€ã©ã¹ãã TeX ææžã«åã蟌ãåã«äžç¥ããŠããã®ã«äŸ¿å©ã§ããå€éšãšãã£ã¿ã®ããã«éãã pdf ãã¡ã€ã«ã¯èªåçã«æŽæ°ããããããã©ããäžç¥ããããã«éãã pdf ãã¡ã€ã«ã¯èªåæŽæ°ãããããªãå Žåã«ã¯ã Terminal ãç«ã¡äžãã以äžã®ã³ãã³ããæã¡èŸŒã¿ãŸãããã®èšå®ã®ããã©ã«ãã®å€ã¯ YES ã§ãã
defaults write TeXShop PdfFileRefresh NO
âWhen TeXShop opens a .tex file for an external editor, it checks the dates of the tex and pdf files to make sure that the pdf output is up to date. If this output is not up to date or does not exist at all, TeXShop typesets the .tex file again. To turn off this behavior, run Terminal and type the following command.
ãâ ãå€éšãšãã£ã¿ã§ .tex ãã¡ã€ã«ãéããéã«ã TeXShop 㯠TeX ãã¡ã€ã«ãš pdf ãã¡ã€ã«ã®æ¥ä»ããã§ãã¯ãã pdf åºåãææ°ã®ç¶æ ã«ãªã£ãŠãããã©ãã確èªããŸããããåºåãå€ããªã£ãŠãããããŸã£ããååšããªããããªãã TeXShop 㯠.tex ãã¡ã€ã«ãæ¹ããŠã¿ã€ãã»ããããŸãããã®åäœããªãã«ããã«ã¯ã Terminal ãç«ã¡äžãã以äžã®ã³ãã³ããæã¡èŸŒã¿ãŸãã
defaults write TeXShop ExternalEditorTypesetAtStart NO
âThere is a hidden preference to set the default size of the matrix in the Matrix Panel:
ãâ ãè¡åããã«ã«ãããè¡åã®ããã©ã«ãã®ãµã€ãºãèšå®ããé ããç°å¢èšå®ããããŸãïŒ
defaults write TeXShop matrixsize 12
âThere is a new checkbox tool for the Preview window named "ShowSync." It is not part of the default toolkit for this window. When this item is checked, synchronization spots are show in the Preview document. The item is not shown when a preview window first appears, but this changed be changed via:
ãâ ããSyncããšããååã®æ°ãããã§ãã¯ããã¯ã¹ãããã¬ãã¥ãŒãŠã€ã³ããŠçšããŒã«ã«ãããŸããããã¯ããã©ã«ãã®ããŒã«ã»ãããã®äžéšã«ã¯ãªã£ãŠããŸããããã®é ç®ããã§ãã¯ããããšãã·ã³ã¯ãã»ã¹ãããããã¬ãã¥ãŒææžå ã§èŠãããšãã§ããŸãããã¬ãã¥ãŒãŠã€ã³ããŠãæåã«è¡šç€ºãããéã¯èŠããŸããããããã以äžã®ããã«ããŠå€æŽã§ããŸãïŒ
defaults write TeXShop ShowSyncMarks YES
âWhen the preview window is updated after typesetting, it comes to the front. This behavior causes trouble for uses with an X11 editor running in Apple's X11 Window Manager. For these users, the behavior can be turned off via:
ãâ ãã¿ã€ãã»ããåŸã«ãã¬ãã¥ãŒãŠã€ã³ããŠãæŽæ°ããããšããŠã€ã³ããŠã¯åé¢ã«æ¥ãŸãããã®åäœã¯ã Apple ã® X11 Window Manager ã§å®è¡ãããŠãã X11 ãšãã£ã¿ã®äœ¿çšã§ãã©ãã«ã®çš®ã«ãªããŸããããããå Žåã«ã¯ã以äžã®ããã«ããŠãã®åäœããªãã«ã§ããŸãïŒ
defaults write TeXShop BringPdfFrontOnAutomaticUpdate NO
âTeXShop used to support a different set of source commands to determine the typesetting engine, file encoding, and root file; examples are %&latex, %&encoding= UTF-8 Unicode, %SourceDoc ../Main.tex. This syntax was a poor choice on my part and has been changed. If you have a lot of old documents, you can temporarily turn this choice back on using the command below. If you do so, the new commands will be recognized, but the old commands will also work. This preference change should only be made in an emergency.
ãâ ãTeXShop ã§ã¯ãããŸã§ã ã¿ã€ãã»ããã»ãšã³ãžã³ããã¡ã€ã«ã®ãšã³ã³ãŒãã£ã³ã°æ¹åŒã ã«ãŒããã¡ã€ã«ã決ããã®ã«ã çŸè¡ã®ãã®ãšã¯ç°ãªããœãŒã¹ã³ãã³ãããµããŒãããŠããŸããïŒ ããšãã°ã%&latex ã» %&encoding=UTF-8 Unicode ã» %SourceDoc ../Main.tex ãªã©ãšãã£ããã®ã§ãã ãã®æ§æã¯ç§ã®äžçšæãªéžå®ã«ãããã®ã§ããã®ã§ãå€æŽããŸããã ããå€ããã¡ã€ã«ããããããã£ãŠã äžæçã«ä»¥åã®ç¶æ ã«æ»ãã«ã¯ã äžèšã®ã³ãã³ãã䜿çšããŠãã ããã ããããã°ãæ°ãããœãŒã¹ã³ãã³ããèªèãããã ãã§ãªãã å€ããœãŒã¹ã³ãã³ãããŸãåæ§ã«æ©èœããŸãã ãã®èšå®å€æŽã¯å¿æ¥ã®å Žåã«ã®ã¿çšããŠãã ããã
defaults write TeXShop UseOldHeadingCommands YES
âThe left and right arrow keys scroll left and right if the preview page is narrower than the total page width, but otherwise they page up and down. A hidden preference changes this behavior so the left and right arrow keys always page.
ãâ ããã¬ãã¥ãŒãŠã€ã³ããŠã®å¹ ãããŒãžå šäœã®å¹ ãããçããšãã«ã¯ãå·Šããã³å³ã®ã«ãŒãœã«ããŒã§å·Šå³ã«ã¹ã¯ããŒã«ããŸãããããã§ãªãå Žåã«ã¯äžäžã«ããŒãžç§»åããŸããé ããç°å¢èšå®ã§ãã®æåãå€æŽãããšãå·Šå³ã®ã«ãŒãœã«ããŒã¯åžžã«ããŒãžç§»åãšãªããŸãã
defaults write TeXShop LeftRightArrowsAlwaysPage YES
âThe console text reporting typesetting behavior and errors shows black text. The text can be made to switch to red after the first error with a hidden preference.
ãâ ãã¿ã€ãã»ããã®ç¶æ³ããšã©ãŒãäŒããã³ã³ãœãŒã«ãŠã€ã³ããŠã®ããã¹ãã¯é»ã§è¡šç€ºãããŸããé ããç°å¢èšå®ã«ãããæåã®ãšã©ãŒä»¥éã®è¡šç€ºããã¹ããèµ€æåã«ããããšãã§ããŸãã
-
蚳泚ïŒãšã©ãŒãã¹ãããããŠã¿ã€ãã»ãããç¶ç¶ãããšããã以éã®ã³ã³ãœãŒã«ããã¹ããèµ€ã«ãªããŸãã
defaults write TeXShop RedConsoleAfterError YES
âIn the editing window, a soft line break occurs after words. This behavior can be changed to "no line break" = 0, "line break after words" = 1, or "line break after characters" = 2.
ãâ ãTeXShop ã®ç·šéãŠã€ã³ããŠã§ã¯ãåèªã®åŸã§è»æ¹è¡ïŒãœããã»ã©ã€ã³ãã¬ã€ã¯ïŒãå ¥ãããã«ãªã£ãŠããŸãããã®æåã¯å€æŽãããããšãã§ããŸãââãïŒãã¯æ¹è¡ãªãããïŒãã¯åèªã®åŸããïŒãã¯æåã®åŸãšãªããŸãã
defaults write TeXShop LineBreakMode 1
âWhen the Preview window first appears, its drawer is hidden. A hidden preference changes this behavior so the drawer is visible when the Preview window first appears.
ãâ ããã¬ãã¥ãŒãŠã€ã³ããŠãéããšãåœåã¯ããã¯ãŒãé衚瀺ã«ãªã£ãŠããŸããé ããç°å¢èšå®ã§ãã®æåãå€æŽãããšãæåããããã¯ãŒã衚瀺ãããç¶æ ã§ãã¬ãã¥ãŒãŠã€ã³ããŠãéããŸãã
defaults write TeXShop PreviewDrawerOpen YES
âWhen TeXShop was first released on Tiger, users ran into an annoying bug which caused the program to gradually slow to a crawl after several typesetting actions. This bug was fixed a couple of days after the release. The problem occurred when a new pdf file was loaded into the PdfKitView in the Preview window. According to Apple documentation, this should have released the previous data structure from memory. The release did occur, but it caused the program slowdown. So the bug fix consisted of tricking the system into believing that the data structures were still being used so the system didn't try to release them.
ãâ ãTeXShop ãæåã« Tiger äžã§ãªãªãŒã¹ããéã«ãŠãŒã¶ãééããåä»ãªãã°ã¯ãã¿ã€ãã»ãããæ°åºŠå®è¡ããåŸãããã°ã©ã ã次第ã«ããããããŠãããšãããã®ã§ããããã®ãã°ã¯å ¬éããŠæ°æ¥ã§ä¿®æ£ããŸãããæ°ãã PDF ãã¡ã€ã«ããã¬ãã¥ãŒãŠã€ã³ããŠå ã® PdfKitView ã«ããŒããããéã«åé¡ãçããŠããŸãããApple ã®ããã¥ã¡ã³ãã«ããã°ãå€ãããŒã¿ã»ã¹ãã©ã¯ãã£ãã¡ã¢ãªãã解æŸãããã¯ãã ãšã®ããšã§ããã解æŸã¯èµ·ãã£ãŠããŸããããããããããã°ã©ã ã®ã¹ããŒããŠã³ãåŒãèµ·ãããŠããã®ã§ãããªã®ã§ãã°ãã£ãã¯ã¹ãšã¯ã€ãŸããã·ã¹ãã ãããŸãããŠããŒã¿ã»ã¹ãã©ã¯ãã£ããŸã 䜿çšäžã§ãããšæã蟌ãŸããã·ã¹ãã ã解æŸããããšããªãããã«ãããããšã§ããã
âRecent investigation seems to show that this bug is not as severe in Tiger 10.4.4. Consequently a hidden preference has been added to release the data if desired. The values of this preference are
ãâ ãæè¿ã®æ€èšŒã§ã¯ãã®ãã°ã¯ Tiger 10.4.4 ã§ã¯ããã»ã©æ·±å»ã§ã¯ãªãã£ãŠããããã§ãããªã®ã§å¿ èŠã«å¿ããŠããŒã¿ã解æŸããããã®é ããç°å¢èšå®ãè¿œå ããŠãããŸããããã®èšå®ã®å€ã¯ââ
â 0 to release the data on system 10.4.3 or higher 1 to never release the data 2 to always release the data
ãâ ã
0 ââOS 10.4.3 以éã§ããŒã¿ã解æŸãã
1 ââããŒã¿ã解æŸããªã
2 ââåžžã«ããŒã¿ã解æŸãã
âThe default value is 1, causing the program to behave as previous versions behave.
ãâ ãããã©ã«ãã®å€ã¯ 1 ã§ãããã®ãšããTeXShop ã¯ä»¥åã®ããŒãžã§ã³ãšåãããã«æ¯ãèããŸãã
defaults write TeXShop ReleaseDocumentClasses 1
##.plist FilesïŒ .plist ãã¡ã€ã«ïŒ
âMac OS X makes extensive use of xml files; xml is a structured language closely related to html.
ãâ ãMac OS X 㯠xml ãã¡ã€ã«ãåºæ±ã«å©çšããŠããŸã ïŒ xml 㯠html ãšå¯æ¥ãªé¢é£ã®ããæ§é åèšèªã§ãã âTeXShop uses five xml files for configuration: completion.plist, autocompletion.plist, KeyEquivalents.plist, Macros_Latex.plist, and Macros_Context.plist. These files are used to configure the Latex Panel, Auto Completion, the Keyboard Menu Shortcuts, and the Macros menu. Details are given below. These files are automatically created in subfolders of ~/Library/TeXShop when TeXShop first runs.
ãâ ãTeXShop ã¯ïŒã€ã® xml ãã¡ã€ã«ãèšå®ã®ããã«çšããŠããŸãïŒ completion.plist ã» autocompletion.plist ã» KeyEquivalents.plist ã» Macros_Latex.plist ããã« Macros_Context.plist ã§ãããããã®ãã¡ã€ã«ã¯ LaTeX ããã«ããªãŒãã³ã³ããªãŒããã¡ãã¥ãŒé ç®ã®ã·ã§ãŒãã«ããããŒããã¯ãã¡ãã¥ãŒãªã©ã®èšå®ã«å©çšãããŠããŸãã詳现ã«ã€ããŠã¯åŸè¿°ããŸãããããã®ãã¡ã€ã«ã¯ TeXShop ãåããŠèµ·åããéã« ~/Library/TeXShop ã®ãµããã©ã«ãã®äžã«äœãããŸãã
âFiles of type plist are ordinary text files. They can be opened and edited with TeXShop, TextEdit, or other text editors. Each of the files except Macros.plist has a comment at the top explaining the file format. Editing is straightforward, but somewhat tedious. Macros_Latex.plist and Macros_Context.plist will never need to be edited because TeXShop has a Macro Editor built in.
ãâ ãplist 圢åŒã®ãã¡ã€ã«ã¯ããæ®éã®ããã¹ããã¡ã€ã«ã§ãã TeXShop ã TextEdit ãããã¯ãã®ä»ã®ããã¹ããšãã£ã¿ã§éãããç·šéãããã§ããŸãã Macros.plist 以å€ã¯ãããããã®ãã¡ã€ã«ã®æåã«ãã¡ã€ã«åœ¢åŒã«ã€ããŠèª¬æãããŠããŸããç·šéã¯ç°¡åã§ãããããã¶ãéå±ã§ãã Macros_Latex.plist ãš Macros_Context.plist ã®ïŒã€ã¯ãç·šéã®å¿ èŠã¯ãªãã§ãããââ TeXShop ã«ã¯ãã¯ããšãã£ã¿ãããã®ã§ãããã
âIf a plist file contains unicode characters, it needs to be edited and saved in UTF-8 format. Before opening such a file in TeXShop, change the TeXShop encoding preference to UTF-8. Then edit and save the file. Then change the encoding preference back to the original value. The default value is MacOSRoman if you did not reset it earlier.
ãâ ããã plist ãã¡ã€ã«ã Unicode æåãå«ãã§ããã®ã§ããã°ã UTF-8 圢åŒã§ç·šéãä¿åããå¿ èŠããããŸãã TeXShop ã§ãããããã¡ã€ã«ãéãåã«ã TeXShop ã®ãšã³ã³ãŒãã£ã³ã°èšå®ã UTF-8 ã«å€æŽããŠãã ããããã®ããã§ãã¡ã€ã«ãç·šéãããä¿åãããããŸãããã®åŸãšã³ã³ãŒãã£ã³ã°èšå®ã¯å ã«æ»ããŠãããŸãããã以åã«èšå®ããªãããŠããªããªããããã©ã«ãã§ã¯ MacOSRoman ã§ãã
âUsers with the Developer distribution installed will discover that double clicking a .plist file opens the file in a program named Property List Editor. Property List Editor is useful for editing plist files, but it is buggy and does not display the comments. So it is better to use TeXShop.
ãâ ãDeveloper Tools ãã€ã³ã¹ããŒã«ãããŠãŒã¶ãŒãªãã.plist ãã¡ã€ã«ãããã«ã¯ãªãã¯ãããšã Property List Editor ãšããããã°ã©ã ã§ãã¡ã€ã«ãéãããããšã§ãããã Property List Editor 㯠plist ãã¡ã€ã«ãç·šéããã®ã«äŸ¿å©ã§ããããã°ã ããã§ãããã³ã¡ã³ãã衚瀺ã§ããŸããã TeXShop ã䜿ãã»ããããã§ãããã
##Modifying the Latex PanelïŒ LaTeX ããã«ãäžéšå€æŽããïŒ
âThe Latex panel contains a "Custom" tab; up to sixteen user-defined buttons can be placed on this tab. Other buttons in the Latex panel cannot be changed, but the text inserted when the button is pressed can be changed.
ãâ ãLaTeX ããã«ã«ã¯ãã«ã¹ã¿ã ããšããã¿ãããããŸã ïŒ ãã®ã¿ãã«ã¯æ倧ã§16åã®ãŠãŒã¶å®çŸ©çšã®ãã¿ã³ãé 眮ããããšãã§ããŸããLaTeX ããã«ã«ããä»ã®ãã¿ã³ã¯å€æŽã§ããŸãããããã¿ã³ãæŒããããšãã«æ¿å ¥ãããããã¹ããå€æŽããããšã¯ã§ããŸãã
âThe comments at the start of the file "completions.plist" explain how to make these changes. To do so, edit the file ~/Library/TeXShop/LatexPanel/completions.plist with TeXShop. Be sure to edit and save in UTF-8 format if you use Unicode characters.
ãâ ããcompletions.plistããšãããã¡ã€ã«ã®æåã«ããã³ã¡ã³ãã«ãã©ããã£ãŠå€æŽããã®ãã説æãããŠããŸããå€æŽããã«ã¯ã ~/Library/TeXShop/LatexPanel/completions.plist ãšãããã¡ã€ã«ã TeXShop ã§ç·šéããŸãããã Unicode æåã䜿çšããã®ã§ããã°ãããªãã UTF-8 圢åŒã§ç·šéãä¿åããŠãã ããã
##Modifying Auto CompletionïŒãªãŒãã³ã³ããªãŒããå€æŽããïŒ
âThe preference panel contains a checkbox to turn auto completion on or off; by default it is off. When auto completion is on, typing certain characters inserts an entire string in the source file. For instance, typing ^ inserts ^{ }, with the cursor positioned inside the brackets.
ãâ ãç°å¢èšå®ããã«ã«ã¯ãªãŒãã³ã³ããªãŒãããªã³ïŒãªããããã§ãã¯ããã¯ã¹ããããŸã ïŒ ããã©ã«ãã§ã¯ãªãã«ãªã£ãŠããŸãããªãŒãã³ã³ããªãŒãããªã³ã«ãããšãç¹å®ã®æåãæã¡èŸŒãããšã§äžé£ã®æååããœãŒã¹ãã¡ã€ã«ã«æ¿å ¥ããããšãã§ããŸããããšãã°ã^ ãæã¡èŸŒããšãã«ãŒãœã«ãéã«æãã æ¬åŒ§ââ ^{ } ãæ¿å ¥ãããŸãã
âAuto completion elements can be modified and created by editing the file "autocompletion.plist". The comments at the start of this file explain how to make changes. To do so, edit the file ~/Library/TeXShop/Keyboard/autocompletions.plist with TeXShop. Be sure to edit and save in UTF-8 format if you use Unicode characters.
ãâ ããªãŒãã³ã³ããªãŒãã®å 容ã¯ãautocompletion.plistããšãããã¡ã€ã«ãç·šéããããšã§ä¿®æ£ãããæ°ãã«äœæãããã§ããŸãããã®ãã¡ã€ã«ã®æåã«ããã³ã¡ã³ãã«ãã©ã®ããã«å€æŽãã¹ããã説æãããŠããŸãããã®ãã¡ã€ã«ââ ~/Library/TeXShop/Keyboard/autocompletions.plist ã TeXShop ã§ç·šéããŠãã ããããã Unicode æåã䜿çšããã®ã§ããã°ãããªãã UTF-8 圢åŒã§ç·šéãä¿åããŠãã ããã
##Redefining Keyboard Menu ShortcutsïŒã¡ãã¥ãŒé ç®ã®ã·ã§ãŒãã«ããããŒãåå®çŸ©ããïŒ
âThe keyboard menu shortcuts for TeXShop can be redefined. To do this, read the comments at the top of the file "KeyEquivalents.plist" and make appropriate changes. To do so, edit the file ~/Library/TeXShop/Menus/KeyEquivalents.plist with TeXShop. Be sure to edit and save in UTF-8 format if you use Unicode characters.
ãâ ãTeXShop ã®ã¡ãã¥ãŒé ç®ã®ã·ã§ãŒãã«ããããŒã¯åå®çŸ©ããããšãã§ããŸããåå®çŸ©ããã«ã¯ãKeyEquivalents.plistããšãããã¡ã€ã«ã®åé ã«ããã³ã¡ã³ããèªã¿ãé©åãªå€æŽãæœããŸãã TeXShop ã䜿ã£ãŠãã¡ã€ã«ââ ~/Library/TeXShop/Menus/KeyEquivalents.plist ãç·šéããŸãããã Unicode æåã䜿çšããã®ã§ããã°ãããªãã UTF-8 圢åŒã§ç·šéãä¿åããŠãã ããã
##Modifying the Macros MenuïŒãã¯ãã¡ãã¥ãŒãå€æŽããïŒ
âTeXShop contains a Macro Editor, so it should never be necessary to directly modify the Macros.plist file.
ãâ ãTeXShop ã«ã¯ãã¯ããšãã£ã¿ãããã®ã§ã Macros.plist ãã¡ã€ã«ãçŽæ¥ãããå¿ èŠã¯ãããŸããã