ミームの死骸を待ちながら

We are built as gene machines and cultured as meme machines, but we have the power to turn against our creators. We, alone on earth, can rebel against the tyranny of the selfish replicators. - Richard Dawkins "Selfish Gene"

We are built as gene machines and cultured as meme machines, but we have the power to turn against our creators.
We, alone on earth, can rebel against the tyranny of the selfish replicators.
- Richard Dawkins "Selfish Gene"

BibDeskにショートカットを設定+Tex族への入門


BibDeskをPDF管理ツール&論文たちの母艦、として使っている。従って最も頻繁に行う操作は「この論文のPDFファイルを開く」というものなのだが、ついApple+Oなど押してしまうと新しいReferenceを開こうとする。そして「PDFファイルを開く」というショートカットは設定されていない。

そこで、Mac OS Xのシステム環境設定で
Open Linked Fileと設定し、"O"penしたいのでキーをCtrl+Apple+Oに設定。これで、今までダブルクリックで開いていた。これは楽ちん。


Texを使いたいと思いつつも今まで導入できていない。

何故引用文献管理ではなくPDFを見るのがメインかというと、Texを使いたいと思いつつも環境の構築ができていないから。ところが今日、こんなものを見つけた。

MacTeX - TeX Users Group

Unixなインストールがめんどくさくてたまらんという僕のような人のために、"MacTex"というdmgパッケージがあるようだ。TexShop, BibDesk(おいおい持ってるよ), LateXiT, Ghostscriptなどが入っている。700MBもあるな。インストールしたらなんと1.3GB。それなんてMicrosoft Office
dmgをマウントして出てくるMac-Tex-2007.mpkgをダブルクリックしてインストール開始*1

なかなかええ感じやないか。今度使い心地を書こう。



MacTeX-2007
December, 2007

This installer provides all the software needed to use the TeX typesetting system on Mac OS X, including:
• the actual TeX program, and the XeTeX extended version with Unicode and native font support;
TeXShop, a graphical user interface for TeX
• macro packages, such as LaTeX and ConTeXt
• additional utilities, such as BibTeX and Makeindex
• Ghostscript, required by certain TeX utilities
• BibDesk, an editor for BibTeX databases
• Excalibur, a spell checker for TeX source code
• LaTeXiT, a utility to typeset LaTeX equations and export the resulting PDF by drag and drop
• i-Installer, a utility to upgrade TeX over the network

MacTeX

This package installs everything needed to begin using TeX on Mac OS X. The underlying TeXLive distribution is extensive, containing most binaries, fonts, styles, and packages used in the TeX community. It is a repackaging of the full TeX Live distribution from the TeX Users Group (TUG).

Among the programs installed by the package is TeXShop, a graphical interface to the TeX typesetting tools. TeXShop will be in your Applications folder in a subfolder named TeX and you can drag its icon to the dock if you wish.

Some programs in TeX need to know whether you are using letter-size paper or A4-size paper. The installer tries to guess the answer from your printer's default paper setting. This will work in almost all cases. If you run into problems, open Apple's Terminal program in Applications/Utilities and type one of the following pairs of commands, giving your administrator password when asked:

sudo texconfig-sys paper letter
sudo texconfig-sys dvips paper letter

sudo texconfig-sys paper a4
sudo texconfig-sys dvips paper a4

This package will create a TeX folder inside your Applications folder and add the programs BibDesk, Excalibur, LaTeXiT, and TeXShop to this TeX folder. It will add the program i-Installer to the Utilities folder inside your Applications folder. All are standard Mac programs which can be uninstalled by just dragging them to the trash.

The TeX typesetting system consists of several command line programs and a large number of supporting files. These tools are installed in /usr/local, a directory not visible in the Finder. The folder /Library/TeX/Root is a link to this directory which is visible, so you can examine the files if you are curious. It is usually not necessary to look at the command line files because they are automatically accessed by TeX and TeXShop as needed.

If you have used TeX on another system, you may have needed to modify $TEXINPUTS, $PATH, and other shell variables; these are handled automatically on Mac OS X. Occasionally you will want to add additional style files and the like to TeX; to do so, create the directory "texmf" inside your personal Library folder in your home directory, and put additional files in subdirectories of this folder. For instance, LaTeX will find any file in

~/Library/texmf/tex/latex

or a subdirectory of this folder.

Some of the programs in /Applications/TeX will need to be reconfigured to find the appropriate TeX distribution. Please consult the README file in /Applications/TeX for details.

For more information about TeX, see http://tug.org, in particular http://tug.org/begin.html for links to a number of introductory resources. For more information about this MacTeX distribution, see http://tug.org/mactex.

*1:「続きを読む」以下に、インストール途中の注意書きをメモ