MacOS X
Note: LilyPond は テキスト ベース の楽譜作成プログラムです。グラフィカルな楽譜編集プログラムよりも、むしろプログラミング言語に似ています。LilyPond をダウンロードする前に、テキスト入力 を読んでください。
パッケージ
ダウンロード
-
MacOS X x86: LilyPond 2.12.3-1
Intel チップの MacOS X 10.4 以上用 (迷っているのなら、こちらを使ってください)
-
MacOS X PPC: LilyPond 2.12.3-1
G3 と G4 CPU の MacOS X 10.4 以上用 (古い Apple コンピュータ)
インストール
ダウンロードしたファイルをダブルクリックして、それをお好みの場所にドラッグしてください。
アンインストール
LilyPond.app フォルダを削除してください。
ファイルをコンパイルする
Note: These instructions assume that you are using the LilyPond application. If you are using any of the programs described in Easier editing, please consult the documentation for those programs if you have any problems.
Step 1. Create your ‘.ly’ file
Double click the LilyPond.app, an example file will open.
From the menus along the top left of your screen, select
File > Save.
Choose a name for your file, for example ‘test.ly’.
Step 2. Compile (with LilyPad)
From the same menus, select
Compile > Typeset.
A new window will open showing a progress log of the compilation of the file you have just saved.
Step 3. View output
Once the compilation has finished, a PDF file will be created with the same name as the original file and will be automatically opened in the default PDF viewer and displayed on your screen.
Other commands
To create new files for LilyPond, begin by selecting
File > New
or File > Open to open and edit existing files you have
saved previously.
You must save any new edits you make to your file before you
Compile > Typeset and if the PDF file is not displayed
check the window with the progress log for any errors.
If you are not using the default Preview PDF viewer that comes with the Mac Operating system and you have the PDF file generated from a previous compilation open, then any further compilations may fail to generate an update PDF until you close the original.
コマンドラインから実行する
Note: GUI 環境の方を好むのであれば、以下の説明は無視してください。
MacOS X のコマンドライン
lilypond スクリプトを実行する最も簡便な方法は、あなた自身の “ヘルパー” スクリプトをセットすることです。
-
スクリプトを保存するためのディレクトリを作成します:
mkdir -p ~/bin cd ~/bin
-
以下の内容を持つ
lilypondというファイルを作成します:exec DIR/LilyPond.app/Contents/Resources/bin/lilypond "$@"
Note: DIR は、一般には
/Applications/です。 -
bin/lilypondをbin/convert-ly(あるいは他のプログラム名) に置き換えて、lilypond-book,convert-ly, それに他の使いたいスクリプトのファイルを同じように作成します。 -
ファイルを実行可能にします:
chmod u+x lilypond
-
さらに、このディレクトリをパスに加えます。ホーム ディレクトリの中にある
.profileというファイルを変更 (あるいは作成) して、以下のような内容を持たせます:export PATH=$PATH:~/bin
このファイルは、空の行で終わっていなければなりません。
個々のスクリプトを呼び出す
スクリプト
– lilypond-book, convert-ly, abc2ly,
それに lilypond 自体も
– は、MacOS X 用の .app ファイルの中に含まれています。
さらに、スクリプトを直接呼び出すことによって、コマンドラインから実行することができます:
path/to/LilyPond.app/Contents/Resources/bin/lilypond
そのディレクトリの中にある他のすべてのスクリプト
– lilypond-book や convert-ly など
– についても同じことが言えます。
法律用語
すべてのロゴと商品イメージには著作権があり、商標登録されています。
The “X image” is not a registered trademark. It was created by Nihonjoe and CyberSkull, and placed under the GNU Free Documentation License version 1.2 or later. We found the image on this Wikipedia Commons page.
他の言語: English, česky, deutsch, español, français, magyar, italiano, nederlands, 中文